Commit graph

357 commits

Author SHA1 Message Date
519c487c4d Add ui::font::baseline method 2023-02-07 17:01:25 +03:00
7c20a91546 Make kerned_font shape glyphs along the Y=0 baseline 2023-02-04 18:59:45 +03:00
a2922708e8 Support floating-point glyph coordinates 2023-02-04 18:21:43 +03:00
098c3e84b1 Add common directories to file dialog 2023-01-05 19:30:00 +03:00
9a5206ebf9 Fix file dialog on windows 2023-01-05 19:24:24 +03:00
b9939ba10e Show full text in tagged_text parse error 2023-01-05 19:12:35 +03:00
2906e31634 Fix scroller position after reshape 2023-01-05 18:38:47 +03:00
3f5735e10f Don't send mouse events to hidden scroller children 2023-01-05 18:35:39 +03:00
0b358f6877 Support label on link mouseover callback 2023-01-05 18:18:11 +03:00
1241fdff9c Make path canonical before using it in file dialog 2023-01-05 16:14:59 +03:00
bf3f6f61d1 Remove non-implemented file dialog common paths 2023-01-05 16:12:00 +03:00
ea726c7a93 Better file dialog confirm button behavior 2023-01-05 16:10:50 +03:00
1b8339ed5d Escape paths in file dialog 2023-01-05 16:08:47 +03:00
361ef9fd7a Add default scroller implementation 2023-01-05 04:54:01 +03:00
874d4bd5c8 Huge ui::scroller changes: support asymmetric shaping, remove sticking feature 2023-01-05 02:40:47 +03:00
c928b88062 Try to fix label cursor issue 2023-01-04 21:47:31 +03:00
cdbe162521 Add default toggle button implementation 2023-01-04 21:14:14 +03:00
594dcc9230 Hide file dialog confirm button when appropriate 2023-01-04 17:09:31 +03:00
267304ce6a Fix file dialog rewriting selected files (facepalm) 2023-01-04 03:10:23 +03:00
0a64bd0cbb Sort entries in file dialog 2023-01-04 01:44:37 +03:00
b1063f83d9 Add file icon to file dialog 2023-01-04 01:39:37 +03:00
f31e97edde Add a file dialog implementation 2023-01-03 23:31:45 +03:00
9481997034 Support retrieving ui:🪟:on_close callback & explicitly closing a window 2023-01-03 23:31:36 +03:00
c43aa72334 Another selector spawning lifetime fix 2023-01-01 23:53:54 +03:00
c0c659ee61 Fix spawned selector lifetime 2023-01-01 21:54:49 +03:00
e1d4608e3f Highlight the option that owns the active submenu in ui::selector 2022-12-23 10:01:24 +03:00
d6f53ed76f Make default ui::selector use fg_color instead of bg_color 2022-12-23 09:59:31 +03:00
bd9e148d9b Fix extra semicolon 2022-12-22 21:48:32 +03:00
a63bc2eb01 Add submenu arrows to default ui::selector 2022-12-22 16:33:46 +03:00
72cbec959d Support ui::button::on_release callback 2022-12-22 16:06:02 +03:00
d692256580 Support alpha-channel in ui::color_picker 2022-12-20 18:19:14 +03:00
17bb412140 Draw checkers for transparent color in ui::color_view 2022-12-20 18:19:05 +03:00
8e0c27c8c0 Add ui::color_picker composite element 2022-12-20 17:12:18 +03:00
5af0c66599 Add simple ui::color_view element 2022-12-20 17:12:06 +03:00
932e64a991 Fix default ui::button child & size constraints handling 2022-12-20 17:11:54 +03:00
5bf544d032 Add generic ui::spawn 2022-12-20 17:11:23 +03:00
183e5bb482 Rename ui::spawn -> ui::spawn_selector 2022-12-20 17:11:14 +03:00
79eceaa616 Fix selectors lifetime issues 2022-12-19 21:17:22 +03:00
6fe5d72415 Fix ui::grid_layout::set_size element parenting 2022-12-19 20:35:12 +03:00
cf13025cc6 Support update callback in ui::event_interceptor 2022-12-19 12:29:22 +03:00
c1699fe882 Add default image provider 2022-12-19 09:52:02 +03:00
852a170c97 Add default ui::edit implementation 2022-12-18 21:55:30 +03:00
9ab72a7c1a Fix default ui::window impl event handling 2022-12-18 21:55:23 +03:00
1c9fb28ebf Implement shadows in default selector impl 2022-12-18 19:22:55 +03:00
f42b91a80e Another selector callback fix 2022-12-18 19:15:24 +03:00
e28b7a8e67 Fix rapidjson dependence 2022-12-18 18:35:13 +03:00
a1307b84b9 Support changing ui::default_element_factory close icon 2022-12-18 18:17:40 +03:00
3a93ddce65 Fix selector callback patching 2022-12-18 18:17:00 +03:00
d5fdb2a7c5 Support changing ui::label text_style without tagged text 2022-12-18 18:15:14 +03:00
3d2c03c1b4 Implement default ui::selector 2022-12-18 16:42:39 +03:00