Commit Graph
100 Commits
Author SHA1 Message Date
iris 5da1e9e767 separate state from rsc 2026-01-01 22:18:08 -05:00
iris 462c0e6416 move event data out of widgetdata 2025-12-23 15:42:04 -05:00
iris 54534c4c34 bruh vsync griefs my laptop 2025-12-20 18:25:22 -05:00
iris f0fe671bd8 fix illegal instruction during handle ptr creation in release mode 2025-12-20 17:58:10 -05:00
iris 1ccf947220 convenience methods for span 2025-12-20 01:38:56 -05:00
iris c00ded78c0 switch away from handles to refs that must be upgraded once 2025-12-20 01:36:07 -05:00
iris 32ca4ec5a6 warning 2025-12-20 00:27:08 -05:00
iris fabc7d0b90 abuse macros.. 2025-12-20 00:26:08 -05:00
iris bae17235c6 better global state structure? 2025-12-19 21:54:48 -05:00
iris 30bc55c78e remove state generic from a lot of things 2025-12-17 21:37:55 -05:00
iris 7e6369029f trust + fix redraw bug 2025-12-17 01:16:28 -05:00
iris 70ac0fbcb2 typed stuff 2025-12-17 00:55:36 -05:00
iris 1363f31fcd FIX SIZE CACHE 2025-12-17 00:09:20 -05:00
iris ecbb9e56e2 small QOL 2025-12-16 20:24:21 -05:00
iris ac9571b29f small changes 2025-12-16 18:38:06 -05:00
iris 71f3beaf94 refactor painter 2025-12-16 00:48:14 -05:00
iris 2183fbd3cb make painter not stupid (size ctx is kinda tho) 2025-12-16 00:26:25 -05:00
iris 486ed0ffd7 prelude macro visibility 2025-12-15 23:15:52 -05:00
iris 8d1a810483 macro goodness 2025-12-15 23:11:32 -05:00
iris 0b8a93c5ce RE ADD CONTEXT 2025-12-15 21:50:53 -05:00
iris dc2be7f688 refactor out typemap 2025-12-15 16:25:12 -05:00
iris 9d8ca8fa72 refactor events 2025-12-12 02:02:54 -05:00
iris a2a32b4322 ctx inference holy 2025-12-12 01:50:08 -05:00
iris 37b1987aa8 remove modules and have single event manager (atomics feature parity + preparation for local state) 2025-12-12 01:46:24 -05:00
iris a708813ce7 idk work (r + h) 2025-12-11 23:05:27 -05:00
iris a70d09e162 lol 2025-12-11 16:24:07 -05:00
iris 966b6a2ac2 proper widgetid + slot vec instead of map 2025-12-11 16:23:14 -05:00
iris 2dad409300 handles (tuple) 2025-12-11 07:30:59 -05:00
iris 36668c82f4 strong & weak widgets 2025-12-11 07:16:06 -05:00
iris a85e129026 move everything out of layout 2025-12-11 05:48:29 -05:00
iris 174c447706 switch to macro 2025-12-11 05:31:34 -05:00
iris 2dc5b0f62c refactor project structure (start of redoing atomic branch without atomics) 2025-12-11 05:25:58 -05:00
iris 38266debb6 stuff 2025-12-07 00:32:38 -05:00
iris 62aa02847a redo event fn signature & add event_ctx macro 2025-12-06 20:48:10 -05:00
iris f6b1143665 nothing 2025-12-04 15:01:31 -05:00
iris 28d17c49c6 shift code 2025-12-04 14:54:40 -05:00
iris 23ae5b246e remove default window attrs (oops) 2025-12-04 14:53:08 -05:00
iris db888416b6 add minimal example 2025-12-04 14:46:34 -05:00
iris f7b100e00c add default winit framework 2025-12-04 14:31:07 -05:00
iris e5d0a7e592 fix on_id widget refcount leak (-> memory leak) 2025-12-04 02:59:05 -05:00
iris 84c460a91f app work 2025-12-03 22:51:33 -05:00
iris d6a9711ceb fix mask render bug (didn't recreate bind group) 2025-11-28 16:09:23 -05:00
iris ee0616885f single line textedit 2025-11-22 22:04:46 -05:00
iris 14a9da0553 hold shift to select text 2025-11-22 21:38:16 -05:00
iris 8e08f67627 ctrl x 2025-11-22 21:15:50 -05:00
iris 84b3bf9078 fix zalgotext highlight 2025-11-22 21:14:41 -05:00
iris bf3ade840b triple click to select line + fix highlighting 2025-11-22 20:49:38 -05:00
iris 2aa5719166 added text edit history / undo (ctrl-z) 2025-11-22 20:37:37 -05:00
iris 90c579d734 oopsie (orderlerss -> ordered rendering) 2025-11-22 20:22:26 -05:00
iris d757e805e8 rename z offset to layer offset 2025-11-22 18:45:01 -05:00
iris 9deba3d9d7 fix wrapping text selection 2025-11-22 18:29:44 -05:00
iris c24c517c60 word selection 2025-11-22 15:33:28 -05:00
iris fc89826794 ctrl a & word movement 2025-11-22 15:01:22 -05:00
iris 140be50baa fix layer mismatch with apply free in renderer 2025-11-22 03:15:21 -05:00
iris 1c6fc99f57 idek bruh 2025-11-22 00:44:38 -05:00
iris 1cec56e847 TEXT SELECTION 2025-11-21 23:56:31 -05:00
iris 246caffb34 fix warning 2025-11-21 20:25:55 -05:00
iris 31ff17c21a hint gaming 2025-11-21 20:18:39 -05:00
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