Commit Graph

215 Commits

Author SHA1 Message Date
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
8134069e1f Add Value and SetValue to ScrollContainer 2024-05-17 01:08:39 -04:00
dca1eaefb5 Add SunkenContainer 2024-05-13 19:48:29 -04:00
87e81c00d3 Scrollbar and ScrollContainer use ScrollTo correctly 2024-05-13 19:45:18 -04:00
224ca25000 NewHeading returns a Heading as expected 2024-05-07 20:21:45 -04:00
f99f60d642 Button now removes its label if it is empty 2024-05-07 20:15:49 -04:00
b4ab60df77 Reverse order of increment/decrement buttons in NumberInput 2024-05-07 20:15:27 -04:00
a0fe7bc00f Slider has an OnSlide method instead of OnValueChange 2024-05-07 18:24:44 -04:00
1ff9982e01 Add NumberInput 2024-05-07 18:24:37 -04:00
ca2f9654b3 Add OnEdit to TextInput 2024-05-07 18:24:25 -04:00
4d790f7264 Add checkboxes 2024-05-07 13:45:06 -04:00
49f010a8d6 Button.SetIcon now takes in theme.Icon 2024-05-06 23:23:59 -04:00
39541e1b78 Upgrade Tomo version 2024-05-03 13:30:32 -04:00
c8bcb9e428 Remove NewApplicationIcon constructor for Icon 2024-05-03 12:27:38 -04:00
858129ec33 Upgrade Tomo version 2024-05-03 12:27:24 -04:00
02551987a4 Add TextView, improved Scrollbar 2023-09-15 16:11:59 -04:00
e45e391f6d Added ScrollContainer 2023-09-15 01:47:58 -04:00
71bc235c0e Completed documentation for Scrollbar 2023-09-14 21:49:45 -04:00
c9e556f47b Scrollbars can be dragged 2023-09-14 21:40:06 -04:00
15d7031e22 Scrollbar now displays scroll value 2023-09-14 21:04:59 -04:00
134f8016c1 Progress on scrollbar 2023-09-14 20:34:56 -04:00
2251d33ac7 Add documentation for Slider 2023-09-14 17:03:19 -04:00
c210c07b74 WIP scrolling 2023-09-14 14:48:08 -04:00
312ee6270c Buttons can have icons (wip) 2023-09-07 18:13:10 -04:00
59ca14cab6 Icon no longer panics on nil texture 2023-09-05 13:04:06 -04:00
67a0e09101 bruhhhh 2023-09-04 02:56:23 -04:00