Commit Graph
100 Commits
Author SHA1 Message Date
sashakoshka ce08487eff Make a distinction between notebook tabs and pages 2024-09-12 15:13:38 -04:00
sashakoshka 6130b84a27 Change naming of Notebook methods 2024-09-12 15:10:29 -04:00
sashakoshka 8b80520f8c Rename TabbedContainer to Notebook 2024-09-12 15:08:03 -04:00
sashakoshka 38434db75c TextView tests its own compliance to tomo.Object 2024-09-12 15:06:20 -04:00
sashakoshka ffb6e9fb95 Document torn tag 2024-09-12 15:04:38 -04:00
sashakoshka 12b855ba24 Document special root container in Menu 2024-09-12 15:01:14 -04:00
sashakoshka 5b8e401e60 Fix spelling mistake in HSVAColorPicker documentation 2024-09-12 14:59:57 -04:00
sashakoshka 7144900d31 Remove TODO in segment.go
It would have conflicted with nasin.NewApplicationWindow
2024-09-12 14:55:44 -04:00
sashakoshka 51ce2a84f2 Update object code to use new containers 2024-09-12 14:54:26 -04:00
sashakoshka f1f71208f2 Fix role of Root 2024-09-12 14:54:14 -04:00
sashakoshka cdf23c9b13 Overhaul collection of containers 2024-09-12 14:07:54 -04:00
sashakoshka b8b80f8862 Update goutil 2024-09-12 03:20:09 -04:00
sashakoshka 2224d2e73e Fix history overflowing 2024-09-12 02:56:56 -04:00
sashakoshka c2245ec304 Fix object code 2024-09-12 02:34:28 -04:00
sashakoshka dca3880a87 Update Tomo API 2024-09-12 02:25:01 -04:00
sashakoshka f0573bf551 Fix preview image alignment 2024-09-10 18:54:42 -04:00
sashakoshka ba2eeeba74 Fix grammar in README 2024-09-10 18:51:55 -04:00
sashakoshka b37d5398d8 Forgot to embed the image 2024-09-10 18:51:04 -04:00
sashakoshka f761da8cdc Add preview image 2024-09-10 18:50:32 -04:00
sashakoshka 039e0da646 Combine internal packages into one internal package 2024-09-10 18:29:04 -04:00
sashakoshka 6f2a31cd60 Replace HSV color functionality with that of goutil 2024-09-10 18:24:50 -04:00
sashakoshka 177167510b Shift+Ctrl+Z now works for redo 2024-09-06 00:16:27 -04:00
sashakoshka 3077249a13 TextInput updates state better when typing 2024-09-06 00:14:10 -04:00
sashakoshka 38d950f44a Remove debug line 2024-09-06 00:13:15 -04:00
sashakoshka 8b1b2e4199 Text input history is looking good 2024-09-06 00:12:24 -04:00
sashakoshka 63ad06e214 Improvements to internal/history 2024-09-06 00:12:05 -04:00
sashakoshka ac1a952b40 Move color functionality into subpackage of internal 2024-09-05 22:46:58 -04:00
sashakoshka 45a6634e73 Add (buggy) history support to TextInput 2024-09-05 20:11:57 -04:00
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