Commit Graph

75 Commits

Author SHA1 Message Date
Sasha Koshka 8447b06641 Created a convenience constructor for Inset 2023-03-23 18:05:30 -04:00
Sasha Koshka 0d8d2a0190 Cleaned up pattern documentation a bit 2023-03-16 00:45:33 -04:00
Sasha Koshka b09994973c List and Piano do shattering properly 2023-03-12 01:47:58 -05:00
Sasha Koshka be45f7ad71 Fixed some artist bugs 2023-03-12 01:23:20 -05:00
Sasha Koshka 0f8affd2b2 Made similar changes to the Pattern interface and all of artist 2023-03-12 01:04:06 -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 803812f9c9 Texture pattern now samples X position correctly 2023-03-06 21:40:20 -05:00
Sasha Koshka c171273240 Sped up rendering significantly 2023-03-06 21:34:14 -05:00
Sasha Koshka ae6cf128f8 Created Icon interface 2023-03-04 20:48:46 -05:00
Sasha Koshka 8dd506a007 Textures now render properly 2023-02-27 16:38:33 -05:00
Sasha Koshka de10cde630 Add image textures to theme 2023-02-27 12:48:44 -05:00
Sasha Koshka 449922851f Fix list not drawing background 2023-02-26 22:56:20 -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 2859dc3313 Cleaned out the old theme code and moved padding and margins to theme 2023-02-26 00:44:44 -05:00
Sasha Koshka 7e51dc5e5a Documented artist package 2023-02-25 23:04:51 -05:00
Sasha Koshka 81090267a6 Created new patterns 2023-02-25 18:41:16 -05:00
Sasha Koshka bf2fdb5eaa Ellipse and rectangle have both color and source routines 2023-02-24 16:31:42 -05:00
Sasha Koshka 211219eb01 Ellipse and line share code 2023-02-24 02:51:24 -05:00
Sasha Koshka 79ab1c8ac0 Existing shape routines have been reimplemented 2023-02-24 02:26:34 -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 e9e1ccc35e Added basic raycaster demo. I have no idea why I did this. 2023-02-20 01:52:50 -05:00
Sasha Koshka f8240fb518 Created FillRectangleShatter for convenience 2023-02-16 18:19:36 -05:00
Sasha Koshka ae551c47ea Replace TextDrawer with more capable system 2023-02-15 18:17:17 -05:00
Sasha Koshka 0c22977693 TextDrawer does not separate whitespace from printables 2023-02-14 18:11:11 -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 d18da8b07a Rudimentary text selection with the mouse 2023-02-13 18:29:49 -05:00
Sasha Koshka b38232ee24 More documentation! 2023-02-09 15:05:13 -05:00
Sasha Koshka a0e57921a4 Oh my jod 2023-02-08 14:36:14 -05:00
Sasha Koshka 892c74a9da Updated everything else to match 2023-02-02 01:48:38 -05:00
Sasha Koshka 35870951a2 The theming around List makes slightly more sense 2023-01-30 02:22:16 -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 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 269c70ebb1 Fixed up the dotted pattern 2023-01-24 10:25:37 -05:00
Sasha Koshka bbe41881ac ...Again 2023-01-24 00:10:02 -05:00
Sasha Koshka 7fb67b13e0 Tweaked the beveling algorithm 2023-01-24 00:09:19 -05:00
Sasha Koshka 31a261d530 Beveled is now structured like QuadBeveled 2023-01-24 00:02:11 -05:00
Sasha Koshka 810728a479 Beveled and QuadBeveled both use the same algorithm now 2023-01-23 23:58:49 -05:00
Sasha Koshka 24bcd6977a Added a 4-way bevel pattern 2023-01-23 23:40:55 -05:00
Sasha Koshka 55633d6915 Fixed pattern offset in FillRectangle 2023-01-21 15:19:34 -05:00
Sasha Koshka 83d5064803 Created the split pattern 2023-01-20 23:19:54 -05:00