Commit Graph
100 Commits
Author SHA1 Message Date
iris 23c5abe5a9 crop text images that are too big 2025-11-21 18:18:28 -05:00
iris 97b284e81e store size in tex instead of bot_right 2025-11-21 14:38:16 -05:00
iris c428de8fd5 change default text align and fix scroll drawing 2025-11-21 13:31:49 -05:00
iris 5785352ac0 max size + better scrolling size fn 2025-11-21 02:44:59 -05:00
iris 172e7157be FINALLY FIXED STUPID TEST UI ISSUES (true painter.rs moment) + scrolling 2025-11-21 01:40:13 -05:00
iris e3b1ddc993 add comments 😱 2025-11-20 23:27:30 -05:00
iris 5aef8c2201 lol comments 2025-11-20 23:06:59 -05:00
iris acd67179b7 fix mask coords... might wanna change cpu output? 2025-11-20 23:01:01 -05:00
iris dff72d2c43 I love control flow 2025-11-20 22:48:08 -05:00
iris f6f9ebbe51 tuple gaming 2025-11-20 15:56:00 -05:00
iris 6251c23d37 the great orientation refactor (move to x & y UiScalars/Spans) + don't call full size in align 2025-11-20 15:44:39 -05:00
iris 96ef0c529b remove debug prints 2025-11-20 00:19:45 -05:00
iris a952b34a72 mistakes were fixed and sins were committed 2025-11-20 00:18:30 -05:00
iris db248de8f4 fix span sizing (still some layout tho) 2025-11-18 17:52:45 -05:00
iris 9febd03067 comment 2025-11-18 01:13:24 -05:00
iris 38d7ca3090 todo update 2025-11-18 01:09:58 -05:00
iris 126c442706 todo update 2025-11-18 01:08:17 -05:00
iris 6b7719539e better text rendering 2025-11-18 01:05:51 -05:00
iris bc829397c8 stuff for ime positioning 2025-11-17 22:49:22 -05:00
iris 4981bd739a unused imports 2025-11-17 22:04:32 -05:00
iris 7e257fd042 make shaping a const 2025-11-17 21:38:40 -05:00
iris c7b255be4f fix full redraw modules not cleaning up 2025-11-17 21:11:35 -05:00
iris 955e6b7588 ptr 2025-11-17 18:33:03 -05:00
iris f5f4547537 add readme 2025-11-17 17:01:04 -05:00
iris 3425eb7b80 finisth editing todo 2025-11-17 16:39:59 -05:00
iris 681efe1e2b edit todo 2025-11-17 16:39:09 -05:00
iris ef448ec870 fix awful desired size cache 2025-11-17 16:30:25 -05:00
iris f74c4dc6e2 perf 2025-11-17 16:08:29 -05:00
iris b3d0dc3871 more retained size fixes 2025-11-17 14:11:33 -05:00
iris b6ece4a5ee back to retained... 2025-11-17 13:55:49 -05:00
iris 2914d7968f IP 2025-11-15 02:22:50 -05:00
iris 8896c64445 update imports 😂 2025-11-15 02:10:12 -05:00
iris bd0805dbac rename repo to iris + z offset 2025-11-15 01:01:18 -05:00
iris ed87b7c336 arst 2025-11-14 15:42:08 -05:00
iris 448f348356 remove debug prints 2025-11-14 14:44:16 -05:00
iris 182b1d4729 add detail on what the problem is in todo 2025-11-14 14:43:36 -05:00
iris b4947db850 I give up on retained for now lmao 2025-11-14 14:39:08 -05:00
iris 218b3f14ed app work? 2025-11-14 13:49:01 -05:00
iris e2690fa611 span builder 2025-11-13 16:59:31 -05:00
iris 125fca4075 rename spacing to gap 2025-11-13 14:29:03 -05:00
iris 73afea8c35 switch to element defined span lens + better size fn 2025-11-13 14:27:31 -05:00
iris 8755c04feb sort of bandaid patch over resizing 2025-11-11 14:45:06 -05:00
iris afabdc52a2 app work 2025-11-11 14:34:56 -05:00
iris deaf730901 app work 2025-11-11 13:55:36 -05:00
iris 92db1264a6 beginning actual app 2025-11-11 01:35:59 -05:00
iris 379eec771a stuff 2025-11-10 22:14:27 -05:00
iris ebff93bec9 new const trait syntax 2025-11-10 22:10:38 -05:00
iris 1c49db1b89 initial mask impl 2025-11-10 14:45:22 -05:00
iris 5c2022396a update todo 2025-09-29 14:54:47 -04:00
iris db0d11cacb ing prefix gives off bad vibes 2025-09-29 14:01:34 -04:00
iris 337af3e18c positioning dir in core 2025-09-29 14:00:54 -04:00
iris 628840d5cd text update for more code reuse + much better caching 2025-09-29 13:45:48 -04:00
iris c98a43f94d update px dependent on resize + move painter data into struct in ui 2025-09-28 13:14:51 -04:00
iris 61df088cc7 initial text wrapping impl (resizing will break) 2025-09-28 01:32:10 -04:00
iris b2950566af add axis to flip so spans w negative sign work correctly 2025-09-27 23:47:42 -04:00
iris dc9340b26c renaming & comments 2025-09-27 22:16:42 -04:00
iris 8afe2c68e8 add scroll fn to traits 2025-09-27 21:32:27 -04:00
iris 5445008528 add offset / scrolling + clipboard support 2025-09-27 21:13:00 -04:00
iris 95f049acb4 move widgets on draw if region size is same 2025-09-27 16:11:30 -04:00
iris 5f2dffc189 unleash the sizes 2025-09-25 21:30:26 -04:00
iris 06cfeaac6b no branching allowed 2025-09-25 21:19:47 -04:00
iris 6d829dbe81 stack & padding fix sorta, preparing for scroll areas 2025-09-25 19:59:18 -04:00
iris 273a92d1f7 decide it's better to leave them separate 2025-09-25 14:32:20 -04:00
iris 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
iris fe42092556 jugando 2025-09-25 13:00:06 -04:00
iris cfd5cda0b2 clean up a bit 2025-09-25 12:43:11 -04:00
iris 21f15fb9c5 event system!!! 2025-09-25 12:37:06 -04:00
iris 4deeabe611 stop doing option transmuting bruh 2025-09-25 00:39:22 -04:00
iris 51f9908103 specify generics for transmute 2025-09-25 00:36:59 -04:00
iris 6e5cce2617 safety comment formatting 2025-09-25 00:35:20 -04:00
iris 055aaf757c HEHEHAW (fixes last commit which panics cause of unsafe UB) 2025-09-25 00:30:00 -04:00
iris b14aafca30 indices iterator for layers 2025-09-25 00:26:02 -04:00
iris 8829878f2e sanity 2025-09-25 00:07:53 -04:00
iris 57bfd2d348 make layer iter reversible 2025-09-25 00:04:01 -04:00
iris 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
iris 3463682d62 delete old run_sensors 2025-09-24 17:42:31 -04:00
iris 719bee4b31 remove context from ui (again) and create weird trait for it 2025-09-24 17:41:25 -04:00
iris 26c248dcba add module system and move sensor into core with it 2025-09-24 16:11:39 -04:00
iris 2adf7a43a1 preload text by default 2025-09-24 12:33:02 -04:00
iris 70d3027bfb move widgets out of ui 2025-09-21 17:51:10 -04:00
iris c1f0b16f20 switch to fxhash 2025-09-21 16:27:36 -04:00
iris bc9a273831 name lol 2025-09-20 19:55:29 -04:00
iris 01cec31da0 add darken and brighten color fns 2025-09-20 17:30:53 -04:00
iris 20b044865c we love post fix 2025-09-20 13:42:47 -04:00
iris 3653f24e06 store color in linear 2025-09-20 13:34:04 -04:00
iris e35e72402f add info back in 2025-09-20 13:09:18 -04:00
iris 949c9df0a0 cache text buf 2025-09-20 12:49:55 -04:00
iris 2d7484a631 prev isn't used atm 2025-09-20 02:00:08 -04:00
iris fee03fddc8 sensors are now normal 2025-09-20 01:46:55 -04:00
iris 8ecd8bb171 layers initial impl (no sensors) 2025-09-20 00:50:58 -04:00
iris 7651699743 actually use drawing 2025-09-17 12:52:08 -04:00
iris e880acca66 clear textures in remove so not needed outside 2025-09-17 12:49:41 -04:00
iris 1162ba4c10 Option<Id>.duplicate 2025-09-16 17:34:19 -04:00
iris f9097807a2 sizing actually working correctly now 2025-09-16 17:31:54 -04:00
iris b48acccb8d sense specific buttons 2025-09-15 22:22:52 -04:00
iris 21aa2b3501 remove not hovering lol 2025-09-15 21:23:06 -04:00
iris 90cbc2524a sensors now run in correct order 2025-09-15 21:13:23 -04:00
iris 2700c31c13 cursor finally working properly and removed from render_text 2025-09-15 20:30:26 -04:00
iris 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
iris e9853120ce sort of fix text editing (better but still bad) 2025-09-11 17:12:11 -04:00