Commit Graph

467 Commits

Author SHA1 Message Date
6c3230c0f8 Fixed CoreControl background drawing behavior
... But found a bug with the border pattern
2023-04-02 22:16:12 -04:00
6ede0d0770 Added the BackgroundParent interface
Parents are now able to draw backgrounds for their children. This
means we can now have elements inside other elements that aren't
restricted to one background color.
2023-04-02 22:02:55 -04:00
7521808872 Added table patterns 2023-04-02 21:15:16 -04:00
bc72333ff0 Formatting fixes 2023-04-02 19:01:06 -04:00
7fee67474f Got rid of the "Invalid" state parameter
It was a bit too niche to be a state parameter
2023-04-02 18:57:29 -04:00
9f70804420 Added a whole bunch of new icons 2023-04-02 17:55:24 -04:00
e9dff8ad07 Added more colors 2023-04-02 01:56:19 -04:00
bd636eaa7f Added defaultfont.Face
This will eventually completely replace basicfont. Need to design
a custom default Tomo font and implement a way to load from a
compressed binary format that will take up a very small amount of
room embedded into an executable.
2023-04-01 14:27:54 -04:00
4e488582d0 Oh my god 2023-03-31 21:14:40 -04:00
b8bf5743b4 Artist test uses new defaultfont location 2023-03-31 21:11:10 -04:00
8c03b516e3 TextBox has double-click to select word 2023-03-31 20:28:53 -04:00
50d7d74097 Added documentaion comments for textmanip 2023-03-31 19:40:25 -04:00
03dfcf02bf Added double click delay to config 2023-03-31 14:02:56 -04:00
c7cd944ae2 Removed redundant HandleWidth parameter from config
The handle width can be specified by themes with padding values.
This also allows for far more granularity of the handle width
adjustment as it can depend on context.
2023-03-31 13:55:45 -04:00
d1b5cd863a Added more package-level comments 2023-03-31 13:50:26 -04:00
e7ec9ad6f3 Moved defaultfont to default/font 2023-03-31 13:45:52 -04:00
c1e2bf46a6 TextBox supports copy/paste with keyboard commands 2023-03-31 03:25:46 -04:00
ab78bc640d Piano example no longer crashes 2023-03-31 01:30:18 -04:00
7b300333cf I am going insane 2023-03-31 01:06:29 -04:00
53bfc8df68 Re-organized module structure 2023-03-30 23:19:04 -04:00
719b7b99ac Merge pull request 'clipboard' (#14) from clipboard into main
Reviewed-on: sashakoshka/tomo#14
2023-03-31 01:45:28 +00:00
e7ad588fb8 Apparently go mod replace can do this! 2023-03-30 21:37:57 -04:00
6406b70077 Add cut capability to textmanip 2023-03-30 21:33:49 -04:00
6456759bfc The targets list now has the proper type of ATOM 2023-03-30 20:51:11 -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
f9e5503320 Pasting implemented (nonworking) 2023-03-30 13:10:58 -04:00
8abc4defa7 Fixed INCR
Oops!
2023-03-29 23:24:42 -04:00
fc228a13d3 Fleshed out the mime type conversion method a bit 2023-03-29 12:33:57 -04:00
1ebf5e1103 Implemented INCR selection properties 2023-03-29 12:27:23 -04:00
ab61615018 X backend generates mime type from owner response 2023-03-29 03:03:13 -04:00
39dc09bc4a X backend clipboard properly negotiates data type with owner
The clipboard API has been changed to allow an application to
accept a number of different mime types, and the X backend will now
check the accepted types list against the owner's TARGETS list and
choose the best one.
2023-03-29 02:55:12 -04:00
0aede3502b This should have been several separate commits 2023-03-29 00:50:23 -04:00
6f15ff3366 We now set the target atom properly 2023-03-28 01:00:54 -04:00
01a0fc1bd3 You can fcucking PASTE now!!! 2023-03-27 20:44:39 -04:00
02a27447b9 Changed the clipboard API so that it will work with X
In X, clipboard/selection data is specific to each window, and it
may take some time before the clipboard data is fully transferred.
This actually makes sense because there can be entire images in
the clipboard and it is important the clipboard API supports large
file transfer. Because of this, the Copy and Paste methods have
been moved into Window, and Paste now returns a channel.
2023-03-25 13:32:48 -04:00
6a3f45a2e0 Set transient for on panels
This makes panels behave as expected. It feels incredibly wrong but
shotcut does it, it can't be that bad.
2023-03-24 22:49:53 -04:00
3aa8495873 Terrible discovery (panels don't work properly) 2023-03-24 17:38:21 -04:00
bdc1109bcf Modal dialogs lock the window's input until they are closed 2023-03-24 01:31:40 -04:00
a2c0ff5f4c Popups package uses the new modal system 2023-03-24 00:47:04 -04:00
d710d13f0d Added the ability to make different window types 2023-03-24 00:34:25 -04:00
fff5ad4d96 File now produces an error'd icon for an erroneous file 2023-03-23 20:57:51 -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
d3d3cddfef Merge pull request 'file-elements' (#13) from file-elements into main
Reviewed-on: sashakoshka/tomo#13
2023-03-23 20:21:36 +00: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