Commit Graph

41 Commits

Author SHA1 Message Date
Sasha Koshka cda2d1f0ae Default elements compile 2023-02-26 22:20:17 -05:00
Sasha Koshka f8240fb518 Created FillRectangleShatter for convenience 2023-02-16 18:19:36 -05:00
Sasha Koshka 09f782953e Use FillRectangleClip in List and Container 2023-02-14 16:53:28 -05:00
Sasha Koshka 8ac5108211 Elements are no longer images 2023-02-13 01:49:33 -05:00
Sasha Koshka c64ce8da67 Container shatters its background before drawing 2023-02-11 21:17:43 -05:00
Sasha Koshka c7bebabed5 Fixed issue where containers would not select themselves prperly 2023-02-09 14:25:55 -05:00
Sasha Koshka 16ce15621e Moar waveforms!!!! 2023-02-09 02:04:58 -05:00
Sasha Koshka 16a0e76145 Removed a bunch of redundant draw calls
Most were related to a but with the keynav api
2023-02-09 01:30:14 -05:00
Sasha Koshka a0e57921a4 Oh my jod 2023-02-08 14:36:14 -05:00
Sasha Koshka 6936353516 asuhfdjkshlk 2023-02-08 00:22:40 -05:00
Sasha Koshka 3998d842b1 Half-done migration of basic elements 2023-02-07 11:27:59 -05:00
Sasha Koshka 892c74a9da Updated everything else to match 2023-02-02 01:48:38 -05:00
Sasha Koshka b0ff1ca0af Vertical stack example works 2023-01-31 18:04:12 -05:00
Sasha Koshka 2f9504b1e4 Fixed wierd inconsistency with element core 2023-01-31 16:18:10 -05:00
Sasha Koshka ee424b9125 Basic elements conform to new API 2023-01-31 14:54:43 -05:00
Sasha Koshka 801c3ef6f5 Hocus focus 2023-01-30 17:01:47 -05:00
Sasha Koshka 174beba79f Added a case specifier to the theme API
This will allow themes to pull off some cool dirty tricks without
screwing anything up
2023-01-30 01:30:13 -05:00
Sasha Koshka 92aeb48a1f Overhauled the theme system
Also added a toggle switch :)
2023-01-29 01:49:01 -05:00
Sasha Koshka 93019b1b38 Fixed Container.HandleSelection
It now handles nested containers properly.
2023-01-26 14:00:54 -05:00
Sasha Koshka 72f604e819 Repeated keys are detected properly
The repeated bool was removed and instead key release events are
*only* sent when the key is actually let go. If an element wants to
listen to repeat presses, it can just listen to press events.
2023-01-20 17:40:28 -05:00
Sasha Koshka 78fb934afe Ok this is overstepping the bounds of this branch 2023-01-19 17:35:19 -05:00
Sasha Koshka 7b8cdd9e04 Container now implements MouseTarget again oops 2023-01-19 16:55:46 -05:00
Sasha Koshka 6f6591f0d0 Layouts now conform to the new API 2023-01-19 16:54:49 -05:00
Sasha Koshka c813463bb4 Basic elements now conform to the new API (largely untested) 2023-01-19 16:49:34 -05:00
Sasha Koshka 7398f146ba Progress? 2023-01-17 10:55:38 -05:00
Sasha Koshka 40bdffc8be Horizontal layouts work nearly perfectly 2023-01-17 01:40:49 -05:00
Sasha Koshka 9459bcd942 Horizontal layouts now take into account flexible elements 2023-01-16 23:58:20 -05:00
Sasha Koshka e94e170a04 Half-working container flexibility propagation 2023-01-16 23:34:17 -05:00
Sasha Koshka 7754679710 Selectable elements can now request the selection to be moved 2023-01-16 13:49:32 -05:00
Sasha Koshka 93ab47cdc9 Whoops 2023-01-16 12:23:37 -05:00
Sasha Koshka fb0795ec7b Keynav works flawlessly 2023-01-16 12:21:47 -05:00
Sasha Koshka 354d5f205d Container sort of conforms to the new API
Keynav is half working
2023-01-16 11:54:02 -05:00
Sasha Koshka e83dde2d21 Replaced the chiseled box with the chiseled pattern 2023-01-14 21:01:00 -05:00
Sasha Koshka 34bf3038ac Replaced tomo.Image with tomo.Canvas and tomo.Pattern
This is the first step in transitioning the API over to the new
design. The new tomo.Canvas interface gives drawing functions
direct access to data buffers and eliminates overhead associated
with calling functions for every pixel.

The entire artist package will be remade around this.
2023-01-14 01:54:57 -05:00
Sasha Koshka 588c52b30a Added a Warp method to Container for batch updates 2023-01-12 16:02:33 -05:00
Sasha Koshka 519e0b9c6b Keynav moment 2023-01-11 22:30:14 -05:00
Sasha Koshka c2a76fcaf6 Added extended selection capabilities to the API 2023-01-11 15:46:48 -05:00
Sasha Koshka 5b850ef183 Added dialog layout 2023-01-11 01:56:05 -05:00
Sasha Koshka b3e6beb8ad Added DisownAll method to Container 2023-01-10 18:07:51 -05:00
Sasha Koshka cb2136f7cb Layouts work!!!! 2023-01-10 17:34:40 -05:00
Sasha Koshka 6eed70e79e The beginnings of a layout system 2023-01-10 16:39:37 -05:00