Commit Graph

21 Commits

Author SHA1 Message Date
4055f645f3 Implemented Slider (still have some positioning issues to resolve but it works), added files for ListBox, Radio, and EditBox, implemented dragging support in GuiState. 2020-04-10 18:45:55 -05:00
7f25cd49fe Added ConfigFile for persistent hash storage 2020-01-29 18:22:24 -06:00
3a83e616d3 Added Animator for creating animations with various tweeners, supports Gosu::Color's and numbers 2019-12-19 13:08:29 -06:00
7f97ec85dd Added Container#clear to remove child elements and optionally eval block, improvements to EditLine to show current selection. 2019-11-21 14:07:42 -06:00
28c4acdedf Added Gosu.draw_circle 2019-10-09 11:35:40 -05:00
51dd3803fa Moved files around, renamed Matrix to Transform 2019-10-07 12:30:48 -05:00
c6beab3e99 Added Matrix, incomplete. 2019-10-06 21:35:10 -05:00
8f9e671340 Added Vector#lerp 2019-10-01 11:48:22 -05:00
bb482f4463 Sync 2019-09-26 12:41:34 -05:00
a2e0c07c6a Added Ray class 2019-08-07 23:03:40 -05:00
3ead2f5daf Added Shader handling class, made Text re-render text_shadow if anything affecting shadow is changed. 2019-08-07 12:02:22 -05:00
bdce85613b Added Progress bar, refactored Elements to be under CyberarmEngine::Element namespace. 2019-06-27 15:41:38 -05:00
cc97077b0f Remove MultiLineText as gosu natively supports newlines, Update Text to correctly calculate its height, call super in button_down/button_up to support gosu's fullscreen toggle, added Window.text_input = nil to GameState to prevent fustrating bugs that stem from forgetting to set it back to nil. 2019-03-31 17:34:24 -05:00
a8b8d5aba1 UX improvements for Button:active handling, added Style stub, Default element width/height is now window width/height instead of 0,0; may need tweaking. 2019-03-25 20:07:43 -05:00
d0be03653e Every element has a background and border, background and border support gradients. 2019-03-04 12:13:39 -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
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
1a06a9fdaa Added Image and Timer, Container and Element positioning and padding issues maybe fixed. 2019-02-01 20:18:07 -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
b4852fbbd6 Initial Commit 2018-06-07 10:03:07 -05:00