Devlog - Adding ui elements, layouts, refreshing and event handling
UI Elements
The basic system for ui-elements is now in place as can be seen by the button example. UI Elements need to be submitted, then the layout will be rebuilt and they are assigned their positions and sizes, unless specified directly. They are then rendered.
Some of the next ui components will be labels, text-fields and groups
UI Layouts
Layouts allow you to customise the placement of components in a group or at the base ui building.
Right now, only the linear layout is implemented, but in the future i plan on adding grid-layouts and more probably lol
Event handling
You are now able to handle events like window closing and window resizing in the app thread to rebuild the ui when required.
Next up, im gonna be working on implementing ui-groups and inner layouts for them.
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.