Commit Graph

196 Commits

Author SHA1 Message Date
fb36436d79 Added color support to Image 2020-12-09 09:19:32 -06:00
246e0c54b2 Fixed crashes when using EditBox with no content 2020-12-08 20:27:01 -06:00
d02c001989 Added download manager, added excon dependency 2020-09-25 20:51:25 -05:00
3ba635f157 Fixed ConfigFile not storing values deeper then one level, added markup_width to Text 2020-09-24 10:47:55 -05:00
695c77b183 Added support for Label text alignement, improved EditBox to correctly position caret and support mouse caret positioning, added debugging Container boundry (WIP) 2020-09-09 09:51:18 -05:00
b06ceaabce Fixed crash if GuiState @mouse_over has no parent 2020-08-28 08:37:24 -05:00
ce64b8a205 Implemented ListBox- Menu 2020-08-21 15:56:11 -05:00
da4188764c Added min/max_view_distance to attr_accessor for PerspectiveCamera 2020-07-19 09:44:09 -05:00
d01e91c3fd Added support for draw mode to Text 2020-07-18 21:34:21 -05:00
041cfcccaa Added a large portion of I-MIC-FPS's opengl rendering and model loading systems 2020-07-15 21:33:24 -05:00
d7dbcf8511 Added orthographic support to Transform 2020-07-10 14:51:02 -05:00
2a8e852b15 Added support for passing a filter method/proc to EditLine 2020-06-23 09:51:36 -05:00
d392d8249d Added support for deciding text drawing method, more work on edit_box 2020-06-16 10:12:21 -05:00
5d7e2028b1 Added support for image icon for ToggleButton, added initial implementation of EditBox, fixed a few ruby -w warnings by initializing select instance nilable variables, added clipboard support to EditLine, added drag selection to EditLine, added keyboard shortcuts to EditLine, GuiState now passes button_down/button_up callbacks to @focus 2020-06-16 00:19:30 -05:00
d902e5d111 Fixed EditLine not positioning caret correctly when clicked 2020-06-10 07:32:31 -05:00
39964e5bd4 Added support for using an image in a button 2020-06-09 10:49:31 -05:00
5b2a015421 Call recalulate less often to speed up gui updates, call root_container.recalculate a third time when recalculating gui. Gui calls recalculate 10x less when doing a full recalculate. 2020-06-09 09:11:57 -05:00
eb4d5d4d21 Use Gosu.clip_to to prevent elements from overdrawing 2020-06-08 09:01:10 -05:00
c83b204447 Removed debugging puts from EditLine 2020-06-08 05:48:30 -05:00
d0449c7b65 Add support back for fixed x and y positioning of elements, fixed theming not using deep_merge 2020-06-08 05:35:03 -05:00
a05ee57f6f Fixed EditLine text not visible if using dynamic width/height, fixed cursor in wrong position when at start/end 2020-06-07 13:18:03 -05:00
c3b227d6e7 Fix vector transform using 5th element instead if 15th 2020-06-07 12:36:37 -05:00
7aaf37d43e Added Vector#multiply_transform, needs more testing. 2020-05-12 09:32:50 -05:00
0850336e55 Bump version v0.14.0 2020-05-06 22:01:15 -05:00
8b6d7b6eb2 Fixed Slider default value was always 0.5 instead of middle of range 2020-05-06 12:54:52 -05:00
3226eb2bda Sliders work better, fixed CheckBox not passing along options hash, Text width/height now accept a string, changed EditLine text selection color, temporary back to back gui recalculations to fix positioning errors until Container#layout can safely be called after determining element width and height. 2020-05-06 12:08:20 -05:00
a98bb4ec82 Fixed hidden elements were interactable, added comments 2020-05-05 10:48:00 -05:00
da5d740c6e Sync: Renamed Engine to Window to be less confusing, elements are now supposed to throw a changed event if their value is changed 2020-05-04 11:17:11 -05:00
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
185ab000d6 Updated rake 2020-04-06 09:40:41 -05:00
ed061c8408 Fixed incorrect element positioning when using margin 2020-04-06 09:38:30 -05:00
d8551c7428 Bump version v0.13.1 2020-03-24 10:34:14 -05:00
0017c841dd Added Shader.delete, shaders now clean up after themselves 2020-03-24 10:33:44 -05:00
8cedb40283 Increase shader error message buffer size 2020-03-22 17:28:03 -05:00
93a4e9a2b8 Fixed Vector#== erroring out with doing Vector == SomeObject 2020-01-30 20:08:17 -06:00
a0c0180411 Merge branch 'master' of https://github.com/cyberarm/cyberarm_engine 2020-01-29 18:22:33 -06:00
7f25cd49fe Added ConfigFile for persistent hash storage 2020-01-29 18:22:24 -06:00
7e6a17fe9f Updated README, added some docs for Shader 2020-01-29 11:52:51 -06:00
0ea1e5c2ff Add documentation for Vector 2020-01-29 10:55:51 -06:00
8c34293307 Updated required gosu to 0.15 series, bumped version v0.13.0 2020-01-28 10:53:58 -06:00
8172dafa8c Refactored Shader to duplicate code in shader compilation step, added support for @include preprocessor in shaders 2020-01-28 10:51:36 -06:00
9a3caabc7e Make UI events travel up parent hierarchy until event is either :handled or there is no parent to notify 2020-01-15 21:03:21 -06:00
4b25d724b5 Improved shoes-iness; no longer need to pass clear blocks an element to parent to, todo: replace global var with something else. 2020-01-13 20:13:03 -06:00
a267695b1c dry up DSL's flow/stack methods 2019-12-29 11:30:33 -06:00
d76da62ee1 Update animator pass in from and to objects 2019-12-19 16:54:33 -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
52940d1cfe Fixed element borders not always lining up when using dynamic width/height 2019-12-19 11:17:31 -06:00
e59771e412 Refactored Shader.set_uniform into multiple methods 2019-12-09 11:49:46 -06:00
b382bf6960 Fix passing Vector (as vec3) to Shader 2019-12-09 08:51:31 -06:00
a5ed650970 Got 3D rotations working as expected 2019-12-08 17:16:12 -06:00