Commit graph

5 commits

Author SHA1 Message Date
2c8f9685b9 Add Block widget 2024-03-09 00:52:14 +01:00
1e73c01845 Switch to sRGBA everywhere 2024-03-08 17:40:17 +01:00
c9dd8051dd Extract color conversion functions 2024-03-08 17:23:54 +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
59a1235b1d Add Color trait 2024-03-05 00:09:32 +01:00