Sasha Koshka
e5d6e03975
X backend positions modals, panels, and menus correctly in reparenting window managers
2023-04-27 18:49:35 -04:00
Sasha Koshka
5407e52108
IconNone is now listed as an icon.
2023-04-25 18:00:16 -04:00
Sasha Koshka
c1046b1bcb
Added more color definitions
2023-04-20 18:53:42 -04:00
Sasha Koshka
27799a9670
Improved switch styling
2023-04-20 18:50:28 -04:00
Sasha Koshka
2bd7d0fad5
Added a toggle button and lamp pattern
2023-04-20 18:40:05 -04:00
Sasha Koshka
e5619ebf07
List has even more keynav support
2023-04-20 15:54:11 -04:00
Sasha Koshka
399dda75bd
List now has keynav support
2023-04-20 15:09:51 -04:00
Sasha Koshka
53f78cb0e7
Overhauled mouse events
...
Everything gets an image.Point instead of an x y pair, and most
things now get modifiers.
2023-04-20 14:44:54 -04:00
Sasha Koshka
eaee284aaf
Lists are now single-column
2023-04-20 14:06:00 -04:00
Sasha Koshka
ac58a43220
Half-done implementation of file elements
2023-04-18 18:37:50 -04:00
Sasha Koshka
7cdc5868e5
Updated the examples
2023-04-18 16:18:30 -04:00
Sasha Koshka
d1fcc6e37f
Older window managers will now understand the title
2023-04-09 01:57:56 -04:00
Sasha Koshka
34b79ee30d
Grid stub
2023-04-05 02:12:17 -04:00
Sasha Koshka
8db8fab14a
No more stack overflow
2023-04-04 17:15:57 -04:00
Sasha Koshka
cbdebc7f9f
ScrollContainer can be controlled by page keys
2023-04-04 17:12:33 -04:00
Sasha Koshka
570853890e
DocumentContainer now supports inlining elements
2023-04-04 16:39:12 -04:00
Sasha Koshka
260e2b31b6
Table now has keynav support
2023-04-04 15:05:26 -04:00
Sasha Koshka
0d4104255c
Selection data is property sent to the requestor
2023-03-30 18:52:29 -04:00
Sasha Koshka
17422cc054
selectionClaim seeks to the start of the data before reading it
2023-03-30 18:42:40 -04:00
Sasha Koshka
a16f3c2cd7
TARGETS list is now properly assembled
2023-03-30 18:32:14 -04:00
Sasha Koshka
017543aa0f
Temporary redirect to patched xgbutil that will only work on my machine
2023-03-30 18:05:29 -04:00
Sasha Koshka
8447b06641
Created a convenience constructor for Inset
2023-03-23 18:05:30 -04:00
Sasha Koshka
6a08d0f317
Added a Component parameter to theme cases
2023-03-23 17:34:08 -04:00
Sasha Koshka
45021b6153
Rename DirectoryView to Directory
2023-03-23 15:56:56 -04:00
Sasha Koshka
6638a471c7
File is now configurable
2023-03-23 15:55:18 -04:00
Sasha Koshka
6c8ff55dc1
Text labels are now drawn
...
The typesetter will need to be reworked to properly break lines in
the middle of words for this to function properly.
2023-03-23 15:38:51 -04:00
Sasha Koshka
7ec5e1ab2a
Made the buttons in the file browser example work
2023-03-23 14:45:46 -04:00
Sasha Koshka
14802b4b82
Implemented history for DirectoryView
...
For some reason DirectoryView won't draw changes all of the time...
2023-03-23 14:37:44 -04:00
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