Commit Graph

50 Commits (main)

Author SHA1 Message Date
Trevor Slocum cba07aae64 Add Empty method to widgets 2023-11-20 10:49:29 -08:00
Trevor Slocum ffdef73ac8 Add SetDebug 2023-11-10 22:17:33 -08:00
Trevor Slocum 702b49df24 Allow specifying children when creating a Frame 2023-11-08 20:58:30 -08:00
Trevor Slocum b88bcd56b4 Update README 2023-11-08 20:55:40 -08:00
Trevor Slocum e826b3e7fc Fix handling touch input press 2023-11-08 14:11:36 -08:00
Trevor Slocum c8545de5b3 Allow specifying font face mutex 2023-11-07 17:37:51 -08:00
Trevor Slocum 354a405635 Add Checkbox 2023-11-02 21:51:49 -07:00
Trevor Slocum c2c9a228d0 Fix updating nil widget 2023-11-02 12:59:06 -07:00
Trevor Slocum 148902fb8d Retry calculating bounds on panic 2023-11-02 12:12:53 -07:00
Trevor Slocum 81773c597b Fallback to text.BoundString 2023-11-01 23:52:46 -07:00
Trevor Slocum fae2e25f5c Add At 2023-11-01 20:54:43 -07:00
Trevor Slocum a3f9e63870 Add BoundString 2023-11-01 10:40:54 -07:00
Trevor Slocum 36965d0b79 Document everything 2023-10-28 23:07:40 -07:00
Trevor Slocum 6e8eb92a2c Add Focus to Widget interface 2023-10-28 22:23:18 -07:00
Trevor Slocum 4833fa2b27 Add Frame documentation 2023-10-28 13:08:07 -07:00
Trevor Slocum e54b05cdd0 Fix dragging Text widget scroll bar 2023-10-28 12:24:30 -07:00
Trevor Slocum 8912fc06fd Allow specifying color of scroll bar area and handle 2023-10-28 00:30:09 -07:00
Trevor Slocum 07b308bcc0 Fix input focus ordering 2023-10-27 23:29:39 -07:00
Trevor Slocum 69118f50b2 Improve input handling 2023-10-27 22:04:50 -07:00
Trevor Slocum 80d56f9c28 Pass mouse input to Text and Input widgets 2023-10-27 16:54:13 -07:00
Trevor Slocum 96b3a2a50f Do not reposition Grid until an initial position is set 2023-10-27 14:20:08 -07:00
Trevor Slocum bd4594c4b5 Fix Text widget field access 2023-10-27 13:36:27 -07:00
Trevor Slocum 547c511ef8 Repeat backspace key 2023-10-26 21:17:21 -07:00
Trevor Slocum af162c64b6 Allow specifying widget background color 2023-10-25 20:51:19 -07:00
Trevor Slocum 7515991afc Add visibility methods to widgets 2023-10-24 19:35:38 -07:00
Trevor Slocum dd561eaee1 Disable button label scroll bars 2023-10-24 19:24:48 -07:00
Trevor Slocum ca3f5847a7 Add Frame 2023-10-24 19:08:45 -07:00
Trevor Slocum dcce2a4893 Fix Grid cell positioning 2023-10-24 14:46:53 -07:00
Trevor Slocum edb7428ef0 Allow nil root widget 2023-10-24 14:26:59 -07:00
Trevor Slocum f6020e7cc8 Add Box.HandleMouse and Box.HandleKeyboard 2023-10-24 12:53:40 -07:00
Trevor Slocum d4cd392d14 Add Box.Draw 2023-10-24 12:50:41 -07:00
Trevor Slocum e4801829a9 Add Window.SetRepositionChildren 2023-10-24 12:42:33 -07:00
Trevor Slocum 5f58e0f62a Update README 2023-10-23 23:42:33 -07:00
Trevor Slocum 12d99f9f6d Allow widgets to specify whether they accept focus 2023-10-23 00:30:39 -07:00
Trevor Slocum f36fbb8087 Allow sending raw keyboard events to widgets 2023-10-22 12:36:35 -07:00
Trevor Slocum 2e69eb4fe1 Add function for retrieving currently focused widget 2023-10-22 12:06:07 -07:00
Trevor Slocum 4a2562931a Focus widget when clicked 2023-10-22 09:24:26 -07:00
Trevor Slocum 5c6a4b8708 Migrate package to code.rocket9labs.com 2023-10-21 16:12:04 -07:00
Trevor Slocum ffe09d38cc Only handle keyboard input for focused widget 2023-10-21 15:56:45 -07:00
Trevor Slocum 5a3db3e94e Add method for controlling focus 2023-10-21 15:30:09 -07:00
Trevor Slocum 416660e4c9 Handle touch input 2023-10-21 15:00:57 -07:00
Trevor Slocum 6c8d555b7d Resize and reposition widget when setting new root widget 2023-09-29 22:26:29 -07:00
Trevor Slocum f7c6506aa4 Add Grid column and row padding 2023-09-28 23:19:28 -07:00
Trevor Slocum 2cf182ad16 Do not align text widgets by default 2023-09-28 22:43:29 -07:00
Trevor Slocum a3c56d7430 Add Grid widget 2023-09-28 21:30:08 -07:00
Trevor Slocum 585e23b06f Make Text.Field and Input.Field public 2023-06-07 21:31:13 -07:00
Trevor Slocum f12353f314 Add Text.Text and Input.Text 2023-06-07 21:07:08 -07:00
Trevor Slocum 368514415e Add methods Text.Clear and Input.Clear 2023-01-03 11:37:01 -08:00
Trevor Slocum 8d5f5af3c5 Add widgets 2022-07-07 14:53:14 -07:00
Trevor Slocum 1b8a1f536a Initial commit 2022-06-09 16:00:13 -07:00