Commit graph

65 commits

Author SHA1 Message Date
2c8f9685b9 Add Block widget 2024-03-09 00:52:14 +01:00
f4a6435e6f Remove now useless util module 2024-03-08 18:14:19 +01:00
602ad96cfe Add margin to text 2024-03-08 18:13:35 +01:00
1e73c01845 Switch to sRGBA everywhere 2024-03-08 17:40:17 +01:00
859fdb4bfe Add background color to Tree 2024-03-08 17:24:16 +01:00
6ab43a8d5e Try to draw simple "Hello world!" 2024-03-08 17:01:54 +01:00
c8c0759015 Implement Tree printing 2024-03-08 13:37:38 +01:00
ce2f986983 Restructure printer code 2024-03-08 11:50:25 +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
04ed092c4f Fix warnings 2024-03-05 00:51:44 +01:00
a2867b7188 Import teepee code 2024-03-05 00:50:43 +01:00
097f4ee548 Add ColorBw for printer 2024-03-05 00:09:34 +01:00
0487bdb465 Add Vec2 2024-03-02 23:54:55 +01:00
8aa38070ca Set up workspace-wide lints 2024-03-02 23:21:06 +01:00
44294830af Create project 2024-03-02 23:02:32 +01:00