Commit Graph

329 Commits

Author SHA1 Message Date
Sasha Koshka 206f068a1f Fixed bug with the chiseled pattern 2023-01-20 18:08:20 -05:00
Sasha Koshka cfbb031500 Created an artist test thingy 2023-01-20 18:05:48 -05:00
Sasha Koshka 72f604e819 Repeated keys are detected properly
The repeated bool was removed and instead key release events are
*only* sent when the key is actually let go. If an element wants to
listen to repeat presses, it can just listen to press events.
2023-01-20 17:40:28 -05:00
Sasha Koshka 2f53c942ac The scroll wheel scrolls the scroll box 2023-01-20 16:44:07 -05:00
Sasha Koshka b85285f326 Scroll bars recalculate and draw properly 2023-01-20 15:52:46 -05:00
Sasha Koshka faf38b96c2 Scrollbar drawing 2023-01-20 15:35:43 -05:00
Sasha Koshka 3acbe40665 Patterned rectangles now render properly 2023-01-20 15:08:19 -05:00
Sasha Koshka cfb08f02bc Added scroll stuff to theme 2023-01-20 14:40:00 -05:00
Sasha Koshka afd543ce92 Fixed clock and checkbox 2023-01-20 00:42:57 -05:00
Sasha Koshka 4367bba602 Scroll bar background drawing 2023-01-19 18:29:57 -05:00
Sasha Koshka 9c37cb8fef Scroll container mouse pass through 2023-01-19 18:03:50 -05:00
Sasha Koshka 71d50cab4b Merge pull request 'atomize-parent-hooks' (#4) from atomize-parent-hooks into main
Reviewed-on: sashakoshka/tomo#4
2023-01-19 22:35:50 +00:00
Sasha Koshka 78fb934afe Ok this is overstepping the bounds of this branch 2023-01-19 17:35:19 -05:00
Sasha Koshka 7b8cdd9e04 Container now implements MouseTarget again oops 2023-01-19 16:55:46 -05:00
Sasha Koshka 6f6591f0d0 Layouts now conform to the new API 2023-01-19 16:54:49 -05:00
Sasha Koshka c813463bb4 Basic elements now conform to the new API (largely untested) 2023-01-19 16:49:34 -05:00
Sasha Koshka 8a72e8bf01 Mouse test now conforms to new API 2023-01-19 15:05:13 -05:00
Sasha Koshka c0d013a9fb X backend now conforms to new API 2023-01-19 15:02:56 -05:00
Sasha Koshka 662d3464e2 Element core now conforms to the new API 2023-01-19 14:44:40 -05:00
Sasha Koshka 6bea614044 Changed the API to replace hooks with event handler callbacks 2023-01-19 14:28:56 -05:00
Sasha Koshka dcc7fcb251 Ok thats it next commit im getting rid of parent hooks 2023-01-19 13:07:27 -05:00
Sasha Koshka df21aa9fd0 Added a content bounds change parent hook 2023-01-18 23:21:01 -05:00
Sasha Koshka 2b45a8f8a0 TextBox is now scrollable 2023-01-18 17:52:05 -05:00
Sasha Koshka 3889cb5252 Added scrollable element interface 2023-01-18 17:32:33 -05:00
Sasha Koshka b69eb6b62e Tweaked text box scrolling 2023-01-18 16:01:31 -05:00
Sasha Koshka 89881247d0 Text boxes now scroll to their cursor position 2023-01-18 15:56:36 -05:00
Sasha Koshka 873336e029 It is no longer possible to activate disabled buttons 2023-01-18 11:58:42 -05:00
Sasha Koshka 36c5ed40e9 Added event callbacks to text box 2023-01-18 11:56:14 -05:00
Sasha Koshka 48db645f9f Silliness increase 2023-01-18 01:29:59 -05:00
Sasha Koshka 46268c8d02 Disabled inputs can no longer be selected 2023-01-18 01:21:49 -05:00
Sasha Koshka 3ef13955be Placeholders show up again 2023-01-18 01:20:04 -05:00
Sasha Koshka 2bf2baf69e More intelligent text editing with new textmanip system 2023-01-18 01:19:10 -05:00
Sasha Koshka b03cba57e1 Text drawer now takes in runes instead of a string 2023-01-18 00:42:04 -05:00
Sasha Koshka 85ddb8ace1 Very basic text input 2023-01-18 00:38:58 -05:00
Sasha Koshka 1fee6ab9e6 Increased the silly 2023-01-17 20:30:58 -05:00
Sasha Koshka 5e3dfeaadd Progress bars
... And also the Do function works now
2023-01-17 20:16:03 -05:00
Sasha Koshka b9be483869 Tweaked the sunken pattern 2023-01-17 18:12:04 -05:00
Sasha Koshka 0c2eb3f20d Made the wording in README a bit better 2023-01-17 17:40:01 -05:00
Sasha Koshka 79f3b3353e Cool tomo facts in readme 2023-01-17 17:36:11 -05:00
Sasha Koshka c5eda422b4 Added a link to the online documentation in README 2023-01-17 17:14:21 -05:00
Sasha Koshka 9f91220842 Documented the clock 2023-01-17 17:13:01 -05:00
Sasha Koshka bc4defac17 Spacers :D 2023-01-17 17:01:35 -05:00
Sasha Koshka 06e0396695 More silliness 2023-01-17 16:46:07 -05:00
Sasha Koshka 5d64788b68 Checkboxes! 2023-01-17 16:38:57 -05:00
Sasha Koshka 37458f4fde Dialog layout works now 2023-01-17 15:55:16 -05:00
Sasha Koshka b7fe28f600 Bit of refactoring of the horizontal layout 2023-01-17 15:31:59 -05:00
Sasha Koshka 99492874ca Clock forces an aspect ratio 2023-01-17 14:47:07 -05:00
Sasha Koshka a1ab5f4353 Merge pull request 'atomize-element-interface' (#3) from atomize-element-interface into main
Reviewed-on: sashakoshka/tomo#3
2023-01-17 19:33:23 +00:00
Sasha Koshka c965a8a871 Merge branch 'main' into atomize-element-interface 2023-01-17 19:33:11 +00:00
Sasha Koshka 375205a4d2 Core no longer naievely constrains canvas resize dimensions 2023-01-17 14:31:06 -05:00