Commit Graph

148 Commits

Author SHA1 Message Date
Sasha Koshka 14802b4b82 Implemented history for DirectoryView
For some reason DirectoryView won't draw changes all of the time...
2023-03-23 14:37:44 -04:00
Sasha Koshka 68341517f7 DirectoryView uses File to display files 2023-03-21 18:03:31 -04:00
Sasha Koshka d9bddce20b File and directory view elements wip 2023-03-21 12:26:48 -04:00
Sasha Koshka d651570746 The list element calls the scroll bounds change callback 2023-03-17 01:58:42 -04:00
Sasha Koshka 0fd56f272c Fixed text being cut of on several examples 2023-03-17 01:38:57 -04:00
Sasha Koshka 4c6e01203c Label.EmCollapse actually works now 2023-03-17 01:00:11 -04:00
Sasha Koshka 6258c77f86 Added an align method to label 2023-03-16 15:58:26 -04:00
Sasha Koshka a4ef28cdd0 Moved containers into a separate package 2023-03-16 14:22:56 -04:00
Sasha Koshka c55925d152 Added a package that just links all backends 2023-03-16 01:14:39 -04:00
Sasha Koshka 0ebf0bc814 Raycaster example now works 2023-03-16 00:30:59 -04:00
Sasha Koshka 5149c27cf3 Added untested label collapse 2023-03-13 17:10:27 -04:00
Sasha Koshka 37048c6759 Raycaster runs? 2023-03-12 01:33:05 -05:00
Sasha Koshka b7a7800370 DocumentContainer has a proper minimum width 2023-03-11 19:25:35 -05:00
Sasha Koshka 15fa3b2497 Quelled some of the strangeness 2023-03-11 18:27:16 -05:00
Sasha Koshka 081b005679 Added a somewhat buggy DocumentContainer 2023-03-11 18:00:29 -05:00
Sasha Koshka 5d4a26a877 AnalogClock is no longer flexible. 2023-03-10 13:45:53 -05:00
Sasha Koshka 8658ecd879 Sort of fixed a flexible height bug 2023-03-10 00:10:26 -05:00
Sasha Koshka 1c28613981 The scroll bar is better 2023-03-09 23:27:08 -05:00
Sasha Koshka 8e1638e054 I may have fixed the wierd scrollbar rendering
And something else I didn't realize was there
2023-03-09 22:23:09 -05:00
Sasha Koshka aff9aca835 We now have an untested lone scrollbar element 2023-03-09 18:15:52 -05:00
Sasha Koshka cf672824a6 im dumb as hell bruh 2023-03-08 21:05:56 -05:00
Sasha Koshka 04884bd8e3 Oh my joodness 2023-03-08 20:41:48 -05:00
Sasha Koshka 305acea285 Use ezprof to profile 2023-03-08 20:24:43 -05:00
Sasha Koshka 423e6869c0 X backend better handles expose events
Previously, when an expose event was recieved, the backend would
call Window.paste, converting RGBA image data to BGRA image data.
Now we only call Window.pushRegion with the bounds given to us by
the expose event(s). This speeds up window resizing significantly.
2023-03-07 12:48:29 -05:00
Sasha Koshka c171273240 Sped up rendering significantly 2023-03-06 21:34:14 -05:00
Sasha Koshka d38bd1cbf5 Hiding button text actually works now 2023-03-05 00:31:41 -05:00
Sasha Koshka 61bbe0e346 Added an Icon element 2023-03-04 22:56:44 -05:00
Sasha Koshka cda2d1f0ae Default elements compile 2023-02-26 22:20:17 -05:00
Sasha Koshka 241c297626 whee back in busineess 2023-02-26 14:27:38 -05:00
Sasha Koshka b575413a0a For later 2023-02-23 12:12:25 -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 e966771f5b The raycaster is faster but more bg=uggyh agghgfghgfhgfgh 2023-02-21 13:30:32 -05:00
Sasha Koshka e9e1ccc35e Added basic raycaster demo. I have no idea why I did this. 2023-02-20 01:52:50 -05:00
Sasha Koshka e3369ab3d4 AAAAART! 2023-02-16 14:57:46 -05:00
Sasha Koshka e2e846a0e5 AHHHHH!!! 2023-02-16 14:39:51 -05:00
Sasha Koshka 56dc9ba54c this just j 2023-02-16 12:35:31 -05:00
Sasha Koshka fa42cf1f5f Added a new FillRectangleClip function 2023-02-14 15:47:41 -05:00
Sasha Koshka d7a6193c04 Added gain slider 2023-02-11 01:46:12 -05:00
Sasha Koshka a74f9809af Awesome labels 2023-02-11 01:27:28 -05:00
Sasha Koshka f9032a9a95 Oh yeah babey 2023-02-11 01:06:47 -05:00
Sasha Koshka 0e3de11203 Fixed a focus issue with ScrollContainer 2023-02-11 00:58:54 -05:00
Sasha Koshka 981c11bd44 Fixed the list widget 2023-02-11 00:18:21 -05:00
Sasha Koshka dce0321e9b Added a Select() method to List 2023-02-10 22:26:34 -05:00
Sasha Koshka 5e448edb21 Added sliders and made the ADSR controllabe with them 2023-02-10 21:55:59 -05:00
Sasha Koshka c33faa402b Made the supersaw a bit better and actually a supersaw 2023-02-10 15:08:20 -05:00
Sasha Koshka 182cb1e35b The piano now has an internal ADSR 2023-02-09 23:52:27 -05:00
Sasha Koshka cfc2b5e130 Image element for showing images 2023-02-09 18:34:53 -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 b15c260dfc Improved piano styling 2023-02-09 11:38:01 -05:00
Sasha Koshka 16ce15621e Moar waveforms!!!! 2023-02-09 02:04:58 -05:00
Sasha Koshka 16a0e76145 Removed a bunch of redundant draw calls
Most were related to a but with the keynav api
2023-02-09 01:30:14 -05:00
Sasha Koshka ce20b7d02c Piano can now play square waves 2023-02-09 00:01:39 -05:00
Sasha Koshka c5ee7c8cdb The piano plays sound 2023-02-08 23:41:31 -05:00
Sasha Koshka bec8b817c8 Added a piano widget because why not really 2023-02-08 21:05:36 -05:00
Sasha Koshka 892c74a9da Updated everything else to match 2023-02-02 01:48:38 -05:00
Sasha Koshka 58c3b23a99 Example files now reflect new API change 2023-01-30 17:25:09 -05:00
Sasha Koshka 92aeb48a1f Overhauled the theme system
Also added a toggle switch :)
2023-01-29 01:49:01 -05:00
Sasha Koshka 9422ff6198 Added a selectability core to reduce complexity of selectables 2023-01-27 17:55:49 -05:00
Sasha Koshka 9aea6d8c0f List element's events make more sense
Removed redundant selected entry change event, and added an event
that fires when the user deselects the current element.
2023-01-26 12:05:28 -05:00
Sasha Koshka 5edfbf8110 Added a list example 2023-01-24 16:41:12 -05:00
Sasha Koshka cfbb031500 Created an artist test thingy 2023-01-20 18:05:48 -05:00
Sasha Koshka faf38b96c2 Scrollbar drawing 2023-01-20 15:35:43 -05:00
Sasha Koshka 9c37cb8fef Scroll container mouse pass through 2023-01-19 18:03:50 -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 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 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 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 9459bcd942 Horizontal layouts now take into account flexible elements 2023-01-16 23:58:20 -05:00
Sasha Koshka e94e170a04 Half-working container flexibility propagation 2023-01-16 23:34:17 -05:00
Sasha Koshka d9281b139f Labels may request an expanding height change 2023-01-16 18:04:41 -05:00
Sasha Koshka afd125c083 Fixed layouts import paths 2023-01-16 00:11:06 -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 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 26c1dc062b Added popups 2023-01-12 12:51:42 -05:00
Sasha Koshka 519e0b9c6b Keynav moment 2023-01-11 22:30:14 -05:00
Sasha Koshka 5b850ef183 Added dialog layout 2023-01-11 01:56:05 -05:00
Sasha Koshka c18a3883bf Added a horizontal layout 2023-01-10 23:20:42 -05:00
Sasha Koshka 3ddeeb5469 You can choose whether or not you want text to wrap 2023-01-10 21:01:30 -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 bbdc5a0162 Created vertical layout example 2023-01-09 21:22:08 -05:00
Sasha Koshka 00d75d4488 Initial commit 2023-01-09 01:03:19 -05:00