Commit graph

6 commits

Author SHA1 Message Date
d69557daf6 Fix crash when printing some text 2024-03-17 17:35:44 +01:00
2c8f9685b9 Add Block widget 2024-03-09 00:52:14 +01:00
eb04b3fb50 Rip out buffer and widgets
I've decided to use the "taffy" crate for layouting. To make the API
somewhat bearable to use, I've decided to perform all rendering in a
good ol' rgb image buffer (in this case, an ImageBuffer from the "image"
crate). The pixels will be converted to their final representation just
before being sent to whatever device will be displaying them.

I've removed the buffer and the color traits because they're no longer
necessary. I've also removed the existing widgets because the widget
system will have to be redesigned to work well with taffy.
2024-03-06 00:36:19 +01:00
97a8099b7a Add Vec2 arithmetic tests 2024-03-03 23:04:10 +01:00
4bf7a0c9b2 Add Rect 2024-03-03 23:04:10 +01:00
0487bdb465 Add Vec2 2024-03-02 23:54:55 +01:00