Commit Graph
100 Commits
Author SHA1 Message Date
sashakoshka ead7d493d7 Add history mechanism 2024-09-05 20:11:40 -04:00
sashakoshka c1cf6edd8e Add SetOverflow to Label 2024-08-29 17:06:38 -04:00
sashakoshka 2727972c30 File. Why not. 2024-08-27 13:38:35 -04:00
sashakoshka e48933385e You get an OnDotChange! Everypony gets an OnDotChange! 2024-08-25 18:55:43 -04:00
sashakoshka b9c4e3c003 Forgot to wrap the multiline input text haha 2024-08-25 02:49:08 -04:00
sashakoshka 92e4eb970d Add multi-line text inputs 2024-08-25 02:47:23 -04:00
sashakoshka c7887c5ea4 Fix tag on right TabSpacer 2024-08-25 02:37:39 -04:00
sashakoshka 30d4e208b1 Document all tags and named sub-components
Closes #9
2024-08-25 02:36:05 -04:00
sashakoshka a688e2dc24 README.md tweaks 2024-08-25 01:59:30 -04:00
sashakoshka e1cef9bb37 Improve README.md 2024-08-25 01:58:03 -04:00
sashakoshka 6089dd3ff1 TextView no longer embeds tomo.TextBox 2024-08-25 01:40:40 -04:00
sashakoshka d4e8847908 Fix doc comments on Label, TextInput 2024-08-25 01:38:42 -04:00
sashakoshka 82cf822602 Update NumberInput to use new TextInput methods 2024-08-25 01:32:44 -04:00
sashakoshka 2b354979aa TextInput no longer embeds tomo.TextBox 2024-08-25 01:31:55 -04:00
sashakoshka 1a2449d2b7 TabbedContainer no longer embeds tomo.ContainerBox 2024-08-24 22:26:00 -04:00
sashakoshka 889c691c40 TabbedContainer no longer embeds tomo.ContainerBox 2024-08-24 22:15:21 -04:00
sashakoshka 32eae0bcca Swatch no longer embeds tomo.CanvasBox 2024-08-24 22:12:43 -04:00
sashakoshka d9d758b5fc Slider no longer embeds tomo.ContainerBox 2024-08-24 22:09:31 -04:00
sashakoshka a11bab452b Ensure Separator fulfils tomo.Object 2024-08-24 22:03:35 -04:00
sashakoshka 033e9debf6 Separator no longer embeds tomo.Box 2024-08-24 21:52:37 -04:00
sashakoshka 8b79fec1bd ScrollContainer no longer embeds ContainerBox 2024-08-24 21:41:16 -04:00
sashakoshka bc175bb5ae Scrollbar no longer embeds tomo.ContainerBox 2024-08-24 21:35:43 -04:00
sashakoshka 02fed8ce48 NumberInput no longer embeds tomo.ContainerBox 2024-08-24 20:19:01 -04:00
sashakoshka b784596b4d Update doc comment for Container 2024-08-24 20:13:38 -04:00
sashakoshka 694f9127c0 MimeIcon no longer embeds tomo.Box 2024-08-24 20:10:49 -04:00
sashakoshka ae74c3dbf4 MenuItem no longer embeds tomo.ContainerBox 2024-08-24 20:10:37 -04:00
sashakoshka 6f8d5cc426 LabelSwatch, LabelCheckbox changing their labels 2024-08-24 20:03:48 -04:00
sashakoshka f0c334c278 LabelSwatch no longer embeds tomo.ContainerBox 2024-08-24 20:02:14 -04:00
sashakoshka 6ee2c5669e Ensure Label satisfies tomo.Object 2024-08-24 19:57:48 -04:00
sashakoshka 3aa4b12ffe Update other objects to use new methods of Label 2024-08-24 19:56:58 -04:00
sashakoshka c7caa5bcb6 Label no longer embeds tomo.TextBox 2024-08-24 19:52:47 -04:00
sashakoshka 0960fe013d LabelCheckbox no longer embeds tomo.ContainerBox 2024-08-24 19:50:29 -04:00
sashakoshka 697229d183 Icon no longer embeds tomo.Box 2024-08-24 19:50:20 -04:00
sashakoshka c043f9bf8d Remove Heading.SetSelectable 2024-08-24 19:49:20 -04:00
sashakoshka 14f6e175f0 Heading no longer embeds tomo.TextBox 2024-08-24 19:42:25 -04:00
sashakoshka df2e8f1b07 Dropdown no longer embeds tomo.ContainerBox 2024-08-24 19:33:16 -04:00
sashakoshka 0c4e098680 HSVAColorPicker no longer embeds tomo.ContainerBox 2024-08-24 19:28:48 -04:00
sashakoshka fc51e7ab9f Checkbox no longer embeds tomo.ContainerBox 2024-08-24 15:41:47 -04:00
sashakoshka 4e8823ef9f Calendar no longer embeds tomo.ContainerBox 2024-08-24 15:20:09 -04:00
sashakoshka 8de08a9bdc Button no longer embeds tomo.ContainerBox 2024-08-24 15:11:57 -04:00
sashakoshka 04f44cea86 Ensure Container satisfies tomo.ContentObject 2024-08-24 15:04:44 -04:00
sashakoshka c889838c9c Container no longer embeds tomo.ContainerBox
Progress on #7
2024-08-24 15:02:17 -04:00
sashakoshka 7bcb4cf823 Add SetLayout to Container 2024-08-24 14:45:31 -04:00
sashakoshka 02516bdcce Same as last commit but for TearLine 2024-08-24 14:42:08 -04:00
sashakoshka 8432cc70da MenuItem focuses on hover
Styles should remove MenuItem[hover] styling
2024-08-24 14:37:44 -04:00
sashakoshka 8469962c90 Use key/button functions for menu 2024-08-24 14:32:19 -04:00
sashakoshka 0ccdb609ef Tear off menu windows now have an icon 2024-08-24 01:00:34 -04:00
sashakoshka d1f0786043 Dialog boxes have icons now 2024-08-23 21:39:39 -04:00
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