Commit graph

355 commits

Author SHA1 Message Date
d5b755bde0 Support ui component-specific cursors specified by a string id 2024-08-02 11:53:42 +03:00
61fd45d40c Fix event handing order in ui controller 2024-08-01 23:01:39 +03:00
367f82a01f New UI library internals redesign: add global event_state, add delayed events queue, fix reshaping & subscribing to size_constraints 2024-07-31 15:55:23 +03:00
13862d8b47 Fix handling state in ui::impl::button_base 2024-07-30 23:51:28 +03:00
7346aff9f6 Fix ui::impl::box_layout_base handling added elements 2024-07-30 13:03:41 +03:00
9234a28344 Support animating UI components 2024-07-29 19:04:04 +03:00
3856fdd827 UI library wip: implement frame, extend & move 2024-07-29 13:24:14 +03:00
8cc3356eb1 Add ui::impl::renderer 2024-07-29 11:11:20 +03:00
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