Commit Graph

170 Commits

Author SHA1 Message Date
c98a43f94d update px dependent on resize + move painter data into struct in ui 2025-09-28 13:14:51 -04:00
61df088cc7 initial text wrapping impl (resizing will break) 2025-09-28 01:32:10 -04:00
b2950566af add axis to flip so spans w negative sign work correctly 2025-09-27 23:47:42 -04:00
dc9340b26c renaming & comments 2025-09-27 22:16:42 -04:00
8afe2c68e8 add scroll fn to traits 2025-09-27 21:32:27 -04:00
5445008528 add offset / scrolling + clipboard support 2025-09-27 21:13:00 -04:00
95f049acb4 move widgets on draw if region size is same 2025-09-27 16:11:30 -04:00
5f2dffc189 unleash the sizes 2025-09-25 21:30:26 -04:00
06cfeaac6b no branching allowed 2025-09-25 21:19:47 -04:00
6d829dbe81 stack & padding fix sorta, preparing for scroll areas 2025-09-25 19:59:18 -04:00
273a92d1f7 decide it's better to leave them separate 2025-09-25 14:32:20 -04:00
552d66d90f move ctx in event to be on module so run event and stuff can be used easily 2025-09-25 13:59:39 -04:00
fe42092556 jugando 2025-09-25 13:00:06 -04:00
cfd5cda0b2 clean up a bit 2025-09-25 12:43:11 -04:00
21f15fb9c5 event system!!! 2025-09-25 12:37:06 -04:00
4deeabe611 stop doing option transmuting bruh 2025-09-25 00:39:22 -04:00
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