|
|
a22ea3d02e
|
Refactor geom::bezier: extract a free-function de Casteljau's algorithm & support changing control points
|
2022-05-07 14:00:29 +03:00 |
|
|
|
a368eb32ff
|
Support selector canceled callback in ui::spawn
|
2022-05-03 20:14:14 +03:00 |
|
|
|
fe1769cf46
|
Support retrieving item bboxes in ui::selector
|
2022-05-03 15:43:55 +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 |
|
|
|
727db57092
|
Mark certain ui elements as transparent only if they don't have a hint
|
2022-04-29 14:53:35 +03:00 |
|
|
|
05f777f398
|
Make ui:🏷️:font_type an enum class
|
2022-04-29 11:12:48 +03:00 |
|
|
|
366a0653b5
|
Add image-load-store OpenGL extension
|
2022-04-22 10:37:14 +03:00 |
|
|
|
fc514577a1
|
Support compute shader in gfx::program
|
2022-04-22 10:21:14 +03:00 |
|
|
|
49607f5896
|
Update generated OpenGL wrapper to support compute shaders extension
|
2022-04-22 10:21:00 +03:00 |
|
|
|
30b3536d72
|
Replace query_array with a more useful query_poll
|
2022-04-21 23:16:45 +03:00 |
|
|
|
86296209c8
|
Remove query_array usage from deferred renderer
|
2022-04-21 23:16:24 +03:00 |
|
|
|
2fd8e73738
|
Fix cg::icosahedron - should implement triangles() instead of faces()
|
2022-04-21 22:16:00 +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 |
|
|
|
df963e18a3
|
Add util::type_name(x) (may use rrti)
|
2022-04-20 18:46:02 +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 |
|
|
|
8f6d48c605
|
Fix util::array::indices iteration in case of empty array
|
2022-04-16 17:14:38 +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 |
|
|
|
bd6d0f9f93
|
Support focused ui elements
|
2022-04-08 14:49:09 +03:00 |
|
|
|
c06a465f51
|
Make ui::edit clip renderered text by text box using stencil
|
2022-04-08 12:37:16 +03:00 |
|
|
|
5066dd6494
|
Support a separate text bbox in ui::edit
|
2022-04-08 12:36:23 +03:00 |
|
|
|
d1b3225112
|
Fix ui::painter_impl stencil (again)
|
2022-04-08 12:35:39 +03:00 |
|
|
|
484a5809ef
|
Fix ui::painter_impl stencil implementation + support 255 recursive stencil levels
|
2022-04-08 11:59:52 +03:00 |
|
|
|
399250fe19
|
Fix ui::edit key event handling
|
2022-04-08 11:42:20 +03:00 |
|
|
|
bbeb05f34e
|
Refactor SDL2 cursor manipulation
|
2022-04-06 17:52:32 +03:00 |
|
|
|
5c401d6d50
|
Make ui::edit change cursors on mouseover
|
2022-04-06 17:24:20 +03:00 |
|
|
|
80315e839a
|
Add SDL2 cursor capabilities
|
2022-04-06 17:24:09 +03:00 |
|
|
|
f7568535b6
|
Add ui::edit text input element
|
2022-04-01 17:43:35 +03:00 |
|
|
|
7848d5a8b3
|
Add text input helpers in ui::element
|
2022-04-01 17:43:12 +03:00 |
|
|
|
ccb5570892
|
Add ui::text_input event
|
2022-04-01 17:42:42 +03:00 |
|
|
|
6db913756b
|
Add scene::on_text_input event
|
2022-04-01 17:40:22 +03:00 |
|
|
|
6e0579e548
|
Make sure text input is turned off at app start
|
2022-04-01 17:39:53 +03:00 |
|
|
|
11b3e960d5
|
Support shaping utf32-text directly in ui::font
|
2022-04-01 17:38:39 +03:00 |
|
|
|
53b706a29b
|
Fix kerned font handling unknown characters
|
2022-04-01 17:38:10 +03:00 |
|
|
|
5b450d401c
|
Fix 9x12 font glyphs
|
2022-04-01 17:36:48 +03:00 |
|
|
|
50e2ebd362
|
Fix utf8 parsing
|
2022-04-01 17:36:27 +03:00 |
|