Commit Graph

82 Commits

Author SHA1 Message Date
Trevor Slocum 500cae845c Use Monitor.DeviceScaleFactor to retrieve scaling information 2024-04-24 10:21:23 -07:00
Trevor Slocum 416576f940 Allow fonts to be specified directly
This will enable etk to auto-scale text to fit within a bounded area.

Relates to #5.
2024-04-23 13:05:39 -07:00
Trevor Slocum d17310185c Fix repeated rune input on Android
Resolves #6.
2024-02-20 11:20:47 -08:00
Trevor Slocum 7e5208a9f6 Add SetMask to messeji and Text widget 2024-02-10 12:43:58 -08:00
Trevor Slocum b1b41487c2 Draw shaded button when pressed 2024-01-28 20:51:46 -08:00
Trevor Slocum 7251bcc19b Add initial support for window management 2024-01-25 00:06:01 -08:00
Trevor Slocum 7b0c2c44dc Add Button.SetBorderSize 2024-01-23 23:57:25 -08:00
Trevor Slocum 266e1368de Make messeji elements private 2024-01-23 12:52:09 -08:00
Trevor Slocum fe95e8209c Add Button.SetBorderColor 2024-01-23 01:07:06 -08:00
Trevor Slocum 9e17ce6319 Add Scale and ScaleFactor 2024-01-21 21:06:31 -08:00
Trevor Slocum b8e1658b3f Add shortcut attributes ConfirmRune and BackRune 2024-01-21 16:18:49 -08:00
Trevor Slocum d2c44cc232 Update messeji and kibodo examples 2024-01-18 20:11:54 -08:00
Trevor Slocum b86e3b64a6 Fix expanding Flex children 2024-01-18 19:33:56 -08:00
Trevor Slocum 9eecc7a44b Update README 2024-01-18 00:30:53 -08:00
Trevor Slocum 853a537feb Add Frame.SetPadding 2024-01-18 00:16:28 -08:00
Trevor Slocum fef5f103ff Update Flex 2024-01-17 23:54:11 -08:00
Trevor Slocum 4b7b831ece Add screenshot to README 2024-01-16 13:31:34 -08:00
Trevor Slocum 6e0f6f1ee3 Move messeji into etk 2024-01-16 13:00:20 -08:00
Trevor Slocum 087a0faa19 Update LICENSE 2024-01-16 12:59:02 -08:00
Trevor Slocum d4e4ef831f Move kibodo into etk 2024-01-16 12:52:24 -08:00
Trevor Slocum fe71e0974a Add List.Rows 2024-01-13 17:55:01 -08:00
Trevor Slocum e39a6384ed Fix overflowing list items 2024-01-13 17:32:11 -08:00
Trevor Slocum fb51eb32ad Add Select 2024-01-11 17:09:33 -08:00
Trevor Slocum bde57bc0ac Add right mouse button to default bindings 2024-01-11 12:19:28 -08:00
Trevor Slocum 127665c198 Pass mouse out event to pressed widget 2024-01-09 20:38:58 -08:00
Trevor Slocum e094469352 Add Keyboard 2024-01-09 12:54:56 -08:00
Trevor Slocum db70da18e0 Expand docs 2023-12-25 01:04:18 -08:00
Trevor Slocum f5907a5e71 Rename Box.Empty as Clear 2023-12-25 00:19:46 -08:00
Trevor Slocum 408674fd59 Add demo link 2023-12-20 10:53:11 -08:00
Trevor Slocum a54ad08ea5 Show scroll bar when List overflows 2023-12-19 20:33:13 -08:00
Trevor Slocum 801d4c27a0 Add List 2023-12-19 12:24:44 -08:00
Trevor Slocum 84765fcd5a Rename Grid.Empty as Grid.Clear 2023-12-14 21:32:53 -08:00
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