Commit Graph
100 Commits
Author SHA1 Message Date
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
iris 242c3b992e IDC FINALLY OH MY GOD (I think like ctx + resize propagation + some other stuff) 2025-09-11 00:59:26 -04:00
iris 709a2d0e17 preparation 2025-09-09 21:53:32 -04:00
iris 15cc91d92a update todo 2025-09-07 23:45:24 -04:00
iris 2b5965e2e9 add to todo 2025-09-07 23:44:55 -04:00
iris 09f4de619e better & more fine grained redraw system (should allow movement) 2025-09-07 23:33:36 -04:00
iris d4690401eb rename widget fn macros 2025-08-29 00:11:41 -04:00
iris 42f5a8d01b btext 2025-08-28 22:58:01 -04:00
iris 4b1ee21e94 text new fn 2025-08-28 22:51:58 -04:00
iris 55bee4b25e rect fn 2025-08-28 22:49:58 -04:00
iris 3df76d926c rename a bit 2025-08-28 22:21:43 -04:00
iris 97f2f67dee small alignment test 2025-08-28 21:57:46 -04:00
iris 1204e3728e alignment!!! 2025-08-28 21:55:34 -04:00
iris 46c7d8ba26 maybe fix relative len for sized span 2025-08-28 18:28:14 -04:00
iris a0e6623abe sized spans! 2025-08-28 18:25:59 -04:00
iris d7d67e4ed3 more test stuff 2025-08-28 01:52:00 -04:00
iris 28935e33e9 clean up 2025-08-28 01:36:26 -04:00
iris 834182ffe8 sized widgets! 2025-08-28 01:35:43 -04:00
iris d4d0b3b580 testing stuff 2025-08-26 01:57:32 -04:00
iris d0bed07ee0 more testing stuff 2025-08-25 23:13:29 -04:00
iris e85b503127 testing stuff 2025-08-25 23:11:46 -04:00
iris 94a3ba5837 make name longer 😔 2025-08-25 22:51:33 -04:00
iris 9780724126 senses are now bitflags 2025-08-25 22:36:38 -04:00
iris e9037cdc14 contextless gaming 2025-08-25 19:21:39 -04:00
iris e8b255c8f9 remove context generic 2025-08-25 18:53:21 -04:00
iris d4b1a56467 comments 2025-08-25 16:30:06 -04:00
iris 325e13c01f auto generate label (TODO: should be moved into widgets now that all have one) 2025-08-25 16:23:34 -04:00
iris 7b21b0714d static ids 2025-08-25 16:12:49 -04:00
iris 41103f2732 comments 2025-08-25 14:21:25 -04:00
iris 9e751d4161 clean up 2025-08-24 22:44:21 -04:00
iris 880d7eca50 clean up after text fix 2025-08-24 22:40:33 -04:00
iris 5cb84047b9 text fix? 2025-08-24 22:40:12 -04:00
iris 8f02a358a4 fix view count 2025-08-24 22:31:51 -04:00
iris 44a8b1cbeb fix view leak and add view count 2025-08-24 22:13:02 -04:00
iris 74d01d14d4 fix reactivity 😭 + visual widget counter 2025-08-24 22:02:50 -04:00
iris 6bb6db32a6 REACTIVITY 2025-08-24 20:34:19 -04:00
iris 50ccf7393d snap text on shader 2025-08-23 22:16:00 -04:00
iris 5ce6fca275 initial text impl 2025-08-23 21:15:39 -04:00
iris abcbc267b5 I forgot why I did it the other way lol (revert) 2025-08-23 15:39:43 -04:00
iris 2ffb09bef0 made painter actually how I wanted it (draw now takes in an owned painter) 2025-08-23 15:20:25 -04:00
iris 6fbdf9fbc8 texture freeing + render updates done a bit nicer 2025-08-23 13:02:00 -04:00
iris 5fe63e311c update todo 2025-08-22 23:10:32 -04:00
iris 7dbdcbba42 added underdeveloped but working image support (no freeing or samplers) 2025-08-22 23:07:31 -04:00
iris bde929b05a typed primitive buffers + macro for creation 2025-08-21 19:37:50 -04:00
iris b7f83b58a9 sensor ctx 2025-08-20 13:09:03 -04:00