Custom GUI Library

One of my personal coding projects has been the creation of a custom GUI library using C++. As an avid Dungeons and Dragons player I wanted to make a program that would randomly generate non player characters to fill my fantasy worlds with. However, I couldn’t decide upon a GUI library to use, so I set out to make my own.

Using the 2d graphics library SFML as a base for the visuals, I created the base of a simple UI system. It may not look flashy, but I plan on adding support for custom png file appearances for UI Objects.

This includes UI features such as boxes, buttons, dropdown buttons, scrolling boxes, draggable objects, layout attachments and more. The WIP code can be found on my Github. This is a passion project that I keep returning to. Its very interesting to figure out systems such as finding which widget is underneath the mouse or getting a scrolling box to work correctly.

Leave a comment