Commit Graph

50 Commits

Author SHA1 Message Date
39a591e732 Fix boundary detection for polygons 2024-06-24 19:11:21 -04:00
07865dc85f Polygon boundary detection now rounds properly 2024-06-24 19:04:08 -04:00
868b6fdfe9 Fix crash when CanvasBox draws with nil canvas 2024-06-24 18:43:54 -04:00
1c803ff9c1 Fix out of bounds panic with polygon filling 2024-06-24 18:42:43 -04:00
fdcf254891 Box re-applies theme on role change 2024-06-20 16:44:24 -04:00
e23e794730 CanvasBox no longer crashes on nil drawer 2024-06-19 12:13:31 -04:00
caa261665f Remove obsolete TODO 2024-06-15 23:35:44 -04:00
e21b57a915 X backend properly converts image data 2024-06-15 23:33:59 -04:00
727a801243 Attempt to fix strange issue with overflowing 2024-06-14 02:30:59 -04:00
76701d4383 Fix style application part 2 2024-06-12 02:12:24 -04:00
6619987b5a Fixed style application 2024-06-12 00:39:00 -04:00
02de78c997 Window is resizable by default (lol) 2024-06-12 00:29:07 -04:00
95b1d033a9 SetResizable has been implemented 2024-06-11 23:58:19 -04:00
1951b6e408 Partially implement new stuff for X 2024-06-11 23:45:49 -04:00
c7f09c7894 Add recommended sizes and all that jazz 2024-06-11 22:45:40 -04:00
80f60b42de I lied 2024-06-11 18:35:40 -04:00
995e6fd624 Add theme setting nonsense 2024-06-11 18:12:47 -04:00
26b69d3e21 Update Tomo API 2024-06-11 17:18:30 -04:00
52a0136e60 Fixed Window.NewChild returning the parent (oops) 2024-06-07 01:47:24 -04:00
5657f85c83 Update Window.SetIcon 2024-06-07 01:12:04 -04:00
a9ac9f6600 Change scrolling speed from 16 to 32 2024-06-07 01:07:48 -04:00
6eff6887e7 Unify window and mainWindow 2024-06-07 01:07:28 -04:00
adf0ef3a89 Update Tomo API 2024-06-07 01:07:15 -04:00
07bcd119d7 X backend uses Close method instead of Destroy to free canvas 2024-06-03 20:54:45 -04:00
c51ce65c88 System no longer requires a NewCanvas method 2024-06-03 20:44:58 -04:00
0d93d73c32 Backend returns CanvasCloser 2024-06-03 20:43:05 -04:00
006921d690 Store Role in Box 2024-06-03 20:42:54 -04:00
f2bcc217a4 Update Tomo API 2024-06-03 20:42:08 -04:00
a4e067cacb HandleKeyUp causes a... key up event. As it should. 2024-06-03 02:20:37 -04:00
5a2b4cc2f5 Boxes are able to check if they are focused 2024-06-03 02:18:30 -04:00
250c3076fb Fixed another segfault. Do not write code at 4 am. 2024-06-03 02:11:47 -04:00
3e1a3ea5b9 Fix several segfaults 2024-06-03 01:51:43 -04:00
c3050e258f Add icon 2024-06-03 00:21:55 -04:00
a4c99ab0bd Update go.mod/sum 2024-06-02 23:21:06 -04:00
526c06f24e Put things in README.md 2024-06-02 23:20:42 -04:00
284b91f0e5 Bring over X backend code 2024-06-02 23:09:20 -04:00
687b40b35a Fix strange logic in Hierarchy event managing 2024-06-02 22:48:32 -04:00
8d3a708bca Add "Empty" method to Hierarchy 2024-06-02 22:47:34 -04:00
641514c6d1 BackendLink.NewSurface can return an error 2024-06-02 22:47:17 -04:00
b1c927732f Add editorconfig 2024-06-02 14:04:47 -04:00
41ccb2dce4 Bring over X canvas package 2024-06-02 13:45:32 -04:00
3a5fde7d2e Export Hierarchy.AfterEvent 2024-06-02 13:40:45 -04:00
f59c8b1e96 Make SurfaceLink an io.Closer 2024-06-02 13:34:22 -04:00
763ee33574 Improve some doc comments 2024-06-02 13:33:59 -04:00
3f6a2588c2 Add LICENSE 2024-06-02 13:25:22 -04:00
b91d23251d Update go.mod/sum 2024-06-02 13:23:27 -04:00
0a58228773 Initial implementation of System 2024-06-02 13:23:03 -04:00
ccf51dfb0f Add util package 2024-06-02 13:22:19 -04:00
15165f993c Basic internal structure 2024-06-01 16:39:14 -04:00
a3117e4fb9 Initial commit 2024-06-01 19:36:04 +00:00