122 Commits

Author SHA1 Message Date
b9e91c3119 implemented a frame skip request 2025-10-11 22:32:00 +02:00
b5ef86d092 actually correct input handling 2025-10-10 22:31:28 +02:00
fb3a964f7f first draft 2025-10-08 22:16:17 +02:00
2bb907d523 use std::collections::list instead of custom fifo 2025-10-05 01:24:56 +02:00
d7cab085f7 removed vtree, contracts on mtree 2025-10-04 19:58:34 +02:00
167676f478 use $feature() to enable debug features 2025-10-03 15:31:44 +02:00
32a57d5293 popups 2025-10-02 23:19:42 +02:00
1f66c23919 use @row and @column macros 2025-09-30 22:19:14 +02:00
96fda0c5e9 re-implemented scrollbars 2025-09-29 23:51:02 +02:00
f1b6321d3d optional anchor in text_box 2025-09-27 12:43:21 +02:00
c046c6af52 some comments 2025-09-20 00:27:24 +02:00
df18be7bf6 bools for VSYNC and FPS_LIMIT 2025-09-17 22:49:46 +02:00
48d1b29537 first draft for absolute positioning 2025-09-17 22:45:03 +02:00
915f395b5a corrected handling of newline in layout_string() 2025-09-16 17:06:19 +02:00
be1476d107 renderer now uses a single pipeline for ugui 2025-09-15 18:53:42 +02:00
622b648d26 corrected layout offset 2025-09-14 20:32:31 +02:00
34b92c93b4 re-implemented text box
also includes
	- small layout fix for grow elements
	- ElemEvents now includes has_focus flag
2025-09-13 19:53:50 +02:00
d35ef7ddaf re-implemented toggles 2025-09-12 22:44:33 +02:00
71a959b9a1 re-added sliders 2025-09-12 20:23:07 +02:00
e328a67d96 re-implemented checkbox 2025-09-12 12:48:29 +02:00
c3a6390404 draw text correctly 2025-09-09 19:10:04 +02:00
db63b2c6b1 layout actually works now 2025-09-08 23:43:59 +02:00
869c7871f9 minor changes 2025-09-06 12:50:36 +02:00
0f7d5a6506 working example of the new layout system 2025-09-05 13:10:16 +02:00
5e5c912092 use the specified allocator for the element caches 2025-08-29 19:24:52 +02:00
4a690fdeb5 actually useful calculator example 2025-08-20 17:33:25 +02:00
00299bec0b fix calculator demo
turns out it was an incorrect handling of  scissor test
2025-08-16 10:10:06 +02:00
be00c87c6a implement a convenient macro to start and end a div 2025-08-14 22:16:54 +02:00
8d79f13fd6 added another demo ui 2025-07-14 12:59:07 +02:00
80d17d7b33 unified button element 2025-07-13 20:08:18 +02:00
b48c413d2d changed text (glyph) placement 2025-07-10 11:05:39 +02:00
5ae9b05223 moved style to style.css 2025-07-07 11:37:56 +02:00
9afb0d2acd better default style handling 2025-07-06 23:50:36 +02:00
777e974841 use new style system 2025-07-05 16:37:08 +02:00
9fc1d90455 simple style import with a subset of css 2025-07-04 11:17:42 +02:00
a390a8908c changed Id to uint since builtin hash functions hash to uints 2025-07-01 16:48:30 +02:00
c49a689304 get_elem now also pushes into the tree and check the correct type 2025-07-01 16:03:11 +02:00
1de4fd78b8 better checkboxes 2025-07-01 15:28:08 +02:00
586e81935c improved the api to not require explicit labels everywhere 2025-06-30 18:24:50 +02:00
972c9b581d text input box 2025-06-30 13:10:00 +02:00
cd83c528ee fixed vulkan validation errors 2025-06-19 15:24:46 +02:00
5b0169cd94 better input handling 2025-06-17 18:23:36 +02:00
b411718c94 add fps counter 2025-06-15 23:47:09 +02:00
05232c1d24 do a single upload pass to reduce badwidth 2025-06-15 23:35:37 +02:00
f30db0dd47 implemented instanced rendering 2025-06-15 18:54:35 +02:00
0ef2bceeec handle scissor and vsync 2025-06-14 15:09:34 +02:00
cda2f27a49 Batch uploads to the gpu 2025-06-14 14:49:53 +02:00
10ee643a0c disable vsync 2025-06-12 20:01:33 +02:00
00f5e71666 enable cycling when mapping the transfer buffers to avoid corruption 2025-06-12 19:56:43 +02:00
458c45d2b9 using the new renderer 2025-06-12 19:49:43 +02:00