Commit graph

41 commits

Author SHA1 Message Date
97af45b576 add widget dynamic helper and Split::up 2024-10-18 23:51:58 +03:00
0574eb79ef fold single-use components into TransportToolbar 2024-10-01 05:26:21 +03:00
267f9f61d5 document; refactor focus; highlight scene/track titles 2024-09-30 22:30:34 +03:00
418e662aaf add CustomWidget and use it to remove more one-time components 2024-09-29 01:15:19 +03:00
2adf0028c3 wip: fixing the modal 2024-09-26 03:29:18 +03:00
29f11b5977 wip: add TuiStyle, unifying Modal 2024-09-24 18:32:42 +03:00
f7b2134310 generalize Layers 2024-09-15 19:53:20 +03:00
35b37e3e3a move containers to space 🪐 2024-09-15 19:47:15 +03:00
e3fa292a3c wip: return () from render method 2024-09-15 16:54:18 +03:00
5d00e9f284 use TuiInput in handlers 2024-09-15 16:11:26 +03:00
d9535b707f add Input and Output traits to Engine 2024-09-15 15:57:24 +03:00
c2e91fb432 use dynamic dispatch in render_in 2024-09-15 15:49:10 +03:00
ff6751d393 separate Engine from RenderTarget 2024-09-15 15:44:11 +03:00
1a0e06dc66 change Layout to output minimum size (breaks Align::Center?) 2024-09-15 01:31:26 +03:00
0737769232 cleanup Engine API and generalize Inset/Outset 2024-09-13 21:27:40 +03:00
00da7de142 Offset -> Plus; add Minus 2024-09-13 02:04:19 +03:00
45ce37baa1 generic Align; tui-specific Inset/Outset 2024-09-13 00:09:10 +03:00
4b413cfb60 wip: Outset=Center+2*Grow, Inset=Center+2*Shrink 2024-09-12 23:49:22 +03:00
0a842b607a move test crate into core 2024-09-12 22:31:51 +03:00
02db343574 use X/Y instead of W/H in layout widgets
- also core is <2000LoC now yay!
- also using more methods and fewer conditionals
2024-09-12 20:54:50 +03:00
4b19abd98a implementing Fixed constraint 2024-09-12 20:19:07 +03:00
5670fc179b refactoring arranger into components 2024-09-12 19:24:21 +03:00
0bc43ed36f document align 2024-09-12 18:13:03 +03:00
b79033ab6d remove old Collect stuff 2024-09-12 18:12:59 +03:00
11ecf669a1 test and fix behaviors of some of the layout components 2024-09-12 17:05:08 +03:00
c45c3bf7f9 engine: unify 2024-09-12 15:20:53 +03:00
2a024cd3a3 engine: remove RenderInput/Rendered assoc types 2024-09-12 15:19:41 +03:00
c51d1cf643 refactor + not sure whats up with the double padding 2024-09-10 14:39:53 +03:00
cd8a808c21 Process -> Audio; Layers2 -> Layers 2024-09-10 11:45:18 +03:00
fa8282a9d5 wip: "multiple cascading refactors"
https://loglog.games/blog/leaving-rust-gamedev/#orphan-rule-should-be-optional is on point
2024-09-09 21:25:04 +03:00
eeb323b742 wip: removing Render and Layout from core 2024-09-09 15:12:34 +03:00
b944dd5f9e wip: Content and Widget traits 2024-09-08 23:48:30 +03:00
b3f0f60400 5 compile errors left 2024-09-07 16:44:49 +03:00
4b92465073 wip: now only need to remove 139x ratatui::layout::Rect 2024-09-06 23:51:33 +03:00
4855609a7d genericize layout rendering 2024-09-06 23:32:13 +03:00
1d21071c86 refactor: collect collections 2024-09-06 23:14:27 +03:00
93ba611e33 wip: generic layout! 2024-09-06 21:52:23 +03:00
0bbf74e915 some more core refactor before fixing the mess 2024-09-06 20:11:10 +03:00
ea5bc2e3b1 wip: 21 errors! 2024-09-05 17:38:32 +03:00
df3dac183e wip: remove redundant type param 2024-09-05 00:03:54 +03:00
461c60d6b3 wip: slowly putting it back together 2024-09-04 22:39:43 +03:00