|
|
057cf1c4c7
|
ui::label tagged text support wip: refactor internal data & shaping algorithm
|
2022-05-21 19:53:01 +03:00 |
|
|
|
98b8a324d0
|
Support setting initial pen position & retrieving final pen position in font text shaping
|
2022-05-21 19:51:07 +03:00 |
|
|
|
a9de6232de
|
Implement underline & strikethrough in ui::label
|
2022-05-20 17:05:51 +03:00 |
|
|
|
bedb8c9faf
|
Remove label font_type setting & move it to style
|
2022-05-19 21:33:48 +03:00 |
|
|
|
9d8e83d957
|
Fix tagged_text escaping & add parse error tests
|
2022-05-19 17:35:10 +03:00 |
|
|
|
b524600da0
|
Add tagged_text description, parser & tests
|
2022-05-19 17:27:58 +03:00 |
|
|
|
43c18eb4d2
|
Remove ui::painter::draw_glyph, introduce ui::painter::color_mode used for switching between mix/multiply in draw_image
|
2022-05-19 12:15:16 +03:00 |
|
|
|
395464ebd5
|
Remove draw_glyph using in ui::edit, cache raw images instead
|
2022-05-19 12:06:04 +03:00 |
|
|
|
35eaf17a3b
|
Refactor ui::painter interface: gather draw_image options into a struct
|
2022-05-19 11:38:09 +03:00 |
|
|
|
f21fa3c2d6
|
Store texcoords as float in texture_view
|
2022-05-19 11:23:42 +03:00 |
|
|
|
77d3e6e3f2
|
Remove duplicated image draw API in ui::painter
|
2022-05-19 10:41:01 +03:00 |
|
|
|
329915ac1b
|
Rich text label wip: store cached label state as a series of batches of texture views (NB: transparent labels are broken)
|
2022-05-18 22:45:35 +03:00 |
|
|
|
59de6682ba
|
Support retrieving buttons from spinbox
|
2022-05-17 23:16:26 +03:00 |
|
|
|
3f9275b2ad
|
Remove toggle_button, make checkbox support children by default
|
2022-05-17 22:03:40 +03:00 |
|
|
|
9c744b9a21
|
Throw if set_child is called for default arrow button
|
2022-05-17 21:27:44 +03:00 |
|
|
|
bfb8ba407b
|
Remove rich_button, make any button able to contain a child element
|
2022-05-17 21:25:01 +03:00 |
|
|
|
0f95a5bcee
|
Make progress_bar::label const
|
2022-05-17 21:01:20 +03:00 |
|
|
|
16036268f5
|
Make convenient function in ui::element_factory to create a progress bar with a label
|
2022-05-17 20:24:58 +03:00 |
|
|
|
c706032df5
|
Make ui::progress_bar capable of having any element as a child
|
2022-05-17 20:24:39 +03:00 |
|
|
|
62cfba7711
|
Add ui::frame::width/height_constraints
|
2022-05-16 12:10:21 +03:00 |
|
|
|
9a2c562eec
|
Add ui::asymmetric element that supports width_first() reshaping
|
2022-05-16 12:09:58 +03:00 |
|
|
|
4c106cc4c6
|
Make ui::element store style as non-const
|
2022-05-15 13:17:20 +03:00 |
|
|
|
49e3e2e07b
|
Mark ui::element::style_updated/own_style_updated as const
|
2022-05-14 16:05:24 +03:00 |
|
|
|
f01feb7b7f
|
Remove ui::edit::own_style_updated override
|
2022-05-14 16:04:50 +03:00 |
|
|
|
8ca5ab3f25
|
Support whole-word caret movement in ui::edit
|
2022-05-10 12:01:46 +03:00 |
|
|
|
922daee6d2
|
Support whole-word deletion in ui::edit
|
2022-05-10 12:01:33 +03:00 |
|
|
|
39fe68e6f7
|
Notify text changed when editing canceled in ui::edit
|
2022-05-10 11:58:08 +03:00 |
|
|
|
9a3620f186
|
Reset ui::edit caret on various events
|
2022-05-10 11:51:47 +03:00 |
|
|
|
ec228d481b
|
Make ui::edit caret visible when changing its position via cursor
|
2022-05-08 11:58:34 +03:00 |
|
|
|
9a56228231
|
Support on_text_changed callback in ui::edit
|
2022-05-08 11:56:45 +03:00 |
|
|
|
a368eb32ff
|
Support selector canceled callback in ui::spawn
|
2022-05-03 20:14:14 +03:00 |
|
|
|
8354ee1753
|
Support mouseover callback in ui::selector
|
2022-05-03 15:43:37 +03:00 |
|
|
|
b5145b9596
|
Support on_scroll event in ui::scroller
|
2022-05-03 14:24:14 +03:00 |
|
|
|
3760741ba6
|
Refactor ui::selector to support selector hierarchies
|
2022-05-01 13:16:48 +03:00 |
|
|
|
7b63614787
|
Fix ui::selector submenu callback
|
2022-04-30 20:48:11 +03:00 |
|
|
|
26ca210ecf
|
Make ui::selector callback retrievable so that ui::spawn can replace it
|
2022-04-30 20:42:45 +03:00 |
|
|
|
1cdfcc5aa5
|
Support a separate callback for ui::selector submenu selection
|
2022-04-30 20:31:34 +03:00 |
|
|
|
a6b89e3d54
|
Make ui::spawn(selector) accept floating-point position directly
|
2022-04-30 18:34:19 +03:00 |
|
|
|
55d2a48ff2
|
Support retrieving item y-range from ui::selector
|
2022-04-30 16:52:23 +03:00 |
|
|
|
cc6691c633
|
Support submenu options in ui::selector
|
2022-04-30 16:47:54 +03:00 |
|
|
|
ecab744dfd
|
Fix choosing hinted ui element if it is hidden by a non-transparent element
|
2022-04-20 18:47:09 +03:00 |
|
|
|
cabe5721aa
|
Add ui::element::transparent attribute
|
2022-04-20 18:46:30 +03:00 |
|
|
|
6aebd8c931
|
Introduce ui::element::{width,height}_constraint - constraints on one dimension given the size in another dimension
|
2022-04-16 17:16:09 +03:00 |
|
|
|
4b7221db26
|
Fix ui::edit numeric validators
|
2022-04-16 17:13:52 +03:00 |
|
|
|
8d3c227285
|
Replace a dynamic_cast with a static_cast
|
2022-04-11 20:19:16 +03:00 |
|
|
|
edccbc3ed5
|
Support ui::edit callback on start text input
|
2022-04-10 15:12:42 +03:00 |
|
|
|
32bb106467
|
Store focused & hinted elements via weak_ptr in ui::controller
|
2022-04-10 00:05:28 +03:00 |
|
|
|
b9187c6b75
|
Compute proper caret position after clicking on ui::edit
|
2022-04-08 15:06:52 +03:00 |
|
|
|
26631cd564
|
Support cancelling editing text in ui::edit
|
2022-04-08 15:00:00 +03:00 |
|
|
|
e445b42724
|
Refactor ui::edit state & support focusing
|
2022-04-08 14:49:44 +03:00 |
|