Commit graph

2101 commits

Author SHA1 Message Date
5141643531 Fix freetype font build for windows 2024-08-08 00:27:39 +03:00
f177f29a60 Add psemek_add_dev_application & psemek_add_dev_tool for non-packaged executables 2024-08-08 00:27:19 +03:00
57027c837e Add freetype to linux packaging 2024-08-07 23:27:04 +03:00
7e96709dc1 Turn wgpu::buffer::usage into a enum class 2024-08-07 22:28:23 +03:00
47ec94641b Support filter in vecr renderer 2024-08-07 18:48:29 +03:00
f69657c826 Support animating ui::move 2024-08-07 18:47:57 +03:00
611dc959da Require glyph drawing from ui::renderer & implement ui::label component 2024-08-07 15:45:19 +03:00
ab50b4c323 Remove debug printing from packaging functions 2024-08-07 15:43:11 +03:00
61626b9179 Introduce fonts v2 & add freetype font implementation 2024-08-07 15:42:48 +03:00
a4d666096e Remove library-specific graphics api defines in favor of global PSEMEK_GRAPHICS_API_XXX 2024-08-02 20:39:52 +03:00
0718282dda Support booleans in glTF extras 2024-08-02 16:56:15 +03:00
c1c9e304da Add debug code to fix resolution to 1024x576 2024-08-02 16:55:47 +03:00
9843a0cf06 Fix reshaping on window resize in ui controller 2024-08-02 12:20:48 +03:00
0cc04cdbb6 Don't log showing/hiding cursor 2024-08-02 12:02:32 +03:00
d5b755bde0 Support ui component-specific cursors specified by a string id 2024-08-02 11:53:42 +03:00
61fd45d40c Fix event handing order in ui controller 2024-08-01 23:01:39 +03:00
3ac46bc8dc Make sure subscribed-to 'children' reactive values stay alive in ui::component_factory_base 2024-08-01 22:24:05 +03:00
9f063218bf Add debug markers to react::value internal nodes to track their lifetime 2024-08-01 22:23:18 +03:00
367f82a01f New UI library internals redesign: add global event_state, add delayed events queue, fix reshaping & subscribing to size_constraints 2024-07-31 15:55:23 +03:00
7151fef7a8 Redesign psemek::sdl2 cursor api 2024-07-30 23:51:49 +03:00
13862d8b47 Fix handling state in ui::impl::button_base 2024-07-30 23:51:28 +03:00
7346aff9f6 Fix ui::impl::box_layout_base handling added elements 2024-07-30 13:03:41 +03:00
9234a28344 Support animating UI components 2024-07-29 19:04:04 +03:00
ddaf2407a9 Fix math overflow crash in computing profiling statistics 2024-07-29 14:16:51 +03:00
3856fdd827 UI library wip: implement frame, extend & move 2024-07-29 13:24:14 +03:00
8cc3356eb1 Add ui::impl::renderer 2024-07-29 11:11:20 +03:00
d7b68e44a8 Fix updating size policies in ui::impl::box_layout_base 2024-07-29 11:11:10 +03:00
b32a891183 Bugfix in ui::impl::button_base 2024-07-29 11:09:33 +03:00
1ed8b28633 Bugfix in react::map_vector 2024-07-29 11:09:19 +03:00
ae815ec538 UI library wip: event handling, auto-layout, basic layouts & buttons 2024-07-28 19:28:38 +03:00
546c0f2a7b Support subscribing to react::value forever 2024-07-28 19:28:02 +03:00
018f3ae0b0 Replace ui::size_polygon with simpler 2d box 2024-07-21 14:32:57 +03:00
325dc01757 Separate show_mouse and relative_mouse_mode 2024-07-20 02:17:22 +03:00
d2ba791be1 Support subscribing to util::signal without the need to keep the subscription token 2024-07-19 21:14:38 +03:00
403e24bf4c Add null ecs handle for convenience 2024-07-19 00:35:37 +03:00
5df29246a5 Fix util::at(vector) 2024-07-17 19:43:54 +03:00
058505e9f0 Support explicitly creating & destroying profiler frames 2024-07-12 17:58:18 +03:00
54fb90214f Add missing non-template methods for hash table 2024-07-11 18:22:08 +03:00
99ca3ec2eb Bugfix in ecs query caches: store the component UUIDs in vectors instead of hash sets, because the order of components matters 2024-07-10 21:21:05 +03:00
e3750707bc Refactor geom::pointwise* and add geom::pointwise_pow 2024-07-04 22:58:18 +03:00
e55a98c2a0 Add ecs::accessor::contains(uuid) 2024-06-27 16:51:25 +03:00
b73a37deea Add vecr::closed(path) 2024-06-22 01:17:02 +03:00
bae1fb8c08 Support overall primitive alpha in vecr::renderer 2024-06-22 01:16:51 +03:00
b8ad66732a Add vecr::replace blend mode 2024-06-22 01:16:29 +03:00
17e23e41d4 Support specular highlight in vecr lighting colorizer 2024-06-22 01:16:15 +03:00
b290bfb063 Fix vecr::any unnecessarily moving objects 2024-06-22 01:15:48 +03:00
bced20ddc6 Add bt::by_index node 2024-06-19 16:39:33 +03:00
37a3d7f827 Fix ecs::dispatcher to work with ecs::without 2024-06-19 14:37:09 +03:00
bd202d08ae Add wgpu to windows packaging 2024-06-18 12:35:39 +03:00
7218730e7c Add wgpu to linux packaging 2024-06-18 12:35:22 +03:00