We all know that making a GUI from scratch can be truly difficult and time consuming and maybe even boring, it would make sense then if engine provided such a thing, wouldn’t it? Ok, Ok, lets do it… (I could have just used IMGUI but…)
Basic GUI module in engine (13_11_2019)
- in order to start with inventory, one must create some sort of GUI before…
- currently contains Windows (which can overlap), Label, Button, CheckBox, TextBox, HorizontalSlider and Image + layouts: (Column, Row, Grid)
- There is one GUIContext which cares about parent-child structure and events of GUIElements and GUIRenderer, which renders those elements
- positions are relative to the parental element
- currently no resizability
- to change a color, one has to change the GUIRenderer
Advanced GUI in engine (23_11_2019)
- Added view, (which is rendered to another texture before being rendered on the screen)
- Better text render, added kerning!
- Vertical Slider
- Horizontal and Vertical Split
- Its really dynamic :D - resizable, ability to inherit dimensions from parent nodes
- And last but not least.. HAPPY 100TH COMMIT! Yay :D