Jonathan Johnson
2a50bb32d4
define_components embrace, sanitize, docs, export
2023-11-12 09:21:49 -08:00
Jonathan Johnson
6220394df2
Merge branch 'main' into button-fun
2023-11-11 20:18:06 -08:00
Roland Fredenhagen
83cb88925a
Make button take MakeWidget
2023-11-12 00:38:43 +01:00
Jonathan Johnson
27d5baef5d
ThemeMode
2023-11-11 13:41:34 -08:00
Jonathan Johnson
81f6f8c4d3
Theme example reacts
2023-11-10 18:11:31 -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
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
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
bf9836a82b
Default + Cancel widgets
2023-11-08 11:03:17 -08:00
Jonathan Johnson
57a689b8c8
Window focus/occlusion, recursive focus/activation
2023-11-07 20:16:59 -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
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
0026a6db0d
Resize/Expand rework + basic readme
2023-11-02 14:23:36 -07:00
Jonathan Johnson
79be9a063b
Scroll and Animations
...
Scroll is only working to the absolute barest of requirements.
2023-11-01 15:15:14 -07:00
Jonathan Johnson
c9c4c9aeed
Documentation
2023-10-30 21:12:04 -07:00
Jonathan Johnson
5b94d37b6f
Callback can now return a result
2023-10-27 12:25:31 -07:00
Jonathan Johnson
304032f1b0
Run, MakeWidget, styles!
2023-10-27 10:41:13 -07:00
Jonathan Johnson
983b6a97ad
More progress on input/event handling
2023-10-19 14:56:18 -07:00
Jonathan Johnson
87578e5c76
Progress towards an input widget
2023-10-18 15:44:13 -07:00
Jonathan Johnson
e04b1b14ad
Added keyboard_input
2023-10-18 08:51:11 -07:00
Jonathan Johnson
fc707835f5
Initial commit
2023-10-18 08:22:41 -07:00