Commit Graph
152 Commits
Author SHA1 Message Date
sashakoshka ab4728144f Tags are now used for checking hover, focus, pressed status 2024-07-24 14:15:35 -04:00
sashakoshka 1bc85775b8 Add equality checking for attributes 2024-07-21 22:06:10 -04:00
sashakoshka 2b2dca77c8 Fix grammar in readme 2024-07-21 22:06:01 -04:00
sashakoshka d6229459c5 Fix ATextureMode v0.40.0 2024-07-21 10:59:35 -04:00
sashakoshka 9914cdeb9c Add TextureMode attribute 2024-07-21 02:55:29 -04:00
sashakoshka ba31748b2e Add convenience constructors for attributes 2024-07-21 00:19:16 -04:00
sashakoshka 4b56306bd2 Fix spelling of recommended 2024-07-21 00:10:16 -04:00
sashakoshka 6859a2b0f7 Fix BoxQuerier interface 2024-07-21 00:00:00 -04:00
sashakoshka 469b27bdfb Rename Icons to IconSize v0.39.0 2024-07-20 23:09:32 -04:00
sashakoshka 70aaa79b7d Changed Rule contstructor to Ru 2024-07-20 17:12:54 -04:00
sashakoshka e2017f04ff Create constructor for rules 2024-07-20 17:12:31 -04:00
sashakoshka a8c72f7391 Remove the map of named textures from Style 2024-07-20 14:37:06 -04:00
sashakoshka 1d4bc03a7d Remove unnecessary String methods 2024-07-20 14:32:59 -04:00
sashakoshka 1030bede90 Clean up Box methods a bit 2024-07-20 14:21:41 -04:00
sashakoshka 2570fada95 Redid style system with a focus on attributes 2024-07-20 14:18:49 -04:00
sashakoshka 8894b98c8b Add BoxQuerier and BoxArranger for use in Layout 2024-07-20 01:23:46 -04:00
sashakoshka 1c20acd993 Revise event API for boxes 2024-07-20 01:14:31 -04:00
sashakoshka 87494c014a Change Text, Bytes to FromText, FromBytes 2024-07-19 15:26:03 -04:00
sashakoshka f6556aa57f Fix mergedData.Supported 2024-07-19 15:24:44 -04:00
sashakoshka 35b52c6a3f Completely redo the data API 2024-07-19 15:24:16 -04:00
sashakoshka 109283f520 Dont't crash if tomo.Run callback calls tomo.Stop 2024-07-19 13:40:56 -04:00
sashakoshka dc50e7290d Remove Window.Widget 2024-06-11 23:41:06 -04:00
sashakoshka e102c032cb Layout recommended size takes in layout hints and boxes v0.38.0 2024-06-07 23:07:15 -04:00
sashakoshka d35b0532a1 Speaks english for 21 years and still has no idea how to spell v0.37.0 2024-06-07 19:22:13 -04:00
sashakoshka dffe766328 Rename theme.go to style.go 2024-06-07 19:19:35 -04:00
sashakoshka c1d77028b4 Add a note that reccomended sizes arent always respected 2024-06-07 19:15:33 -04:00
sashakoshka 83b2c3c665 Add system for reccomending widths/heights
Remedy #6
2024-06-07 19:13:22 -04:00
sashakoshka 89307e0dd6 Slight wording fix 2024-06-07 19:06:18 -04:00
sashakoshka 5d9c584743 Document that windows are supposed to be transparent
Remedy #16
2024-06-07 19:05:38 -04:00
sashakoshka fd7d2b7ead Add Window.SetBounds
Remedy #17
2024-06-07 18:59:43 -04:00
sashakoshka ca4d3e62c4 Remedy #10 2024-06-07 18:57:16 -04:00
sashakoshka d587e39506 Separate icon functionality out of Style and into Icons 2024-06-07 18:27:26 -04:00
sashakoshka f0c092be8a Break some scalars, vectors, and enums into a separate file 2024-06-07 18:21:15 -04:00
sashakoshka 06f45c80e2 Change Theme to Style 2024-06-07 18:19:43 -04:00
sashakoshka 71171d762c Add a "SetResizable" behavior to Window 2024-06-07 14:11:36 -04:00
sashakoshka 341eea5b5d Remove references to MainWindow v0.36.0 2024-06-07 00:56:29 -04:00
sashakoshka 453953bbcd Unify Window and MainWindow 2024-06-07 00:54:14 -04:00
sashakoshka 31ce286bc7 Window icons are set using textures 2024-06-06 20:15:00 -04:00
sashakoshka 26cf1f4a88 Roles are stored in Boxes now v0.35.0 2024-06-03 19:57:20 -04:00
sashakoshka 6ef1f7ba78 Add OnSizeChange to SurfaceBox
Remedy #15
2024-06-03 19:37:34 -04:00
sashakoshka d7093be696 Update go.sum 2024-06-03 19:33:07 -04:00
sashakoshka 64bf8f3b2d NewCanvas actually returns a Canvas 2024-06-03 19:32:47 -04:00
sashakoshka 50cbac17a9 CanvasCloser is now actually a valid type 2024-06-03 19:32:06 -04:00
sashakoshka d096d40c57 Add a way for applications to request canvases
Makes fix to #14 useful
2024-06-03 19:29:41 -04:00
sashakoshka 34358da6eb Add canvas.CanvasCloser
Remedy #14
2024-06-03 19:28:03 -04:00
sashakoshka be1b9d77e8 Instruct themes to return nil icons if the icon doesn't exist 2024-05-28 22:01:56 -04:00
sashakoshka d71ac02748 Add unchecked checkbox icon v0.34.0 2024-05-27 15:10:11 -04:00
sashakoshka 2bbf85ebd8 Add more missing icons 2024-05-27 04:02:22 -04:00
sashakoshka 320535e7f3 Remove Box.Visible, box.SetVisible
It was a bad idea. Remedy #12.
2024-05-26 17:42:11 -04:00
sashakoshka 775fb84e9b Add back some missing icons 2024-05-26 17:42:04 -04:00