Commit graph

347 commits

Author SHA1 Message Date
d7b68e44a8 Fix updating size policies in ui::impl::box_layout_base 2024-07-29 11:11:10 +03:00
b32a891183 Bugfix in ui::impl::button_base 2024-07-29 11:09:33 +03:00
ae815ec538 UI library wip: event handling, auto-layout, basic layouts & buttons 2024-07-28 19:28:38 +03:00
018f3ae0b0 Replace ui::size_polygon with simpler 2d box 2024-07-21 14:32:57 +03:00
4befa1cad7 Optimize util::signal & support signal<Args...> 2023-06-20 02:11:49 +03:00
933734bd2e New UI library wip 2023-05-06 12:55:06 +03:00
e8ea3e0fd4 New UI library automatic layout wip 2023-04-21 17:26:44 +03:00
cddc8a3235 New UI library wip: reconciliation fixes & tests 2023-04-19 19:01:24 +03:00
327e4b9744 Remove unused ui/reconciliator.cpp 2023-04-18 16:01:38 +03:00
1246985763 New UI library wip 2023-04-18 15:30:38 +03:00
3c4ccbbf54 Move ui library to ui_legacy 2023-04-17 13:12:04 +03:00
5e6cd060d7 Make io::read_full return util::blob 2023-02-10 21:15:19 +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