Commit graph

19 commits

Author SHA1 Message Date
Jonathan Johnson
64f46a46e2
Button animations, hover fixes, ComponentType 2023-11-01 20:11:05 -07:00
Jonathan Johnson
6b8e5f886b
Update scroll example + work around cosmic_text
I decided scrolling a label would work better, so I loaded a source file
and noticed it wasn't rendering quite right in the label. It turns out
that the text wrapping was triggering despite the width in redraw being
the same as the measured amount. In short: sometimes the width I measure
can't be the width I set as the cosmic_text::Buffer size, because it
will cause it to wrap.

I've worked around it by caching the measured text for now. But it may
still show up in other situations and may require a more generalized
fix by seeing what else we can gleam from the glyphs being measured.
2023-11-01 15:43:56 -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
93a9545cc4
Renamed Array to Stack 2023-10-30 21:41:14 -07:00
Jonathan Johnson
c9c4c9aeed
Documentation 2023-10-30 21:12:04 -07:00
Jonathan Johnson
04e5381187
Added Tick to TileMap 2023-10-29 08:41:50 -07:00
Jonathan Johnson
6acaf7ed1c
Added tilemap example 2023-10-27 15:30:37 -07:00
Jonathan Johnson
c84ff988f3
Added TileMap widget 2023-10-27 15:28:51 -07:00
Jonathan Johnson
90593e1938
Updates for Kludgine text refactor 2023-10-27 14:23:42 -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
69f6f68ba6
Added blinking cursor 2023-10-25 09:08:53 -07:00
Jonathan Johnson
dc6c22372b
Refreshing after ime input 2023-10-19 15:03:47 -07:00
Jonathan Johnson
983b6a97ad
More progress on input/event handling 2023-10-19 14:56:18 -07:00
Jonathan Johnson
ff9fa043c3
Removing patches from git 2023-10-18 16:09:37 -07:00
Jonathan Johnson
8607fc51d2
Enabling IME 2023-10-18 16:07:26 -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