Commit Graph

323 Commits

Author SHA1 Message Date
4f6f4e1f1a Me when I make the exact mistake twice 2023-03-04 02:04:47 -05:00
dc5ddfc0bd Propagator no longer segfaults when handling keynav 2023-03-04 01:48:16 -05:00
5fc5af92df Layouts now take in proper margin and padding values 2023-03-04 01:42:14 -05:00
90ce0d7281 Fixed Propagator.forChildren 2023-03-04 01:29:45 -05:00
be286fa86c The container actually creates a propagator now lmao 2023-03-04 01:27:16 -05:00
252433f13d Cleaned up Container somewhat 2023-03-04 01:26:23 -05:00
165d0835bf Worked Propagator into basic.Container 2023-03-04 01:20:23 -05:00
56e11ae1de Cleaned up the (ChildIterator -> Parent) interface 2023-03-04 01:05:37 -05:00
1d9fb6024d Fully implemented Propagator 2023-03-04 00:57:17 -05:00
c13cdd570d Implemented all focus methods except for HandleFocus
I am dreading this
2023-03-04 00:38:37 -05:00
5af8d7fd97 Implemented keyboard, mouse, theme, and config event propagation 2023-03-04 00:18:27 -05:00
b6eb158964 Tidied up documentation on Propagator 2023-03-03 23:48:10 -05:00
Sasha Koshka
6bb5b2d79c Created the stub for Propagator
Unlike the previous poorly-defined ContainerCore idea, this struct
has one sole responsibility and that is propagating events to
children. There may be another struct called like ChildManager or
something in the future that also abstracts away logic for
adoption, canvas cutting, disowning, layout, etc.
2023-03-03 20:31:30 -05:00
Sasha Koshka
538123dcd5 No that was a bad idea time to do something else 2023-03-03 20:16:36 -05:00
Sasha Koshka
38baa97e76 ContainerCore and ContainerCoreControl WIP 2023-03-02 18:59:08 -05:00
Sasha Koshka
e9e6e4fbe7 Added padding/margin distinction to layouts 2023-03-02 17:58:42 -05:00
Sasha Koshka
285cb4810f Remove margin from layout interface
Layouts will need to store margin and padding values within
themseleves.
2023-03-02 16:48:37 -05:00
2cac2b3bd0 Merge pull request 'data-oriented-patterns' (#9) from data-oriented-patterns into main
Reviewed-on: sashakoshka/tomo#9
2023-03-01 18:07:08 +00:00
Sasha Koshka
1f2e8aa677 Some final theme tweaks 2023-03-01 13:06:34 -05:00
Sasha Koshka
ef59f46559 Made the progress bar look nicer 2023-02-28 19:00:34 -05:00
Sasha Koshka
829f1525b8 Not even gonna bother writing a good name 2023-02-28 17:15:20 -05:00
Sasha Koshka
b1d15fb4ec this piano is DOPE and PHAT and WAY COOL 2023-02-28 00:17:05 -05:00
Sasha Koshka
ee45b2fa60 Theming tweaks and rendering fixes 2023-02-27 17:00:28 -05:00
Sasha Koshka
8dd506a007 Textures now render properly 2023-02-27 16:38:33 -05:00
Sasha Koshka
de10cde630 Add image textures to theme 2023-02-27 12:48:44 -05:00
449922851f Fix list not drawing background 2023-02-26 22:56:20 -05:00
26787d8670 Fixed TextBox 2023-02-26 22:48:14 -05:00
cda2d1f0ae Default elements compile 2023-02-26 22:20:17 -05:00
241c297626 whee back in busineess 2023-02-26 14:27:38 -05:00
2859dc3313 Cleaned out the old theme code and moved padding and margins to theme 2023-02-26 00:44:44 -05:00
Sasha Koshka
7e51dc5e5a Documented artist package 2023-02-25 23:04:51 -05:00
81090267a6 Created new patterns 2023-02-25 18:41:16 -05:00
bf2fdb5eaa Ellipse and rectangle have both color and source routines 2023-02-24 16:31:42 -05:00
211219eb01 Ellipse and line share code 2023-02-24 02:51:24 -05:00
79ab1c8ac0 Existing shape routines have been reimplemented 2023-02-24 02:26:34 -05:00
Sasha Koshka
d167559830 Got rectangles all sorted 2023-02-23 20:55:19 -05:00
Sasha Koshka
48237f5687 Add AllocateSample 2023-02-23 17:44:53 -05:00
Sasha Koshka
0ba3c982c4 Added some utility functions to pattern 2023-02-23 15:00:44 -05:00
Sasha Koshka
c7e44633b1 Updated Pattern interface 2023-02-23 14:44:54 -05:00
b575413a0a For later 2023-02-23 12:12:25 -05:00
Sasha Koshka
29e4a7572b Added health and stamina 2023-02-21 18:53:19 -05:00
Sasha Koshka
ddb960571f Fixed texture warping when too close to walls 2023-02-21 18:15:41 -05:00
Sasha Koshka
ce1d938f7a Fixed the wierd wall overlap 2023-02-21 17:57:52 -05:00
Sasha Koshka
20fa445cdd backrooms!!!!! 2023-02-21 16:48:56 -05:00
e966771f5b The raycaster is faster but more bg=uggyh agghgfghgfhgfgh 2023-02-21 13:30:32 -05:00
e9e1ccc35e Added basic raycaster demo. I have no idea why I did this. 2023-02-20 01:52:50 -05:00
0c39c2dd57 Button takes advantage of the rendering hints 2023-02-16 22:41:07 -05:00
Sasha Koshka
f8240fb518 Created FillRectangleShatter for convenience 2023-02-16 18:19:36 -05:00
Sasha Koshka
fc0a9292d9 Added rendering optimization hints to themes 2023-02-16 18:00:15 -05:00
Sasha Koshka
b9cbf83a18 Added the collapse behavior as an interface 2023-02-16 17:35:53 -05:00