Commit Graph
95 Commits
Author SHA1 Message Date
Sasha Koshka 7e51dc5e5a Documented artist package 2023-02-25 23:04:51 -05:00
Sasha Koshka d167559830 Got rectangles all sorted 2023-02-23 20:55:19 -05:00
Sasha Koshka 48237f5687 Add AllocateSample 2023-02-23 17:44:53 -05:00
Sasha Koshka 0ba3c982c4 Added some utility functions to pattern 2023-02-23 15:00:44 -05:00
Sasha Koshka c7e44633b1 Updated Pattern interface 2023-02-23 14:44:54 -05:00
Sasha Koshka 29e4a7572b Added health and stamina 2023-02-21 18:53:19 -05:00
Sasha Koshka ddb960571f Fixed texture warping when too close to walls 2023-02-21 18:15:41 -05:00
Sasha Koshka ce1d938f7a Fixed the wierd wall overlap 2023-02-21 17:57:52 -05:00
Sasha Koshka 20fa445cdd backrooms!!!!! 2023-02-21 16:48:56 -05:00
Sasha Koshka f8240fb518 Created FillRectangleShatter for convenience 2023-02-16 18:19:36 -05:00
Sasha Koshka fc0a9292d9 Added rendering optimization hints to themes 2023-02-16 18:00:15 -05:00
Sasha Koshka b9cbf83a18 Added the collapse behavior as an interface 2023-02-16 17:35:53 -05:00
Sasha Koshka 270b49f825 Removed that annoying log message on window close 2023-02-16 17:22:33 -05:00
Sasha Koshka e3369ab3d4 AAAAART! 2023-02-16 14:57:46 -05:00
Sasha Koshka 50e9c3b1c9 The null rune at the end is fake now 2023-02-16 14:43:36 -05:00
Sasha Koshka e2e846a0e5 AHHHHH!!! 2023-02-16 14:39:51 -05:00
Sasha Koshka fa934fa485 Keyboard text selection is now no longer broken lmao 2023-02-16 14:09:23 -05:00
Sasha Koshka 0c22977693 TextDrawer does not separate whitespace from printables 2023-02-14 18:11:11 -05:00
Sasha Koshka 4d87972235 Hot themeing tweaks 2023-02-14 17:21:05 -05:00
Sasha Koshka d59b7d812d Stop some redundant rendering in the piano 2023-02-14 17:05:13 -05:00
Sasha Koshka 09f782953e Use FillRectangleClip in List and Container 2023-02-14 16:53:28 -05:00
Sasha Koshka fa42cf1f5f Added a new FillRectangleClip function 2023-02-14 15:47:41 -05:00
Sasha Koshka cfc2b5e130 Image element for showing images 2023-02-09 18:34:53 -05:00
Sasha Koshka 6e7cf285cc Fixed issue with X backend not recognizing key repeats 2023-02-09 17:26:36 -05:00
Sasha Koshka e3aea7fc9e Better piano keybinds 2023-02-09 16:36:38 -05:00
Sasha Koshka 5446ffe40b h a r m o n y 2023-02-09 16:15:02 -05:00
Sasha Koshka 06e97461fa Note.Octave returns an Octave 2023-02-09 15:06:41 -05:00
Sasha Koshka b38232ee24 More documentation! 2023-02-09 15:05:13 -05:00
Sasha Koshka 2cd670f4cd Improved element documentation 2023-02-09 14:50:24 -05:00
Sasha Koshka c7bebabed5 Fixed issue where containers would not select themselves prperly 2023-02-09 14:25:55 -05:00
Sasha Koshka 83b8040520 Theme stub 2023-02-03 00:57:18 -05:00
Sasha Koshka 4722656c7d Config stub 2023-02-02 18:20:02 -05:00
Sasha Koshka 14d1836209 Merge branch 'main' of git.tebibyte.media:sashakoshka/tomo 2023-02-02 17:58:51 -05:00
Sasha Koshka 36b995c514 Added link to github mirror 2023-02-02 17:57:56 -05:00
Sasha Koshka 9cb0d064ff Dialog layout is all good 2023-01-31 18:57:29 -05:00
Sasha Koshka 9b22e80f05 Got scroll container working 2023-01-31 18:39:17 -05:00
Sasha Koshka 541d0f4204 Horizontal layouts now work 2023-01-31 18:06:55 -05:00
Sasha Koshka b0ff1ca0af Vertical stack example works 2023-01-31 18:04:12 -05:00
Sasha Koshka 2f9504b1e4 Fixed wierd inconsistency with element core 2023-01-31 16:18:10 -05:00
Sasha Koshka 6d6a0c59a1 X backend now conforms to new API 2023-01-31 16:13:20 -05:00
Sasha Koshka d5028317ef Fun and testing elements conform to new API 2023-01-31 14:57:02 -05:00
Sasha Koshka ee424b9125 Basic elements conform to new API 2023-01-31 14:54:43 -05:00
Sasha Koshka 81fc82c46e Layouts no longer resize elements (because they cant) 2023-01-31 14:48:28 -05:00
Sasha Koshka 537d69b491 Removed Resize, added DrawTo 2023-01-31 14:29:35 -05:00
Sasha Koshka b2b2a80a06 Made the stripey sunken background optional 2023-01-26 18:37:44 -05:00
Sasha Koshka 0f9a33fc57 Refactored the X backend draw code a bit 2023-01-26 18:01:39 -05:00
Sasha Koshka 912f939f2e The noise pattern can now be harsh 2023-01-24 18:27:36 -05:00
Sasha Koshka c9c5f1d251 Added a pseudorandom noise pattern 2023-01-24 18:15:46 -05:00
Sasha Koshka 5edfbf8110 Added a list example 2023-01-24 16:41:12 -05:00
Sasha Koshka 68f1d052d2 Fixed list minimum bounds calculation when not collapsed 2023-01-24 16:10:25 -05:00
Sasha Koshka 28701d01ab Fixed gradient orientation 2023-01-24 16:02:35 -05:00
Sasha Koshka d5cb1b27fe Created an elliptical border pattern 2023-01-24 15:35:00 -05:00
Sasha Koshka 0281b1a203 Gradients!!!!!!!!!!! Holy fucking bingle!! 2023-01-24 14:24:30 -05:00
Sasha Koshka 3949f2af9e Created a Tiled pattern 2023-01-24 14:08:47 -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 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 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 375205a4d2 Core no longer naievely constrains canvas resize dimensions 2023-01-17 14:31:06 -05:00
Sasha Koshka 91e60900ad X backend now understands flexible min widths 2023-01-17 14:17:26 -05:00
Sasha Koshka b5469e103d Analog clock widget!! 2023-01-12 19:52:21 -05:00
Sasha Koshka 60c2ccbec2 Add nice padding to the clock example 2023-01-12 18:03:08 -05:00
Sasha Koshka 1f3e925433 Fixed not setting text drawer max size properly 2023-01-12 18:00:36 -05:00
Sasha Koshka 5eb3067a34 Added an example demonstrating the use of goroutines 2023-01-12 16:12:43 -05:00
Sasha Koshka 588c52b30a Added a Warp method to Container for batch updates 2023-01-12 16:02:33 -05:00
Sasha Koshka 9710e57b2b Added an example of how to use the flow 2023-01-12 15:33:50 -05:00
Sasha Koshka 0f9153e496 Added a flow control struct 2023-01-12 14:45:20 -05:00
Sasha Koshka 00a20c5e1c Removed the iterator package
There is no need for it at the moment.
2023-01-12 14:33:30 -05:00
Sasha Koshka 84ea6178b0 NewDialog now returns a window. 2023-01-12 14:12:24 -05:00
Sasha Koshka a79f2eaf64 Test element has a cool border 2023-01-10 20:31:18 -05:00
Sasha Koshka b3e6beb8ad Added DisownAll method to Container 2023-01-10 18:07:51 -05:00
Sasha Koshka cb2136f7cb Layouts work!!!! 2023-01-10 17:34:40 -05:00
Sasha Koshka 6eed70e79e The beginnings of a layout system 2023-01-10 16:39:37 -05:00
Sasha Koshka 31fb42ab58 Vertical layout stub 2023-01-09 20:34:19 -05:00
Sasha Koshka c34e3cd91e Disabled buttons are not selectable 2023-01-09 18:20:39 -05:00
Sasha Koshka 80aafdf60c Buttons respond to enter key, window auto-selects root child 2023-01-09 18:19:19 -05:00