Sasha Koshka
f74f6a43f8
DirectoryView selects and de-selects files
2023-03-23 14:11:42 -04:00
Sasha Koshka
68341517f7
DirectoryView uses File to display files
2023-03-21 18:03:31 -04:00
Sasha Koshka
dcc672e2bc
ScrollContainer does not scroll child in a forbidden direction
2023-03-21 17:37:33 -04:00
Sasha Koshka
6258c77f86
Added an align method to label
2023-03-16 15:58:26 -04:00
Sasha Koshka
b90ffeb4fd
X backend window disowns child before closing
...
This prevents elements from drawing to a closed window (causing
xgb to print an error)
2023-03-16 14:42:18 -04:00
Sasha Koshka
a4ef28cdd0
Moved containers into a separate package
2023-03-16 14:22:56 -04:00
Sasha Koshka
c1b3562d10
It compiles
2023-03-15 23:47:13 -04:00
Sasha Koshka
14ad35d85c
X backend now conforms to new API changes
2023-03-14 18:54:24 -04:00
Sasha Koshka
a34e8768ab
Redid cores to conform to the new API changes
2023-03-14 18:30:32 -04: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
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
Sasha Koshka
7e51dc5e5a
Documented artist package
2023-02-25 23:04:51 -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
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
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
Sasha Koshka
270b49f825
Removed that annoying log message on window close
2023-02-16 17:22:33 -05:00
Sasha Koshka
e3369ab3d4
AAAAART!
2023-02-16 14:57:46 -05:00
Sasha Koshka
50e9c3b1c9
The null rune at the end is fake now
2023-02-16 14:43:36 -05:00
Sasha Koshka
e2e846a0e5
AHHHHH!!!
2023-02-16 14:39:51 -05:00
Sasha Koshka
fa934fa485
Keyboard text selection is now no longer broken lmao
2023-02-16 14:09:23 -05:00
Sasha Koshka
0c22977693
TextDrawer does not separate whitespace from printables
2023-02-14 18:11:11 -05:00
Sasha Koshka
4d87972235
Hot themeing tweaks
2023-02-14 17:21:05 -05:00
Sasha Koshka
d59b7d812d
Stop some redundant rendering in the piano
2023-02-14 17:05:13 -05:00
Sasha Koshka
09f782953e
Use FillRectangleClip in List and Container
2023-02-14 16:53:28 -05:00
Sasha Koshka
fa42cf1f5f
Added a new FillRectangleClip function
2023-02-14 15:47:41 -05:00
Sasha Koshka
cfc2b5e130
Image element for showing images
2023-02-09 18:34:53 -05:00
Sasha Koshka
6e7cf285cc
Fixed issue with X backend not recognizing key repeats
2023-02-09 17:26:36 -05:00
Sasha Koshka
e3aea7fc9e
Better piano keybinds
2023-02-09 16:36:38 -05:00
Sasha Koshka
5446ffe40b
h a r m o n y
2023-02-09 16:15:02 -05:00
Sasha Koshka
06e97461fa
Note.Octave returns an Octave
2023-02-09 15:06:41 -05:00
Sasha Koshka
b38232ee24
More documentation!
2023-02-09 15:05:13 -05:00
Sasha Koshka
2cd670f4cd
Improved element documentation
2023-02-09 14:50:24 -05:00
Sasha Koshka
c7bebabed5
Fixed issue where containers would not select themselves prperly
2023-02-09 14:25:55 -05:00
Sasha Koshka
83b8040520
Theme stub
2023-02-03 00:57:18 -05:00
Sasha Koshka
4722656c7d
Config stub
2023-02-02 18:20:02 -05:00
Sasha Koshka
14d1836209
Merge branch 'main' of git.tebibyte.media:sashakoshka/tomo
2023-02-02 17:58:51 -05:00
Sasha Koshka
36b995c514
Added link to github mirror
2023-02-02 17:57:56 -05:00
Sasha Koshka
9cb0d064ff
Dialog layout is all good
2023-01-31 18:57:29 -05:00
Sasha Koshka
9b22e80f05
Got scroll container working
2023-01-31 18:39:17 -05:00
Sasha Koshka
541d0f4204
Horizontal layouts now work
2023-01-31 18:06:55 -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
6d6a0c59a1
X backend now conforms to new API
2023-01-31 16:13:20 -05:00
Sasha Koshka
d5028317ef
Fun and testing elements conform to new API
2023-01-31 14:57:02 -05:00
Sasha Koshka
ee424b9125
Basic elements conform to new API
2023-01-31 14:54:43 -05:00
Sasha Koshka
81fc82c46e
Layouts no longer resize elements (because they cant)
2023-01-31 14:48:28 -05:00
Sasha Koshka
537d69b491
Removed Resize, added DrawTo
2023-01-31 14:29:35 -05:00
Sasha Koshka
b2b2a80a06
Made the stripey sunken background optional
2023-01-26 18:37:44 -05:00
Sasha Koshka
0f9a33fc57
Refactored the X backend draw code a bit
2023-01-26 18:01:39 -05:00
Sasha Koshka
912f939f2e
The noise pattern can now be harsh
2023-01-24 18:27:36 -05:00
Sasha Koshka
c9c5f1d251
Added a pseudorandom noise pattern
2023-01-24 18:15:46 -05:00
Sasha Koshka
5edfbf8110
Added a list example
2023-01-24 16:41:12 -05:00
Sasha Koshka
68f1d052d2
Fixed list minimum bounds calculation when not collapsed
2023-01-24 16:10:25 -05:00
Sasha Koshka
28701d01ab
Fixed gradient orientation
2023-01-24 16:02:35 -05:00
Sasha Koshka
d5cb1b27fe
Created an elliptical border pattern
2023-01-24 15:35:00 -05:00
Sasha Koshka
0281b1a203
Gradients!!!!!!!!!!! Holy fucking bingle!!
2023-01-24 14:24:30 -05:00
Sasha Koshka
3949f2af9e
Created a Tiled pattern
2023-01-24 14:08:47 -05:00
Sasha Koshka
afd543ce92
Fixed clock and checkbox
2023-01-20 00:42:57 -05:00
Sasha Koshka
4367bba602
Scroll bar background drawing
2023-01-19 18:29:57 -05:00
Sasha Koshka
9c37cb8fef
Scroll container mouse pass through
2023-01-19 18:03:50 -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
8a72e8bf01
Mouse test now conforms to new API
2023-01-19 15:05:13 -05:00
Sasha Koshka
c0d013a9fb
X backend now conforms to new API
2023-01-19 15:02:56 -05:00
Sasha Koshka
662d3464e2
Element core now conforms to the new API
2023-01-19 14:44:40 -05:00
Sasha Koshka
6bea614044
Changed the API to replace hooks with event handler callbacks
2023-01-19 14:28:56 -05:00
Sasha Koshka
5e3dfeaadd
Progress bars
...
... And also the Do function works now
2023-01-17 20:16:03 -05:00
Sasha Koshka
b9be483869
Tweaked the sunken pattern
2023-01-17 18:12:04 -05:00
Sasha Koshka
0c2eb3f20d
Made the wording in README a bit better
2023-01-17 17:40:01 -05:00
Sasha Koshka
79f3b3353e
Cool tomo facts in readme
2023-01-17 17:36:11 -05:00
Sasha Koshka
c5eda422b4
Added a link to the online documentation in README
2023-01-17 17:14:21 -05:00
Sasha Koshka
9f91220842
Documented the clock
2023-01-17 17:13:01 -05:00
Sasha Koshka
bc4defac17
Spacers :D
2023-01-17 17:01:35 -05:00
Sasha Koshka
06e0396695
More silliness
2023-01-17 16:46:07 -05:00
Sasha Koshka
5d64788b68
Checkboxes!
2023-01-17 16:38:57 -05:00
Sasha Koshka
37458f4fde
Dialog layout works now
2023-01-17 15:55:16 -05:00
Sasha Koshka
b7fe28f600
Bit of refactoring of the horizontal layout
2023-01-17 15:31:59 -05:00
Sasha Koshka
99492874ca
Clock forces an aspect ratio
2023-01-17 14:47:07 -05:00
Sasha Koshka
375205a4d2
Core no longer naievely constrains canvas resize dimensions
2023-01-17 14:31:06 -05:00
Sasha Koshka
91e60900ad
X backend now understands flexible min widths
2023-01-17 14:17:26 -05:00