Commit Graph

133 Commits

Author SHA1 Message Date
e5d0a7e592 fix on_id widget refcount leak (-> memory leak) 2025-12-04 02:59:05 -05:00
84c460a91f app work 2025-12-03 22:51:33 -05:00
d6a9711ceb fix mask render bug (didn't recreate bind group) 2025-11-28 16:09:23 -05:00
2aa5719166 added text edit history / undo (ctrl-z) 2025-11-22 20:37:37 -05:00
90c579d734 oopsie (orderlerss -> ordered rendering) 2025-11-22 20:22:26 -05:00
d757e805e8 rename z offset to layer offset 2025-11-22 18:45:01 -05:00
c24c517c60 word selection 2025-11-22 15:33:28 -05:00
140be50baa fix layer mismatch with apply free in renderer 2025-11-22 03:15:21 -05:00
1c6fc99f57 idek bruh 2025-11-22 00:44:38 -05:00
1cec56e847 TEXT SELECTION 2025-11-21 23:56:31 -05:00
31ff17c21a hint gaming 2025-11-21 20:18:39 -05:00
23c5abe5a9 crop text images that are too big 2025-11-21 18:18:28 -05:00
97b284e81e store size in tex instead of bot_right 2025-11-21 14:38:16 -05:00
c428de8fd5 change default text align and fix scroll drawing 2025-11-21 13:31:49 -05:00
5785352ac0 max size + better scrolling size fn 2025-11-21 02:44:59 -05:00
172e7157be FINALLY FIXED STUPID TEST UI ISSUES (true painter.rs moment) + scrolling 2025-11-21 01:40:13 -05:00
e3b1ddc993 add comments 😱 2025-11-20 23:27:30 -05:00
dff72d2c43 I love control flow 2025-11-20 22:48:08 -05:00
f6f9ebbe51 tuple gaming 2025-11-20 15:56:00 -05:00
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
a952b34a72 mistakes were fixed and sins were committed 2025-11-20 00:18:30 -05:00
db248de8f4 fix span sizing (still some layout tho) 2025-11-18 17:52:45 -05:00
9febd03067 comment 2025-11-18 01:13:24 -05:00
6b7719539e better text rendering 2025-11-18 01:05:51 -05:00
bc829397c8 stuff for ime positioning 2025-11-17 22:49:22 -05:00
c7b255be4f fix full redraw modules not cleaning up 2025-11-17 21:11:35 -05:00
ef448ec870 fix awful desired size cache 2025-11-17 16:30:25 -05:00
b3d0dc3871 more retained size fixes 2025-11-17 14:11:33 -05:00
b6ece4a5ee back to retained... 2025-11-17 13:55:49 -05:00
ed87b7c336 arst 2025-11-14 15:42:08 -05:00
448f348356 remove debug prints 2025-11-14 14:44:16 -05:00
b4947db850 I give up on retained for now lmao 2025-11-14 14:39:08 -05:00
218b3f14ed app work? 2025-11-14 13:49:01 -05:00
73afea8c35 switch to element defined span lens + better size fn 2025-11-13 14:27:31 -05:00
8755c04feb sort of bandaid patch over resizing 2025-11-11 14:45:06 -05:00
afabdc52a2 app work 2025-11-11 14:34:56 -05:00
deaf730901 app work 2025-11-11 13:55:36 -05:00
92db1264a6 beginning actual app 2025-11-11 01:35:59 -05:00
379eec771a stuff 2025-11-10 22:14:27 -05:00
ebff93bec9 new const trait syntax 2025-11-10 22:10:38 -05:00
1c49db1b89 initial mask impl 2025-11-10 14:45:22 -05:00
628840d5cd text update for more code reuse + much better caching 2025-09-29 13:45:48 -04:00
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
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
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