Commit Graph

583 Commits

Author SHA1 Message Date
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
d633e0f5f6 Why wont the tecxt alighn ughghghgh 2023-04-04 13:44:38 -04:00
f377372354 Forgot to comment the table constructor 2023-04-03 23:10:39 -04:00
55c13ebf89 TableContainer is now scrollable 2023-04-03 23:09:02 -04:00
eca75c642b Thats better 2023-04-03 22:36:37 -04:00
e38e2a47f9 Small theme tweaks 2023-04-03 22:31:34 -04:00
b357768c36 User can now select table cells 2023-04-03 22:22:29 -04:00
ebefcb03b3 Made table stretching slightly better 2023-04-03 21:48:57 -04:00
13518d9ba6 Fixed fragmented/glitchy table drawing 2023-04-03 21:41:39 -04:00
ff51777834 Table's rebuildChildList method works properly 2023-04-03 20:06:17 -04:00
941f6f6576 Added a (half-working) table element 2023-04-03 20:01:44 -04:00
603d029c50 Fixed ProgressBar not having a minimum size 2023-04-03 16:12:53 -04:00
5c2be06601 Upgraded xgbutil 2023-04-03 16:09:13 -04:00
2d0a0cc073 Gave CoreControl the ability to shatter parent backgrounds 2023-04-02 22:46:38 -04:00
46a4858597 Fixed the Texture pattern 2023-04-02 22:37:38 -04:00
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