|
|
12733cf239
|
Remove obsolete code
|
2022-05-21 20:25:02 +03:00 |
|
|
|
d40dd82268
|
ui::label tags support: bold, uline & strike
|
2022-05-21 20:23:50 +03:00 |
|
|
|
711253bbfe
|
Make sure ui::label shaping doesn't get stuck in infinite loop
|
2022-05-21 20:22:47 +03:00 |
|
|
|
057cf1c4c7
|
ui::label tagged text support wip: refactor internal data & shaping algorithm
|
2022-05-21 19:53:01 +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 |
|
|
|
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 |
|
|
|
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 |
|
|
|
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 |
|
|
|
49e3e2e07b
|
Mark ui::element::style_updated/own_style_updated as const
|
2022-05-14 16:05:24 +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 |
|
|
|
a3cda92f4c
|
Add bold font support in ui::label
|
2022-03-12 17:50:33 +03:00 |
|
|
|
e237959894
|
Add ui::element::style_updated & own_style_updated replacing set_style(style())
|
2022-03-11 13:11:47 +03:00 |
|
|
|
b215d52289
|
Reset ui::label cached state on style change
|
2022-03-09 19:55:43 +03:00 |
|
|
|
e06549f4dc
|
Fix label stretch with lines ending in newline
|
2022-03-02 23:02:39 +03:00 |
|
|
|
512e9b51b7
|
Cache inf cached state for labels
|
2022-02-27 19:40:18 +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 |
|
|
|
e4bd58c5ef
|
Support not skipping extra spaces in ui::label
|
2022-02-02 19:45:32 +03:00 |
|
|
|
7499785c72
|
Support non-propagating styles in ui elements
|
2021-10-13 22:52:45 +03:00 |
|
|
|
a362dafee3
|
Add app::ui_scene helper base class
|
2021-03-03 12:24:45 +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 |
|
|
|
d16a71012d
|
Fix ui::label size constraints
|
2021-02-26 14:35:11 +03:00 |
|
|
|
2c39434f41
|
Support multiline strings in label
|
2021-02-26 12:20:01 +03:00 |
|
|
|
e754da5f46
|
Label breaks lines on space characters only
|
2021-02-26 11:50:34 +03:00 |
|
|
|
0de3b782dc
|
Add text shadows
|
2021-02-26 11:36:32 +03:00 |
|
|
|
c9ec53952c
|
Implement multiline modes in label
|
2021-02-26 11:34:32 +03:00 |
|
|
|
92a395c293
|
Support overflow modes in label
|
2021-02-25 21:25:25 +03:00 |
|
|
|
57473c545c
|
Support all alignment modes in label
|
2021-02-25 21:09:41 +03:00 |
|
|
|
fd7fbd4d87
|
Label properties change triggers reshape
|
2021-02-25 15:15:42 +03:00 |
|
|
|
49c9e8c7cf
|
Use glyph drawing in labels
|
2021-02-25 14:18:10 +03:00 |
|
|
|
69bd546848
|
Label implementation wip
|
2021-02-25 11:42:47 +03:00 |
|
|
|
a53b32067f
|
UI library prototype wip
|
2021-02-25 09:07:39 +03:00 |
|