Commit Graph

135 Commits

Author SHA1 Message Date
87494c014a Change Text, Bytes to FromText, FromBytes 2024-07-19 15:26:03 -04:00
f6556aa57f Fix mergedData.Supported 2024-07-19 15:24:44 -04:00
35b52c6a3f Completely redo the data API 2024-07-19 15:24:16 -04:00
109283f520 Dont't crash if tomo.Run callback calls tomo.Stop 2024-07-19 13:40:56 -04:00
dc50e7290d Remove Window.Widget 2024-06-11 23:41:06 -04:00
e102c032cb Layout recommended size takes in layout hints and boxes 2024-06-07 23:07:15 -04:00
d35b0532a1 Speaks english for 21 years and still has no idea how to spell 2024-06-07 19:22:13 -04:00
dffe766328 Rename theme.go to style.go 2024-06-07 19:19:35 -04:00
c1d77028b4 Add a note that reccomended sizes arent always respected 2024-06-07 19:15:33 -04:00
83b2c3c665 Add system for reccomending widths/heights
Remedy #6
2024-06-07 19:13:22 -04:00
89307e0dd6 Slight wording fix 2024-06-07 19:06:18 -04:00
5d9c584743 Document that windows are supposed to be transparent
Remedy #16
2024-06-07 19:05:38 -04:00
fd7d2b7ead Add Window.SetBounds
Remedy #17
2024-06-07 18:59:43 -04:00
ca4d3e62c4 Remedy #10 2024-06-07 18:57:16 -04:00
d587e39506 Separate icon functionality out of Style and into Icons 2024-06-07 18:27:26 -04:00
f0c092be8a Break some scalars, vectors, and enums into a separate file 2024-06-07 18:21:15 -04:00
06f45c80e2 Change Theme to Style 2024-06-07 18:19:43 -04:00
71171d762c Add a "SetResizable" behavior to Window 2024-06-07 14:11:36 -04:00
341eea5b5d Remove references to MainWindow 2024-06-07 00:56:29 -04:00
453953bbcd Unify Window and MainWindow 2024-06-07 00:54:14 -04:00
31ce286bc7 Window icons are set using textures 2024-06-06 20:15:00 -04:00
26cf1f4a88 Roles are stored in Boxes now 2024-06-03 19:57:20 -04:00
6ef1f7ba78 Add OnSizeChange to SurfaceBox
Remedy #15
2024-06-03 19:37:34 -04:00
d7093be696 Update go.sum 2024-06-03 19:33:07 -04:00
64bf8f3b2d NewCanvas actually returns a Canvas 2024-06-03 19:32:47 -04:00
50cbac17a9 CanvasCloser is now actually a valid type 2024-06-03 19:32:06 -04:00
d096d40c57 Add a way for applications to request canvases
Makes fix to #14 useful
2024-06-03 19:29:41 -04:00
34358da6eb Add canvas.CanvasCloser
Remedy #14
2024-06-03 19:28:03 -04:00
be1b9d77e8 Instruct themes to return nil icons if the icon doesn't exist 2024-05-28 22:01:56 -04:00
d71ac02748 Add unchecked checkbox icon 2024-05-27 15:10:11 -04:00
2bbf85ebd8 Add more missing icons 2024-05-27 04:02:22 -04:00
320535e7f3 Remove Box.Visible, box.SetVisible
It was a bad idea. Remedy #12.
2024-05-26 17:42:11 -04:00
775fb84e9b Add back some missing icons 2024-05-26 17:42:04 -04:00
6bf3450799 Add link to XDG icon specification in icon.go 2024-05-25 00:57:26 -04:00
874171c9de Un-export backend Initialize() function 2024-05-25 00:52:25 -04:00
6cfb16f9fe Change theme variable from current -> theme 2024-05-25 00:51:34 -04:00
73e9b28eeb Redo standard icon set around the XDG icon naming spec
https://specifications.freedesktop.org/icon-naming-spec/icon-naming-spec-latest.html
Remedy #11
2024-05-25 00:50:15 -04:00
17039059ce Merge theme package into central package 2024-05-24 21:45:16 -04:00
a6b115b591 Replace SetTexture with SetTextureTile and SetTextureCenter
Remedy #8
2024-05-24 14:47:43 -04:00
7c8b419c65 Elaborate on the difference between Object and Box 2024-05-20 00:30:28 -04:00
ca512af1a5 Add ContentObject, remedy #7 2024-05-20 00:25:41 -04:00
b4f8d11817 Don't downplay the usefulness of ContentBox 2024-05-20 00:23:24 -04:00
9c3ae7afa5 Add API for using platform dependent graphics contexts 2024-05-20 00:18:49 -04:00
a18628c26d Changed the wording of the coment describing canvas.Drawer 2024-05-20 00:18:26 -04:00
a9fc52c55b Change clip behaviors to sub behaviors
Remedies #4
2024-05-15 01:37:21 -04:00
e745e80f09 Add more information to README.md 2024-05-14 12:43:40 -04:00
748996c789 Be more descriptive with what a path is 2024-05-14 12:34:42 -04:00
d4aac7e26c Set CapRound as the default cap style 2024-05-14 12:32:44 -04:00
3d645b8064 Tweak doc comments for canvas.Pen 2024-05-14 12:32:09 -04:00
bde1a2bc34 Remove wierd spacing from box interface definitions
Seemed like a good idea at the time
2024-05-14 12:20:44 -04:00