196 Commits

Author SHA1 Message Date
d2bf406d29 Bump version v0.19.1 2021-09-23 14:36:19 -05:00
f82c101728 Fixed ListBox sometimes returning self in callback instead of self.value 2021-09-23 14:35:46 -05:00
2f727e9bf2 Bump version v0.19.0 2021-09-22 09:23:24 -05:00
24be9bfb29 Imported Console from I-MIC FPS 2021-06-26 13:12:44 +00:00
5452d149c3 Possible fix for being able to click a button that isn't visible due to scrolling, by ensuring that the host container is hit before checking children. 2021-06-18 02:57:49 +00:00
cdee6548e3 Added support for 9 sliced backgrounds in UI, fixed events not propagating to subscribers if element threw :handled in its own event handler 2021-06-04 03:00:31 +00:00
bd54fafc3f Added Text#text_width method, Text#width now returns value of Text#markup_width 2021-06-03 13:05:11 +00:00
a92d1ad746 Made Text account for shadow and border effects in width/height methods, made TextBlock support disabled state styling 2021-06-03 01:00:13 +00:00
1b080f9fb9 Use shorthand (&:method) for Element scroll_width/height max_scroll_width, possibly fix dimentional_size returning the wrong size when element has nonzero padding/margin/border_thickness 2021-05-31 01:07:24 +00:00
8057bca818 Added rendered vertices count to OpenGLRenderer 2021-05-30 14:10:32 +00:00
c1310f3073 Renamed Text's shadow to border and added proper text shadow effect 2021-05-29 00:10:44 +00:00
850bb610bb Fixed GUI having a total recalculation whenever a style changed, made tooltip not be centered on mouse, removed duplicate loc from Text 2021-05-28 00:43:40 +00:00
0b63986b64 Improved 9 slice background 2021-05-06 03:20:49 +00:00
165fc6f307 Fixed draw_rect helper missing drawing mode argument, set max view distance to a large number 2021-04-25 23:22:58 +00:00
e3c8e3bcc2 Added a bunch of tweens to the Animator, replaced :ease_in_out tween for Intro state engine logo to :swing_to 2021-04-25 14:58:12 +00:00
551a55f894 Add fade out to intro scene 2021-04-24 20:13:06 +00:00
01292ead10 Bump version 2021-04-19 19:26:42 +00:00
7ca6e1bc58 Update README 2021-04-19 19:22:43 +00:00
a70f260bc6 Update README 2021-04-19 19:17:10 +00:00
8002708695 Updated Animator to be usable, added logo texture/image, 'finished' Intro state, added Window#shift_state 2021-04-19 19:13:15 +00:00
676545f3c7 Added wip engine intro state 2021-04-19 14:42:49 +00:00
4b417f9ab7 More changes to how styles are applied, fixed bug where a Container would re-evaluate its build block when clicked, fixed background method in DSL having no effect, fixed edit line losing 'focus' when mouse moved out, misc. other changes and fixes. 2021-03-29 08:51:26 -05:00
a70c106387 Added Link element which is basically a button without a border or background, WIP: Element border, margin, padding, and other styles are now easily changable; work is needed to make style changes survive a recalculation 2021-03-29 08:51:26 -05:00
f662fabc56 Use GL_SRGB_ALPHA for textures 2021-03-29 08:13:59 -05:00
abb989f842 Added flags to use ffi-gosu optionally instead of always trying, made tooltip affected by theme (the last set theme in setup will be used to style the tooltip) 2021-03-12 08:33:16 -06:00
1e0d2004b5 More adjustments to scrolling and scroll_top, added debug_draw to elements that draws a box around the element that is atop all rendered things 2021-02-13 22:57:18 -06:00
92dd63dc1d Probably fixed scrolling for real this time, added scroll_top and scroll_top = n methods 2021-02-13 20:03:10 -06:00
20970e5aa9 Bump version v0.17.1 2021-02-11 09:32:37 -06:00
76eb1a85d5 Added focus event, elements can request focus 2021-02-11 09:31:44 -06:00
e9d75d17bf Updated gosu version, bumped version v0.17.0 2021-02-10 12:19:47 -06:00
e8bb2cac17 Update bundler in gemspec 2021-02-10 12:18:28 -06:00
29fbac7140 Added Container#apend method, EditLine caret will now stay visible while typing, EditLine#value= now sets the value of @text_input 2021-02-09 17:41:29 -06:00
d050f63c2b Increased scroll speed and added window_size_changed event for containers that is thrown from the root container 2021-01-31 13:33:20 -06:00
af24fc8690 Added vertical scrolling support for containers (no scrollbar yet) 2021-01-31 09:44:46 -06:00
f63b893c70 Bump version v0.16.0 2021-01-18 14:01:29 -06:00
5adc27feef Sync 2021-01-18 14:00:29 -06:00
62636158f7 Fixed word wrapping weirdness and made it the default text_wrap method from :none 2021-01-16 19:43:49 -06:00
2179e11ba1 Updated list box 2021-01-07 10:12:14 -06:00
1ac5e0695e Fixed Image element background and border not working, made button use Style as sole source of background and color colors 2021-01-05 23:15:22 -06:00
732dc2c957 Fixed new label dsl methods requiring options to be provided, upgraded Image to accept either a path or an image and to enable replacing image using #value= 2021-01-05 20:39:13 -06:00
886680ab31 Renamed Label to TextBlock, added Shoes text dsl methods; needs mroe refinements, made tooltip styleable. 2021-01-05 17:31:31 -06:00
0268a8a5fb Button element (and its decendents) can now be disabled 2021-01-04 09:34:11 -06:00
1c22c36d6b Include Common in Window 2021-01-01 19:20:52 -06:00
3e56d48556 Update dependencies, bump version v0.15.0 2020-12-31 07:48:44 -06:00
0c9874c53b Added support for tiled 9 slice backgrounds 2020-12-18 12:43:53 -06:00
164a46c1fb Added Background Nine Slice (Not yet usable for ui widgets) 2020-12-15 11:38:17 -06:00
26dd688124 Ran rubocop -a 2020-12-14 16:04:31 -06:00
2447dde1af Added rubocop config 2020-12-14 15:39:30 -06:00
d3ff7c1fc1 Added support for future borderless window option, added initial support for label word wrapping (needs more work), fixed toggle button checkmark not displaying due to changes in Label 2020-12-14 15:39:16 -06:00
2d57d62bc2 Don't trigger a recalc when hiding/showing elements if they're already in that state 2020-12-09 19:11:28 -06:00