Commit Graph

547 Commits

Author SHA1 Message Date
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
6b13e772a9 Fixed segfault in the X backend when handling mouse motion 2023-04-17 02:16:27 -04:00
427b5e025d Scroll now has a constructor similar to Cell 2023-04-17 02:13:21 -04:00
5ca3b80e8e Made this crazy selection system 2023-04-17 02:05:53 -04:00
775390e884 Containers are no longer in their own dir because why were they 2023-04-16 17:30:13 -04:00
a7de6c7f3b Document works now 2023-04-16 16:48:32 -04:00
7d4ddaf387 Scrolling over a ScrollContainer will now scroll it 2023-04-16 14:12:55 -04:00
b9c8350677 Scroll containers yay 2023-04-16 03:37:28 -04:00
ed6de3a36f Got a bunch of examples working 2023-04-15 22:23:08 -04:00
e16195d274 The system can now focus previous, next 2023-04-15 21:49:40 -04:00
0a21f605fb Added support for horizontal layouts 2023-04-15 19:14:44 -04:00
0cd7fb9be9 Coherent commit messages are for weaklings 2023-04-15 18:51:42 -04:00
c0b205c6f0 This is what happens when you dont test anything oh my god 2023-04-15 18:49:02 -04:00
1044c8299a Literally one set of parentheses 2023-04-15 18:33:37 -04:00
bb50c7d7a7 Lol 2023-04-15 18:30:22 -04:00
9d78a599aa Migrated fun elements 2023-04-15 18:24:16 -04:00
986315d5db Vertical layout partially works 2023-04-15 18:09:49 -04:00
9e16f7b532 Migrated TextBox 2023-04-15 12:35:00 -04:00
ca86328506 Migrated some more elements 2023-04-15 01:45:11 -04:00
a43f5ce595 Window now checks for minimum size on adopt 2023-04-15 01:19:39 -04:00
437aef0c27 Redid the entity system a bit to make it more reliable
Now it supports things like parenting elements before they are
added to a window and elements no longer have to constantly check
for a nil entity
2023-04-15 01:14:36 -04:00
5cf0b162c0 Child property change events make more sense now 2023-04-15 00:02:30 -04:00
6e4310b9ad Some X backend fixes 2023-04-14 23:58:14 -04:00
68128c94d8 Migrated over some elements 2023-04-14 22:03:22 -04:00
4c6f1f80e7 Proper keyboard and mouse event propagation 2023-04-14 19:08:14 -04:00
e931717241 Basic support in X backend for new API 2023-04-14 00:25:05 -04:00
bb9c5df088 X backend entity 2023-04-13 02:22:54 -04:00
407b957687 Testing elements conform to new API 2023-04-12 23:46:29 -04:00
99c890e6cd We won't be needing cores either 2023-04-12 23:25:40 -04:00
b190f01a71 It might be time to put layouts to bed 2023-04-12 23:25:08 -04:00
fa898be046 Updated the core tomo interfaces to support the ECS architecture 2023-04-12 23:21:34 -04:00
a51372bd7b ahhhhhhahhahahahahhh 2023-04-11 17:22:12 -04:00