Commit graph

143 commits

Author SHA1 Message Date
067aa2c197 Fix skipping lines above visible ara 2024-11-23 11:08:38 -08:00
37ba426f31 Scroll List by pixels instead of items 2024-11-21 22:02:05 -08:00
16faaf17c5 Add Sprite to widget showcase 2024-11-21 14:11:02 -08:00
4de5aa2c52 Refactor Widget 2024-11-21 11:18:18 -08:00
707df2e07d Cache thumb bounds 2024-11-21 11:03:32 -08:00
6da5875341 Don't draw anything when Sprite has no size 2024-11-21 10:59:12 -08:00
8bcfc16417 Fix nil pointer when drawing zero rect Sprite 2024-11-21 10:52:50 -08:00
9c0270611b Add Open 2024-11-21 10:07:57 -08:00
e4e37cf67e Add Frame.SetHorizontal and Frame.SetVertical 2024-11-20 10:27:06 -08:00
e8f49c5641 Add Widget.Clip 2024-11-19 00:54:05 -08:00
53b248a771 Improve on-screen keyboard responsiveness 2024-11-19 00:04:30 -08:00
600f8d0720 Add Input.SetAutoResize 2024-11-18 22:24:06 -08:00
9a6cafd7b8 Support dragging text fields directly 2024-11-18 21:34:40 -08:00
8eb4115081 Do not recalculate string width when wrapping 2024-11-16 17:46:53 -08:00
2f31177e6a Pre-cache glyphs in tests, benchmarks and widget showcase 2024-11-16 15:33:22 -08:00
6e8a37f287 Fix word wrapping non-English text 2024-11-16 15:00:36 -08:00
b9cc08d3af Fix automatically resizing non-English text 2024-11-16 14:07:38 -08:00
baf88f4b7b Fix centering text vertically 2024-11-15 21:01:59 -08:00
746cdb2994 Use text/v2 to draw text 2024-11-15 00:09:27 -08:00
eba7ce7e2f Fix dimming Select background color when pressed 2024-10-31 22:19:46 -07:00
8fcca949ff Add Style.CheckboxBgColor 2024-10-31 22:13:57 -07:00
7674cd8c59 Fix wrapping UTF-8 characters 2024-10-30 13:13:33 -07:00
cb1ced340f Clamp text field offset when resizing 2024-10-30 00:42:58 -07:00
6203330022 Optimize text wrapping 2024-10-29 23:57:58 -07:00
5d97949a86 Fix dimming Button background color when pressed 2024-10-29 20:25:09 -07:00
9b001db916 Add Keyboard and Select to list of widgets 2024-10-23 22:05:30 -07:00
96eef101ab Fix Select example 2024-10-23 21:43:40 -07:00
2cb599b82f Add itch.io link to README 2024-10-23 21:37:47 -07:00
597b0b6fe9 Fix resetting cursor shape 2024-10-23 21:03:54 -07:00
07bc097958 Add DebounceResize 2024-10-23 20:52:30 -07:00
3fdd42454f Add List, Select and Window to showcase 2024-10-23 20:39:12 -07:00
68c90e24d1 Refactor showcase 2024-10-23 20:11:46 -07:00
53ffe3d3be Add Text to showcase 2024-10-23 20:03:30 -07:00
46aeabce93 Add Grid to showcase 2024-10-23 19:51:53 -07:00
6683c25b1d Add Button and Checkbox to showcase 2024-10-23 19:35:44 -07:00
9b9e7f66b5 Draw Window tab list 2024-10-23 14:34:55 -07:00
5055bdc157 Add Window.Show 2024-10-17 21:37:09 -07:00
a4a591ea39 Add Text.FontSize 2024-10-15 12:40:20 -07:00
8aa49057b7 Add Text.SetLast 2024-10-14 13:09:06 -07:00
ec4f094f57 Fork clipboard library 2024-10-11 20:05:00 -07:00
95ec570d5b Limit scroll wheel movement to three items per tick 2024-10-11 19:27:32 -07:00
3b7070ba7e Auto-resize Select label 2024-10-11 16:35:07 -07:00
d885aa32c7 Support pasting clipboard buffer 2024-10-11 14:44:33 -07:00
1ccbcdcf6e Allow widgets to draw inside their rect only 2024-10-10 11:03:06 -07:00
6b0d130138 Update list offset when selection overflows 2024-10-09 16:36:56 -07:00
e52e0e8692 Add List.SetConfirmedFunc 2024-10-09 13:21:50 -07:00
af0a6c2c30 Add Frame.SetMaxWidth and Frame.SetMaxHeight 2024-09-21 20:49:52 -07:00
0b260674c2 Add border to Input 2024-09-19 23:20:03 -07:00
b9ddff24b5 Add Sprite 2024-09-18 19:41:36 -07:00
7b35245a5a Add Widget.Cursor
Resolves #9.
2024-09-11 22:13:07 -07:00