801c3ef6f5
Hocus focus
2023-01-30 17:01:47 -05:00
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
92aeb48a1f
Overhauled the theme system
...
Also added a toggle switch :)
2023-01-29 01:49:01 -05:00
93019b1b38
Fixed Container.HandleSelection
...
It now handles nested containers properly.
2023-01-26 14:00:54 -05:00
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
7398f146ba
Progress?
2023-01-17 10:55:38 -05:00
40bdffc8be
Horizontal layouts work nearly perfectly
2023-01-17 01:40:49 -05:00
9459bcd942
Horizontal layouts now take into account flexible elements
2023-01-16 23:58:20 -05:00
e94e170a04
Half-working container flexibility propagation
2023-01-16 23:34:17 -05:00
7754679710
Selectable elements can now request the selection to be moved
2023-01-16 13:49:32 -05:00
93ab47cdc9
Whoops
2023-01-16 12:23:37 -05:00
fb0795ec7b
Keynav works flawlessly
2023-01-16 12:21:47 -05:00
354d5f205d
Container sort of conforms to the new API
...
Keynav is half working
2023-01-16 11:54:02 -05:00
e83dde2d21
Replaced the chiseled box with the chiseled pattern
2023-01-14 21:01:00 -05:00
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
519e0b9c6b
Keynav moment
2023-01-11 22:30:14 -05:00
c2a76fcaf6
Added extended selection capabilities to the API
2023-01-11 15:46:48 -05:00
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