Commit Graph

628 Commits

Author SHA1 Message Date
a2a9af3311 Updated default theme 2023-04-30 13:47:36 -04:00
800ee2570f Yaeh 2023-04-30 13:45:21 -04:00
b92bdced9c Added nasin documentation 2023-04-30 13:31:23 -04:00
85f995aa10 Added Version type to base tomo package and stuff 2023-04-30 13:05:17 -04:00
7b7005c068 Re-implemented removed functionality in Nasin
We also have a plugin system now :3
2023-04-30 12:50:23 -04:00
d5d2cc1f4d The base tomo module only retains a singleton backend 2023-04-30 01:27:04 -04:00
dfdd721303 Entities now give elements config and theme parameters 2023-04-29 14:33:56 -04:00
fe3ac7ec1e Moved a lot of interfaces out of the base tomo module and into an
abilities module
2023-04-29 14:23:21 -04:00
f5180efc8a Moved a bunch of code from artist into artutil 2023-04-29 04:11:00 -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
14080b1f88 Element methods are now more consistent and have less bool flags
Still need to update most examples...
2023-04-18 13:14:10 -04:00
a2b1ac0c73 Oh yeah yeah! 2023-04-18 03:23:51 -04:00
6276327613 Some theming tweaks 2023-04-18 03:12:36 -04:00
d44e7b51da Hehe 2023-04-18 03:08:28 -04:00
785cc2d908 Child draw bounds are properly clipped 2023-04-18 03:07:06 -04:00
0bf5c3b86c Lists are a thing now
Looks like child bounds arent clipped properly though, ugh
2023-04-18 02:59:44 -04:00