Commit Graph

269 Commits

Author SHA1 Message Date
cfad5eafab Broke container layout some more 2019-03-01 22:22:44 -06:00
478c8498f3 Added padding and margin left,right,top,bottom, changed CheckBox to ToggleButton, added new CheckBox which uses a Flow with ToggleButton and Label. 2019-03-01 15:57:22 -06:00
21904ae6fe Update Button to use evnts 2019-03-01 11:48:54 -06:00
8664c90de7 Made Container less independant of Element, events are now fired. 2019-03-01 10:27:29 -06:00
18ff0a1ea9 Refactored Container to be an Element, removed button_up/button_down passing to elements, moved Gui out of GameState and into GuiState, added scaffolding for events (Publish/Subscribe pattern). Element input is broken ATM. 2019-03-01 09:41:51 -06:00
04ec6682ee Sync 2019-02-18 17:41:14 -06:00
998f27b742 Changes 2019-02-04 16:46:46 -06:00
31687598e5 Containers now have fixed widths and heights and their content uses internal_width and internal_height to position. 2019-02-04 15:57:15 -06:00
6225aa4985 Added pop_state to Engine 2019-02-02 08:58:19 -06:00
bb4da1d52e Fixed checkmark not showing mark if it was set as checked when created 2019-02-02 08:49:06 -06:00
8f842b7f58 Get last Element instead of highest 2019-02-02 08:46:07 -06:00
1dbe69167d Improved Container element margin handling, image is now clickable 2019-02-02 08:38:52 -06:00
3059e962fb Using Element margin now 2019-02-01 23:50:15 -06:00
1a06a9fdaa Added Image and Timer, Container and Element positioning and padding issues maybe fixed. 2019-02-01 20:18:07 -06:00
617fe4f77a Stacks and Flows now (mostly) work as expected 2019-02-01 11:55:40 -06:00
5188532ad0 Major refactor of Container and elements to support a more Shoes-like construction of menus (in complete) 2019-01-31 17:33:05 -06:00
76ac1d553a Fixed crash due to old code from initial import, various clean up. 2019-01-30 13:37:29 -06:00
4d36268b04 Bug fixes: fixed crash with checkbox 2018-06-28 09:30:17 -05:00
b4852fbbd6 Initial Commit 2018-06-07 10:03:07 -05:00