Commit Graph

152 Commits

Author SHA1 Message Date
ab4728144f Tags are now used for checking hover, focus, pressed status 2024-07-24 14:15:35 -04:00
1bc85775b8 Add equality checking for attributes 2024-07-21 22:06:10 -04:00
2b2dca77c8 Fix grammar in readme 2024-07-21 22:06:01 -04:00
d6229459c5 Fix ATextureMode 2024-07-21 10:59:35 -04:00
9914cdeb9c Add TextureMode attribute 2024-07-21 02:55:29 -04:00
ba31748b2e Add convenience constructors for attributes 2024-07-21 00:19:16 -04:00
4b56306bd2 Fix spelling of recommended 2024-07-21 00:10:16 -04:00
6859a2b0f7 Fix BoxQuerier interface 2024-07-21 00:00:00 -04:00
469b27bdfb Rename Icons to IconSize 2024-07-20 23:09:32 -04:00
70aaa79b7d Changed Rule contstructor to Ru 2024-07-20 17:12:54 -04:00
e2017f04ff Create constructor for rules 2024-07-20 17:12:31 -04:00
a8c72f7391 Remove the map of named textures from Style 2024-07-20 14:37:06 -04:00
1d4bc03a7d Remove unnecessary String methods 2024-07-20 14:32:59 -04:00
1030bede90 Clean up Box methods a bit 2024-07-20 14:21:41 -04:00
2570fada95 Redid style system with a focus on attributes 2024-07-20 14:18:49 -04:00
8894b98c8b Add BoxQuerier and BoxArranger for use in Layout 2024-07-20 01:23:46 -04:00
1c20acd993 Revise event API for boxes 2024-07-20 01:14:31 -04:00
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