Commit Graph

190 Commits

Author SHA1 Message Date
638fc61d83 Make value getters/setters more consistent
See #6
2024-06-27 14:01:14 -04:00
d0ee6c432c Add OnEnter to Swatch and ColorPicker 2024-06-26 11:20:53 -04:00
b9f980e7fd Fix doc comment on MenuItem 2024-06-25 02:33:36 -04:00
b7d1a0abdd Add OnEnter for Slider 2024-06-25 02:33:13 -04:00
a38cee8437 Fix RGBAToHSVA 2024-06-25 02:32:00 -04:00
48bfa05452 Color editing popups use swatch label for title 2024-06-22 18:48:54 -04:00
e8a3a376ea Introduce new layouts.Grid construct 2024-06-22 18:44:26 -04:00
ae1e62c1f2 Add swatch 2024-06-22 15:44:37 -04:00
0b7e5392f4 Add color picker 2024-06-22 15:44:24 -04:00
1efb946953 Fix issues with grid layout 2024-06-22 15:38:52 -04:00
1e8df2392d Add tabs 2024-06-22 15:38:14 -04:00
83dca60257 Fix checkboxes not initializing to desired value 2024-06-22 15:37:52 -04:00
5b60717b8f Add an HSVA color implementation 2024-06-22 15:37:20 -04:00
d01d39569b Sliders work properly when initialized to 0.0 2024-06-20 17:48:41 -04:00
55637e36db Lables come vertically aligned to the middle 2024-06-20 17:47:51 -04:00
e62afcd667 Fix calendar prev/forward month buttons 2024-06-19 00:38:54 -04:00
f778ef5c95 Add calendar widget 2024-06-18 19:37:37 -04:00
c06f10c193 Fix flow layout getting stuck in a loop 2024-06-15 18:12:08 -04:00
23fb28ce5c Some internal layouts return recommended sizes 2024-06-15 09:27:35 -04:00
3533ce3726 Row/Column uses correct axis for determining free space 2024-06-15 07:58:51 -04:00
6d157eb9af Fix Column layout not allocating space to expanding boxes 2024-06-15 07:54:49 -04:00
da346f2f12 Row, Column have recommended size support 2024-06-12 03:35:38 -04:00
71a41d390f Row, Column handle expansion properly 2024-06-12 03:32:32 -04:00
9ce7f8b8f3 Contract layouts are now based on new Row and Column layouts 2024-06-12 03:15:38 -04:00
1596d54834 Fix up objects code 2024-06-11 17:17:11 -04:00
95d3dc3288 Add placeholder methods for recommended sizes 2024-06-11 17:12:18 -04:00
1069ae6455 Removed cut layout
Not a very good implementation
2024-06-11 16:58:38 -04:00
5c8358fc4a Add blank vars to ensure layouts satisfy tomo.Layout 2024-06-11 16:46:04 -04:00
6a8aaca18d Rename layouts.go -> contract.go 2024-06-11 16:44:15 -04:00
460733c8f3 Update code for objects 2024-06-11 16:40:35 -04:00
5d2a366a62 Update Tomo API 2024-06-11 16:40:06 -04:00
2c7c77d8da Add menus 2024-06-07 01:59:29 -04:00
8139d871cc Text-less buttons place their icon in the middle 2024-06-07 01:58:29 -04:00
bb320dfcc9 Update Tomo API 2024-06-07 01:58:09 -04:00
2ab920eb26 Store role in Boxes 2024-06-03 21:13:18 -04:00
d8ae20d739 Update Tomo API 2024-06-03 21:10:20 -04:00
06561bb671 Scrollbar, ScrollContainer use ContentObject now 2024-05-27 16:28:48 -04:00
a71d81af48 Checkbox uses CheckboxUnchecked icon when unchecked 2024-05-27 15:59:24 -04:00
bd9dbb762d Update Tomo API 2024-05-27 15:22:18 -04:00
6389556199 Updated all objects to new API 2024-05-26 17:21:58 -04:00
06d99b2790 Update Tomo API 2024-05-26 17:13:40 -04:00
6ab689b5c1 Renamed input.go to textinput.go 2024-05-20 02:23:07 -04:00
6497da69ed LabelCheckbox no longer expands vertically
It should in theory valign to middle this way, but grid layout
suffers from #1
2024-05-18 14:18:02 -04:00
34794f4c77 Make the dialog API more normal
It was very nice but inconsistent with literally everything else,
and never in my life have I seen someone else make a constructor
that way.
2024-05-18 14:16:57 -04:00
25625e9a99 Add dialog boxes 2024-05-18 13:25:06 -04:00
4cea0aa0bd Flow layout no longer leaves last box behind 2024-05-17 14:43:06 -04:00
1cb9e8091e Combine Row/Column layouts into Contract layout 2024-05-17 03:56:49 -04:00
68d49e1b02 Add flow layout 2024-05-17 03:51:24 -04:00
f025ec3d8a Slider can now be controlled by scrolling
If ya nasty
2024-05-17 01:22:47 -04:00
6fad52b335 Slider broadcasts slide event when manipulated with key presses 2024-05-17 01:09:59 -04:00