Commit graph

921 commits

Author SHA1 Message Date
75e6db45f1 Redesign resources system: centralized id-based resource registry 2022-03-07 00:05:40 +03:00
2c0001be28 Make slider stick to max shift 2022-03-04 14:08:18 +03:00
343a0aed78 Fix scroller handling mouse click 2022-03-03 17:33:53 +03:00
a14f936cf0 Support packaging output path & version suffix 2022-03-03 16:01:44 +03:00
e06549f4dc Fix label stretch with lines ending in newline 2022-03-02 23:02:39 +03:00
22c270ff6f Add container_impl::size 2022-03-02 20:22:52 +03:00
123783c80a Support creating an app with fixed resolution & add a list of common resolutions 2022-03-02 13:55:42 +03:00
223ce10e0f Make ui::event_interceptor only intercept mouse events when mouseover 2022-03-01 14:18:38 +03:00
fd0048c423 Fix grid_layout remembering bounding box 2022-03-01 14:18:12 +03:00
98ab4ee39d Fix element reshape caching 2022-03-01 14:17:56 +03:00
512e9b51b7 Cache inf cached state for labels 2022-02-27 19:40:18 +03:00
5d116ad79a Change ui::key_interceptor to generic ui::event_interceptor 2022-02-27 12:15:48 +03:00
5be37d2b93 Comment out a line in convert-mesh.py, it seems to break in older blender versions 2022-02-26 20:19:28 +03:00
50b75bdd27 Make blur effect alpha-aware 2022-02-26 14:33:26 +03:00
3f758e845d Add 3d mono audio effect 2022-02-25 18:52:00 +03:00
c4ead52fd6 Rename audio::convert to audio::pack and add audio::unpack 2022-02-25 18:49:47 +03:00
47231dfd92 Mark util::not_implemented as noreturn 2022-02-25 18:49:27 +03:00
df2003cbf6 Support locking audio via audio::engine 2022-02-25 14:53:12 +03:00
0fa0cbbc09 Support audio::stream on_stop callback 2022-02-25 14:52:48 +03:00
425d41eae4 Remove hardcoded value of 128 in favor of MIX_MAX_VOLUME macro in audio::engine 2022-02-25 14:52:17 +03:00
13b47877ce Revert adding cell borders in default font 2022-02-23 14:12:32 +03:00
4403266feb Add util::cast<T>(span) 2022-02-22 23:02:43 +03:00
e557fd4eaf Rewrite convert-mesh: support both flat & non-flat shading in one model, support specifying model name 2022-02-22 22:17:58 +03:00
3485e9ff21 Add util dependency on boost 2022-02-21 22:57:38 +03:00
b4584f758d Add segment-sphere intersection 2022-02-21 13:05:35 +03:00
7a14ee82e6 Fix geom::intersect 2022-02-21 13:05:26 +03:00
d233955a10 Finish scroller implementation: add scroll bars & scroll clamping 2022-02-20 13:51:19 +03:00
343894d06b Add non-notifying versions of slider methods 2022-02-19 23:04:36 +03:00
22b3f1d67f Add enum_range rbegin & rend 2022-02-19 23:04:19 +03:00
92ed64edd1 Add all typedefs for enum_iterator 2022-02-19 23:04:09 +03:00
6207df1e9b Make enum_iterator bidirectional 2022-02-19 23:03:55 +03:00
466aa717ad Log max batch count in ui painter 2022-02-19 19:40:19 +03:00
742ae9e21e Fix propagating reshape_posted flag 2022-02-19 19:23:20 +03:00
aca553c566 Propagate reshape_posted to and from parents 2022-02-19 16:39:43 +03:00
2004f8043a Don't post ui reshape if one if already posted 2022-02-19 16:36:17 +03:00
4281093b9d Add ui::key_interceptor 2022-02-19 13:00:39 +03:00
ecf69a85e6 Add ui::null_shape 2022-02-19 13:00:31 +03:00
a3aca66705 Make scene manager store shared pointers to scene to simplify removing scenes 2022-02-19 12:36:15 +03:00
b4c19a2ca7 Make image_view respect style scale 2022-02-18 11:51:37 +03:00
5a64593219 Introduce ui::toggle_button - a button that can be turned on/off 2022-02-17 18:55:00 +03:00
eb78e2cdb7 Make image_view use texture_view instead of owning a texture 2022-02-17 18:54:14 +03:00
39cbb8b60d Fix gfx::texture_view::size 2022-02-17 18:52:31 +03:00
7a3dbf685a Log startup time 2022-02-17 16:38:11 +03:00
fb2acde48f Change initial window size to 1024x768 & log window resize events 2022-02-17 16:37:30 +03:00
9e24c875a1 Support drawing rotating images in ui::painter 2022-02-17 10:17:55 +03:00
59a0b4ef13 Fix kerned_font handling spaces 2022-02-16 11:33:14 +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
68e8ece70a Add outlines for default font glyphs for better inspection 2022-02-15 16:24:32 +03:00