|
|
188f840372
|
Support ui:🪟:on_close
|
2021-07-17 17:44:41 +03:00 |
|
|
|
63ef539303
|
Forbid downscaling rich_button icon
|
2021-07-17 17:43:32 +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 |
|
|
|
8c21543ecb
|
Support draggable windows
|
2021-07-17 12:31:13 +03:00 |
|
|
|
4139c9b5c0
|
Make ui::element::post const
|
2021-07-03 23:37:58 +03:00 |
|
|
|
773bfc6971
|
Fix missing deduction guides for weak_ptr
|
2021-05-28 12:04:54 +03:00 |
|
|
|
5e62e6fa26
|
Add missing override specifications
|
2021-05-28 11:32:21 +03:00 |
|
|
|
0cf6ee13dc
|
Ui default element factory fix
|
2021-04-25 23:39:39 +03:00 |
|
|
|
922a0ce9aa
|
ui::screen::add_child should reshape
|
2021-04-25 23:18:55 +03:00 |
|
|
|
eecc054870
|
Use io::stream for png input
|
2021-04-20 15:11:41 +03:00 |
|
|
|
f40d98cb2f
|
UI rendering fix: visit the tree first, setup OpenGL next
|
2021-03-06 18:30:15 +03:00 |
|
|
|
05b50d2826
|
UI: fix slider state after mouse button up
|
2021-03-06 12:02:18 +03:00 |
|
|
|
03acb43dc4
|
Don't draw or send events to hidden ui children
|
2021-03-06 10:56:38 +03:00 |
|
|
|
e6506062b0
|
UI: send events to children in reverse order
|
2021-03-06 10:56:22 +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 |
|
|
|
66194a1adc
|
Rich image view set_zoom changes zoom instantly
|
2021-03-05 20:27:06 +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 |
|
|
|
bcba2893bf
|
Fix action offset in button children
|
2021-03-05 15:55:36 +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 |
|
|
|
725a7a6ea2
|
Fix rich_image_view rmb up
|
2021-03-04 20:35: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 |
|
|
|
31fbfdaa4d
|
Simplify creating horizontal/vertical layouts
|
2021-03-03 13:39:01 +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 |
|
|
|
b8fb2d47e3
|
UI window wip
|
2021-03-03 10:59:50 +03:00 |
|
|
|
b9131a8d5c
|
Add red cross image to ui resources
|
2021-03-03 10:59:34 +03:00 |
|
|
|
0b30163ed1
|
Bugfix: ui style merging should merge fonts as well
|
2021-03-03 10:59:04 +03:00 |
|
|
|
b37d2d25c7
|
Implement cached style merging
|
2021-02-27 20:21:50 +03:00 |
|
|
|
d0a117adf4
|
Make style members optional
|
2021-02-27 19:59:12 +03:00 |
|
|
|
f878321628
|
Convert default font to PNG
|
2021-02-27 19:45:27 +03:00 |
|
|
|
12e2bff790
|
Fix ui text rendering
|
2021-02-27 19:43:50 +03:00 |
|
|
|
fd5a9b7863
|
Support button icons
|
2021-02-27 17:53:37 +03:00 |
|