Commit Graph
100 Commits
Author SHA1 Message Date
sashakoshka 73731c6201 Scrollbar has Scrollbar role 2024-08-16 18:36:49 -04:00
sashakoshka 7c42b7ad37 Scrollbar has ScrollbarHandle instead of SliderHandle 2024-08-16 18:36:20 -04:00
sashakoshka 0fe4979483 Un-export SliderHandle
Closes #8
2024-08-16 18:35:19 -04:00
sashakoshka 155752ba78 LabelSwatch uses the new button functions 2024-08-16 18:32:07 -04:00
sashakoshka f4a3cb3c00 LabelSwatch's label is not selectable, to match LabelCheckbox 2024-08-16 18:26:13 -04:00
sashakoshka 611705fa0d Change icon on dropdown 2024-08-16 18:01:08 -04:00
sashakoshka 16645eeeda Update Tomo API 2024-08-16 18:01:01 -04:00
sashakoshka 3219cb712c Remove TODO input value in swatch.go 2024-08-16 16:28:47 -04:00
sashakoshka 7d14a25482 Fixed ctrl+key combos on TextInput 2024-08-16 16:17:11 -04:00
sashakoshka e4857da22d Functions to check for common buttons/keys 2024-08-16 16:15:52 -04:00
sashakoshka 114cbb346d Keyboard controls activate on key down instead of key up 2024-08-16 15:31:48 -04:00
sashakoshka 43ec7a0311 Swatch accepts hex input 2024-08-16 15:17:44 -04:00
sashakoshka 3d28c8fea1 Add functions for parsing/formatting NRGBA values 2024-08-16 15:17:15 -04:00
sashakoshka 669c638fad Fix transparency in color pickers again 2024-08-16 13:50:22 -04:00
sashakoshka 2fe433991d Rename ColorPicker to HSVAColorPicker 2024-08-15 17:05:19 -04:00
sashakoshka acec0f6222 Fix HSV.RGBA sector overflow 2024-08-15 16:51:36 -04:00
sashakoshka 0865c28965 Update color picker code in response to HSV color changes 2024-08-15 16:42:31 -04:00
sashakoshka 2546c338ad Separate HSVA color into HSV, HSVA, fix alpha premultiplication 2024-08-15 16:41:22 -04:00
sashakoshka b3e7178176 Bring TextInput in line with all the other inputs 2024-08-15 13:17:43 -04:00
sashakoshka 080e4511f2 Add Dropdown 2024-08-14 19:06:41 -04:00
sashakoshka f1ac74dcbc Fix TabbedContainer not setting tags correctly 2024-08-14 11:45:30 -04:00
sashakoshka ce0bc5be3b Add MenuHeading 2024-08-14 11:45:10 -04:00
sashakoshka eb0bf58961 Improvements to menus
Major progress on #4
2024-08-14 11:44:47 -04:00
sashakoshka 8068036219 Fix icon sizes 2024-08-12 22:06:06 -04:00
sashakoshka 5a32b06cef Various improvements to Icon, MimeIcon 2024-08-11 22:36:10 -04:00
sashakoshka fe50f5783b Upgrade Tomo API 2024-08-11 22:35:50 -04:00
sashakoshka 73a5fab0bc Icon sets its minimum size properly 2024-08-11 12:20:23 -04:00
sashakoshka 61addc051b Button sets an icon tag 2024-08-11 12:20:12 -04:00
sashakoshka 7e275cc70e Update Tomo API 2024-08-10 21:44:33 -04:00
sashakoshka 9856cd327f Split MimeIcon out from Icon 2024-08-10 21:44:03 -04:00
sashakoshka 572e0c49af LabelCheckbox sets its label as not selectable 2024-07-29 01:50:00 -04:00
sashakoshka e0f4ecb509 Update Tomo API to v0.41.1 2024-07-27 15:04:41 -04:00
sashakoshka fc51ffe33c Fix flow layout 2024-07-27 14:41:46 -04:00
sashakoshka 987f4bfc4a Remove random semicolons 2024-07-27 02:17:41 -04:00
sashakoshka b883542f3b Add .editorconfig 2024-07-27 02:10:00 -04:00
sashakoshka c8d33a0ef4 Fix keys for Scrollbar 2024-07-27 00:54:40 -04:00
sashakoshka 9fa764c7b9 ScrollContainer can step scroll with normal up/down 2024-07-27 00:35:17 -04:00
sashakoshka 84ab0895f8 Fix TextView scrolling 2024-07-27 00:19:53 -04:00
sashakoshka b9c77fd5f7 ScrollContainer properly responds to pgup/down 2024-07-27 00:19:31 -04:00
sashakoshka 2722d19ecd Scrollbars accept both directions of scroll 2024-07-26 21:01:18 -04:00
sashakoshka 4fc44c11e8 Label and Heading are now selectable 2024-07-26 21:00:53 -04:00
sashakoshka 0cdb116ec1 TextInput no longer captures scroll with a zero X 2024-07-26 18:58:16 -04:00
sashakoshka 6ea1679112 Offload selection manipulation of TextInput to backend 2024-07-26 18:49:54 -04:00
sashakoshka b87f32eac9 TextInput scrolls in the proper direction 2024-07-26 18:11:02 -04:00
sashakoshka 793526238a Scrollbar drags on mouse motion 2024-07-26 18:10:48 -04:00
sashakoshka 884148f006 Fix ScrollContainer layout again 2024-07-26 17:56:29 -04:00
sashakoshka 3e382da688 Fix ScrollContainer layout 2024-07-26 17:54:32 -04:00
sashakoshka 18b8898644 Fix dialog alignment 2024-07-26 00:34:05 -04:00
sashakoshka 85fbe9c996 Update code for objects 2024-07-25 12:58:38 -04:00
sashakoshka 25a59d888c Update Tomo API to v0.41.0 2024-07-25 12:55:03 -04:00
sashakoshka 6ca6771fc6 Update code for layouts, objects 2024-07-21 11:48:28 -04:00
sashakoshka 9077015db6 Update Tomo API 2024-07-21 11:48:06 -04:00
sashakoshka 1125d98b3d Change OnEnter to OnConfirm
Full remediation of #6
2024-06-27 14:09:58 -04:00
sashakoshka 638fc61d83 Make value getters/setters more consistent
See #6
2024-06-27 14:01:14 -04:00
sashakoshka d0ee6c432c Add OnEnter to Swatch and ColorPicker 2024-06-26 11:20:53 -04:00
sashakoshka b9f980e7fd Fix doc comment on MenuItem 2024-06-25 02:33:36 -04:00
sashakoshka b7d1a0abdd Add OnEnter for Slider 2024-06-25 02:33:13 -04:00
sashakoshka a38cee8437 Fix RGBAToHSVA 2024-06-25 02:32:00 -04:00
sashakoshka 48bfa05452 Color editing popups use swatch label for title 2024-06-22 18:48:54 -04:00
sashakoshka e8a3a376ea Introduce new layouts.Grid construct 2024-06-22 18:44:26 -04:00
sashakoshka ae1e62c1f2 Add swatch 2024-06-22 15:44:37 -04:00
sashakoshka 0b7e5392f4 Add color picker 2024-06-22 15:44:24 -04:00
sashakoshka 1efb946953 Fix issues with grid layout 2024-06-22 15:38:52 -04:00
sashakoshka 1e8df2392d Add tabs 2024-06-22 15:38:14 -04:00
sashakoshka 83dca60257 Fix checkboxes not initializing to desired value 2024-06-22 15:37:52 -04:00
sashakoshka 5b60717b8f Add an HSVA color implementation 2024-06-22 15:37:20 -04:00
sashakoshka d01d39569b Sliders work properly when initialized to 0.0 2024-06-20 17:48:41 -04:00
sashakoshka 55637e36db Lables come vertically aligned to the middle 2024-06-20 17:47:51 -04:00
sashakoshka e62afcd667 Fix calendar prev/forward month buttons 2024-06-19 00:38:54 -04:00
sashakoshka f778ef5c95 Add calendar widget 2024-06-18 19:37:37 -04:00
sashakoshka c06f10c193 Fix flow layout getting stuck in a loop 2024-06-15 18:12:08 -04:00
sashakoshka 23fb28ce5c Some internal layouts return recommended sizes 2024-06-15 09:27:35 -04:00
sashakoshka 3533ce3726 Row/Column uses correct axis for determining free space 2024-06-15 07:58:51 -04:00
sashakoshka 6d157eb9af Fix Column layout not allocating space to expanding boxes 2024-06-15 07:54:49 -04:00
sashakoshka da346f2f12 Row, Column have recommended size support 2024-06-12 03:35:38 -04:00
sashakoshka 71a41d390f Row, Column handle expansion properly 2024-06-12 03:32:32 -04:00
sashakoshka 9ce7f8b8f3 Contract layouts are now based on new Row and Column layouts 2024-06-12 03:15:38 -04:00
sashakoshka 1596d54834 Fix up objects code 2024-06-11 17:17:11 -04:00
sashakoshka 95d3dc3288 Add placeholder methods for recommended sizes 2024-06-11 17:12:18 -04:00
sashakoshka 1069ae6455 Removed cut layout
Not a very good implementation
2024-06-11 16:58:38 -04:00
sashakoshka 5c8358fc4a Add blank vars to ensure layouts satisfy tomo.Layout 2024-06-11 16:46:04 -04:00
sashakoshka 6a8aaca18d Rename layouts.go -> contract.go 2024-06-11 16:44:15 -04:00
sashakoshka 460733c8f3 Update code for objects 2024-06-11 16:40:35 -04:00
sashakoshka 5d2a366a62 Update Tomo API 2024-06-11 16:40:06 -04:00
sashakoshka 2c7c77d8da Add menus 2024-06-07 01:59:29 -04:00
sashakoshka 8139d871cc Text-less buttons place their icon in the middle 2024-06-07 01:58:29 -04:00
sashakoshka bb320dfcc9 Update Tomo API 2024-06-07 01:58:09 -04:00
sashakoshka 2ab920eb26 Store role in Boxes 2024-06-03 21:13:18 -04:00
sashakoshka d8ae20d739 Update Tomo API 2024-06-03 21:10:20 -04:00
sashakoshka 06561bb671 Scrollbar, ScrollContainer use ContentObject now 2024-05-27 16:28:48 -04:00
sashakoshka a71d81af48 Checkbox uses CheckboxUnchecked icon when unchecked 2024-05-27 15:59:24 -04:00
sashakoshka bd9dbb762d Update Tomo API 2024-05-27 15:22:18 -04:00
sashakoshka 6389556199 Updated all objects to new API 2024-05-26 17:21:58 -04:00
sashakoshka 06d99b2790 Update Tomo API 2024-05-26 17:13:40 -04:00
sashakoshka 6ab689b5c1 Renamed input.go to textinput.go 2024-05-20 02:23:07 -04:00
sashakoshka 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
sashakoshka 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
sashakoshka 25625e9a99 Add dialog boxes 2024-05-18 13:25:06 -04:00
sashakoshka 4cea0aa0bd Flow layout no longer leaves last box behind 2024-05-17 14:43:06 -04:00
sashakoshka 1cb9e8091e Combine Row/Column layouts into Contract layout 2024-05-17 03:56:49 -04:00