Commit Graph

584 Commits

Author SHA1 Message Date
Sasha Koshka
69e73a7b84 Add gitignore 2023-05-03 15:40:40 -04:00
Sasha Koshka
b84e444697 Updated X backend to match 2023-05-03 15:40:40 -04:00
Sasha Koshka
b51eb79033 Entities must support all behaviors 2023-05-03 15:40:40 -04:00
8e5ad8f385 Plugins are now properly loaded woohoo 2023-05-03 15:40:40 -04:00
Sasha Koshka
b479ba8f0f Migrated test elements 2023-05-03 15:40:40 -04:00
567358bf4c Made the X backend into a plugin 2023-05-03 15:40:40 -04:00
10d5358390 Updated default theme 2023-05-03 15:40:40 -04:00
09d360826b Yaeh 2023-05-03 15:40:40 -04:00
b3a9bba255 Added nasin documentation 2023-05-03 15:40:39 -04:00
6acd8be05b Added Version type to base tomo package and stuff 2023-05-03 15:40:39 -04:00
39b8b96513 Re-implemented removed functionality in Nasin
We also have a plugin system now :3
2023-05-03 15:40:39 -04:00
363779a947 The base tomo module only retains a singleton backend 2023-05-03 15:40:39 -04:00
cd8371a3f3 Entities now give elements config and theme parameters 2023-05-03 15:40:39 -04:00
4c9743387b Moved a lot of interfaces out of the base tomo module and into an
abilities module
2023-05-03 15:40:39 -04:00
e3d194562c Moved a bunch of code from artist into artutil 2023-05-03 15:40:39 -04:00
Sasha Koshka
e5d6e03975 X backend positions modals, panels, and menus correctly in reparenting window managers 2023-04-27 18:49:35 -04:00
990e60eea4 Mouse events are no longer given to windows with a modal active 2023-04-27 00:05:29 -04:00
4e20726eff Merge branch 'main' of git.tebibyte.media:sashakoshka/tomo 2023-04-26 14:00:02 -04:00
3502da814d Add SelectionChange callback to list 2023-04-26 13:59:19 -04:00
Sasha Koshka
5407e52108 IconNone is now listed as an icon. 2023-04-25 18:00:16 -04:00
7bb7111460 Added pin icons 2023-04-25 17:19:43 -04:00
e41fd63f35 Created a FlowList with similar properties to DocumentContainer 2023-04-21 22:24:28 -04:00
58e02dced8 Fixed shapesColorLine
If the line started off-screen it would not draw. It draws now.
2023-04-21 21:49:29 -04:00
61d3c14519 Fixed mouse test 2023-04-21 21:48:38 -04:00
cd7a683af9 Fixed the slider lol 2023-04-21 21:45:20 -04:00
e1156d65c8 ComboBox has arrow key support 2023-04-21 19:57:17 -04:00
fc4b2eb36d Tweaked list theming 2023-04-21 17:49:27 -04:00
1c0dee1b95 Refined the combo box a bit 2023-04-21 17:29:56 -04:00
cc14151a14 Primitive combo box 2023-04-21 16:47:15 -04:00
6622799019 Added a few context menus 2023-04-21 00:52:34 -04:00
f88268bb0e Updated default colors 2023-04-20 19:57:55 -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
4fe778c095 Add notice to readme that the docs on pkg.go.dev might be old 2023-04-20 01:38:19 -04:00
d4b9ffb046 Improved documentation (and added missing methods) 2023-04-20 01:37:06 -04:00
580b7d2ad0 The whole orientation thing was stupid 2023-04-20 01:10:47 -04:00
ff3802ca5e Forgot about sliders lol 2023-04-20 01:04:03 -04:00
17fda82bbe Merge pull request 'I forgot to switch branches' (#16) from ecs into main
Reviewed-on: sashakoshka/tomo#16
2023-04-20 04:53:12 +00:00
0063afed8c Made readme better 2023-04-20 00:52:24 -04:00
1323a6c1ca Merge pull request 'ecs' (#15) from ecs into main
Reviewed-on: sashakoshka/tomo#15
2023-04-20 04:29:08 +00:00
698414ee65 Raycaster example works 2023-04-20 00:22:29 -04:00
dbee2ff5a9 Directory view works 2023-04-20 00:15:37 -04:00
afdecc2c8b Containers now share a bunch of code 2023-04-19 00:29:25 -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