Commit Graph

204 Commits

Author SHA1 Message Date
51f9908103 specify generics for transmute 2025-09-25 00:36:59 -04:00
6e5cce2617 safety comment formatting 2025-09-25 00:35:20 -04:00
055aaf757c HEHEHAW (fixes last commit which panics cause of unsafe UB) 2025-09-25 00:30:00 -04:00
b14aafca30 indices iterator for layers 2025-09-25 00:26:02 -04:00
8829878f2e sanity 2025-09-25 00:07:53 -04:00
57bfd2d348 make layer iter reversible 2025-09-25 00:04:01 -04:00
443e13f094 make run sensors sane and adjust on_edit to just use ui as ctx (so two run calls needed) 2025-09-24 22:46:55 -04:00
3463682d62 delete old run_sensors 2025-09-24 17:42:31 -04:00
719bee4b31 remove context from ui (again) and create weird trait for it 2025-09-24 17:41:25 -04:00
26c248dcba add module system and move sensor into core with it 2025-09-24 16:11:39 -04:00
2adf7a43a1 preload text by default 2025-09-24 12:33:02 -04:00
70d3027bfb move widgets out of ui 2025-09-21 17:51:10 -04:00
c1f0b16f20 switch to fxhash 2025-09-21 16:27:36 -04:00
bc9a273831 name lol 2025-09-20 19:55:29 -04:00
01cec31da0 add darken and brighten color fns 2025-09-20 17:30:53 -04:00
20b044865c we love post fix 2025-09-20 13:42:47 -04:00
3653f24e06 store color in linear 2025-09-20 13:34:04 -04:00
e35e72402f add info back in 2025-09-20 13:09:18 -04:00
949c9df0a0 cache text buf 2025-09-20 12:49:55 -04:00
2d7484a631 prev isn't used atm 2025-09-20 02:00:08 -04:00
fee03fddc8 sensors are now normal 2025-09-20 01:46:55 -04:00
8ecd8bb171 layers initial impl (no sensors) 2025-09-20 00:50:58 -04:00
7651699743 actually use drawing 2025-09-17 12:52:08 -04:00
e880acca66 clear textures in remove so not needed outside 2025-09-17 12:49:41 -04:00
1162ba4c10 Option<Id>.duplicate 2025-09-16 17:34:19 -04:00
f9097807a2 sizing actually working correctly now 2025-09-16 17:31:54 -04:00
b48acccb8d sense specific buttons 2025-09-15 22:22:52 -04:00
21aa2b3501 remove not hovering lol 2025-09-15 21:23:06 -04:00
90cbc2524a sensors now run in correct order 2025-09-15 21:13:23 -04:00
2700c31c13 cursor finally working properly and removed from render_text 2025-09-15 20:30:26 -04:00
9d659b6afd actually use the text library for text editing (fully working I think but code isn't cleanest) 2025-09-15 14:34:57 -04:00
e9853120ce sort of fix text editing (better but still bad) 2025-09-11 17:12:11 -04:00
242c3b992e IDC FINALLY OH MY GOD (I think like ctx + resize propagation + some other stuff) 2025-09-11 00:59:26 -04:00
709a2d0e17 preparation 2025-09-09 21:53:32 -04:00
15cc91d92a update todo 2025-09-07 23:45:24 -04:00
2b5965e2e9 add to todo 2025-09-07 23:44:55 -04:00
09f4de619e better & more fine grained redraw system (should allow movement) 2025-09-07 23:33:36 -04:00
d4690401eb rename widget fn macros 2025-08-29 00:11:41 -04:00
42f5a8d01b btext 2025-08-28 22:58:01 -04:00
4b1ee21e94 text new fn 2025-08-28 22:51:58 -04:00
55bee4b25e rect fn 2025-08-28 22:49:58 -04:00
3df76d926c rename a bit 2025-08-28 22:21:43 -04:00
97f2f67dee small alignment test 2025-08-28 21:57:46 -04:00
1204e3728e alignment!!! 2025-08-28 21:55:34 -04:00
46c7d8ba26 maybe fix relative len for sized span 2025-08-28 18:28:14 -04:00
a0e6623abe sized spans! 2025-08-28 18:25:59 -04:00
d7d67e4ed3 more test stuff 2025-08-28 01:52:00 -04:00
28935e33e9 clean up 2025-08-28 01:36:26 -04:00
834182ffe8 sized widgets! 2025-08-28 01:35:43 -04:00
d4d0b3b580 testing stuff 2025-08-26 01:57:32 -04:00