Commit graph

82 commits

Author SHA1 Message Date
9e24c875a1 Support drawing rotating images in ui::painter 2022-02-17 10:17:55 +03:00
a52ea77e69 Support stretching spaces in ui::label 2022-02-15 17:12:46 +03:00
0be73e2816 Replace ui:🏷️:multiline_mode with boolean ui:🏷️:wrap 2022-02-15 16:55:18 +03:00
34e2877873 Add new non-monospace font 2022-02-15 16:24:42 +03:00
615fc029e7 Add ui::style::scale 2022-02-15 11:23:14 +03:00
93fd269c02 Support rendering texture_view's in ui::painter 2022-02-10 13:29:37 +03:00
fa581d0ed3 Make ui::grid_layout::get return shared_ptr 2022-02-07 21:13:41 +03:00
66deca8cda Fix ui::checkbox::set_value 2022-02-07 13:39:40 +03:00
5779680e1d Fix ui::slider behavior if reshape occurs while user is changing value 2022-02-05 12:43:21 +03:00
a01bd019f8 Support delaying posted callbacks until a ui element gets attached to an event loop 2022-02-02 22:05:40 +03:00
e4bd58c5ef Support not skipping extra spaces in ui::label 2022-02-02 19:45:32 +03:00
b4f116cada Implement scroller ui container 2021-10-15 21:38:23 +03:00
b298859f1e Support stencils in ui::painter 2021-10-15 21:37:48 +03:00
015307cbec Support ui::element::post_draw invoked after children draw 2021-10-15 21:37:13 +03:00
513105d3ee Move make_arrow_button to element_factory interface 2021-10-14 21:49:54 +03:00
89db5ec3ea Add bevel style properties 2021-10-13 23:16:03 +03:00
7499785c72 Support non-propagating styles in ui elements 2021-10-13 22:52:45 +03:00
5ddf8795d5 Add grid layout child adding helpers 2021-10-13 22:51:44 +03:00
21d6076f5c Support cyclic ui::slider 2021-07-20 14:03:39 +03:00
5f70c61723 Support ui::slider::set_value without issuing callback 2021-07-20 14:03:28 +03:00
6dd5fd5ee7 Add ui::checkbox interface & default implementation 2021-07-17 17:46:17 +03:00
188f840372 Support ui:🪟:on_close 2021-07-17 17:44:41 +03:00
7865297995 Make rich_button::set_label and set_icon virtual 2021-07-17 17:42:56 +03:00
934512f762 Support scaling ui styles 2021-07-17 17:42:30 +03:00
4139c9b5c0 Make ui::element::post const 2021-07-03 23:37:58 +03:00
0cf6ee13dc Ui default element factory fix 2021-04-25 23:39:39 +03:00
05b50d2826 UI: fix slider state after mouse button up 2021-03-06 12:02:18 +03:00
1d0d90862e Support hidden ui elements 2021-03-06 10:55:30 +03:00
27bd390381 UI spinbox implementation 2021-03-05 23:33:19 +03:00
3faccd1256 Default ui element factory supports arrow buttons 2021-03-05 23:13:57 +03:00
fec050307d Add triangle painting to ui::painter 2021-03-05 23:13:27 +03:00
4383ce7e8b Separate ui::button into button & rich_button 2021-03-05 22:57:39 +03:00
c54a9944f1 Add ui::triangle_shape 2021-03-05 22:50:09 +03:00
6ad43ff0a5 Add ui::style::ref_height 2021-03-05 22:34:30 +03:00
74423000cb Rich image view smooth zoom 2021-03-05 20:09:15 +03:00
2b2b2be560 Support ui animations 2021-03-05 20:09:02 +03:00
e67b3f1fdc Add ui slider element 2021-03-05 15:51:17 +03:00
0bf4324ba4 Refactor button creation + create image view via element factory 2021-03-05 14:27:20 +03:00
0f9b8f72c1 Make ui::button::set_icon/set_label public 2021-03-05 14:26:45 +03:00
49b58f76c5 UI: rich_image_view use loop instead of calling reshape & region_changed directly 2021-03-05 12:29:31 +03:00
4641c5d7d2 UI element::post uses movable function 2021-03-04 14:30:46 +03:00
ea46e820ab UI elements should explicitly reset parent for their children 2021-03-04 13:58:15 +03:00
fccf2e382e Add scrollable & zoomable image view element 2021-03-04 10:03:04 +03:00
486a8b24aa UI painter: add draw_subimage & don't restrict to integer texcoords 2021-03-04 10:02:46 +03:00
bf9e279952 Grid layout changes: support minimized rows/columns + support skipping outer outline 2021-03-03 19:20:09 +03:00
fe60386ad7 Support button onclick offset in ui styles 2021-03-03 16:54:42 +03:00
5dda61ab50 UI: use async::event_loop instead of abstract async::executor 2021-03-03 13:03:32 +03:00
336bdde8d2 Add ui::element_factory interface 2021-03-03 12:25:04 +03:00
a362dafee3 Add app::ui_scene helper base class 2021-03-03 12:24:45 +03:00
5e6d52f341 Add (unused) ui key press event 2021-03-03 12:15:52 +03:00