Jonathan Johnson
d07dcdc9aa
Paired dynamics are now possible
...
Also sliders look better
2023-11-11 16:51:07 -08:00
Jonathan Johnson
019412543c
Lerp for ThemeMode
2023-11-11 13:47:35 -08:00
Jonathan Johnson
27d5baef5d
ThemeMode
2023-11-11 13:41:34 -08:00
Jonathan Johnson
68339dfb62
Scroll fixes
2023-11-11 10:23:24 -08:00
Jonathan Johnson
eb4b24f4a9
Slider
2023-11-11 09:42:53 -08:00
Jonathan Johnson
972a1c1c13
Button/input outline, Input select all
2023-11-10 19:29:24 -08:00
Jonathan Johnson
d844a44b33
Refactored LabelBackground to WidgetBackground
2023-11-10 18:15:45 -08:00
Jonathan Johnson
81f6f8c4d3
Theme example reacts
2023-11-10 18:11:31 -08:00
Jonathan Johnson
e471cb0ea5
Removing debug statements
2023-11-10 15:55:23 -08:00
Jonathan Johnson
06ae120df2
Merge branch 'main' of github.com:khonsulabs/gooey
2023-11-10 15:47:07 -08:00
Jonathan Johnson
95c1f2a01a
Fixing DimensionRange for ..=
2023-11-10 15:46:38 -08:00
Jonathan Johnson
12b0d80dc0
Merge pull request #71 from ModProg/transparent-windows
...
Support transparent windows
2023-11-10 15:32:00 -08:00
Roland Fredenhagen
244be0cf06
Support transparent windows
2023-11-11 00:31:03 +01:00
Jonathan Johnson
60e85c78d0
Resize exact fix, stack overflow now works
2023-11-10 15:11:46 -08:00
Jonathan Johnson
e44872351d
Using the actual size when auto-resizing
2023-11-10 14:09:37 -08:00
Jonathan Johnson
0c3206a2ff
Adding RUST_LOG support to tracing
...
Also default level has been upped to info
2023-11-10 13:47:40 -08:00
Jonathan Johnson
e683b7d31f
fill(), expand at root, Space::colored
2023-11-10 12:20:56 -08:00
Jonathan Johnson
d7384b63d8
Added WIP theming system
2023-11-10 09:39:33 -08:00
Jonathan Johnson
724f6d7b18
Resize now accepts ranges, Window honors Resize
...
Closes #62 , Closes #63
2023-11-09 14:54:41 -08:00
Jonathan Johnson
1714948174
Styles are now reactive
2023-11-09 10:42:56 -08:00
Jonathan Johnson
897880de25
Dynamic into/to helpers
2023-11-09 10:15:13 -08:00
Jonathan Johnson
a2e28cb522
Dynamic::take, align helpers, scroll fix
...
Scroll was previously taking the graphics region as its control size as
opposed to the constraints. This was due to this code originally living
in redraw. This fixes scroll areas being able to scroll their contents
fully when sharing window space with other widgts.
2023-11-09 10:04:09 -08:00
Jonathan Johnson
85928675ab
AutoFocusableControls, LayoutOrder
2023-11-09 08:51:24 -08:00
Jonathan Johnson
e4092532d3
Line scroll honors LineHeight, ignore no scroll
2023-11-09 07:58:59 -08:00
Jonathan Johnson
58b98a9a16
LinearInterpolation now requires PartialEq
...
This also means that if an animation is animating over discrete values
and the actual value has not changed, the Dynamic will no longer detect
a change because it's now using update instead of set.
2023-11-09 07:46:02 -08:00
Jonathan Johnson
a818cc41fd
TileMap focus, Style helpers
2023-11-09 06:58:58 -08:00
Jonathan Johnson
22fb955dca
More combinators
...
Maybe I went overboard.
2023-11-08 20:10:01 -08:00
Jonathan Johnson
8e268615a1
WrapperWidget, Space
2023-11-08 19:09:59 -08:00
Jonathan Johnson
9596eaac17
Embracing tracing
2023-11-08 16:16:08 -08:00
Jonathan Johnson
ad57e02e4f
Generic ForEach/MapEach
2023-11-08 15:32:51 -08:00
Jonathan Johnson
6d41902002
Fixing more edge cases around widget removal
2023-11-08 15:30:11 -08:00
Jonathan Johnson
ab4e4022ea
Fixing issues when widgets are removed
2023-11-08 14:43:55 -08:00
Jonathan Johnson
747813f6b8
Button.enabled
2023-11-08 12:37:58 -08:00
Jonathan Johnson
a8cd3df22c
Better Input keyboard event handling
2023-11-08 11:21:45 -08:00
Jonathan Johnson
bf9836a82b
Default + Cancel widgets
2023-11-08 11:03:17 -08:00
Jonathan Johnson
5e055376e7
Re-exposing attributes for now
2023-11-08 09:35:17 -08:00
Jonathan Johnson
fc165628e5
Input no longer blinks in the background
...
Also, Expand now expands properly.
2023-11-08 08:44:16 -08:00
Jonathan Johnson
b27b9db380
IntoDynamic<T>
2023-11-08 07:44:10 -08:00
Jonathan Johnson
57a689b8c8
Window focus/occlusion, recursive focus/activation
2023-11-07 20:16:59 -08:00
Jonathan Johnson
ca42ecc956
Fixed mouse events + docs
2023-11-07 16:43:19 -08:00
Jonathan Johnson
5e5d826267
Checkpoint
...
Progress on tab focus
2023-11-07 15:16:29 -08:00
Jonathan Johnson
8a2dae3f76
Next-focus progress
...
gameui no longer needs next_focus for the input to be focused
automatically
2023-11-07 08:39:35 -08:00
Jonathan Johnson
e7b4fe00b6
Updating to intentional
2023-11-06 14:30:03 -08:00
Jonathan Johnson
d766d906a6
Added async value test
2023-11-06 06:41:49 -08:00
Jonathan Johnson
fbf6134a0a
Initial window focus
2023-11-06 06:19:41 -08:00
Jonathan Johnson
0f6d3838b1
LayoutContext
...
measure() now is layout(). LayoutContext can either persist layout
information or be used temporarily for measurement. While this caching
is constantly thrown out currently, this is a step towards being able to
only re-layout widgets if they've been invalidated.
2023-11-05 11:50:59 -08:00
Jonathan Johnson
6f5ffd80b4
Easing functions as styles
2023-11-03 13:37:27 -07:00
Jonathan Johnson
1bf1b082af
Easings
2023-11-03 11:24:27 -07:00
Jonathan Johnson
126b324b55
Animation docs, on_complete
2023-11-03 09:37:22 -07:00
Jonathan Johnson
32b5e16695
Fixing size_to_fit unit test
...
Part of the refactor yesterday made Stack's size-to-fit behavior work in
both dimensions.
2023-11-03 07:21:17 -07:00