Commit graph

15 commits

Author SHA1 Message Date
74b0d25dfc Add /image endpoint 2024-03-09 22:47:10 +01:00
ef5f0e3af4 Add Image widget 2024-03-09 22:46:55 +01:00
638a449343 Make naming scheme more consistent
Constructor functions that set/overwrite a value are called with_*,
functions that add a value are called and_*.
2024-03-09 14:53:15 +01:00
0f21c3701e Improve text widget API 2024-03-09 13:28:13 +01:00
dd40058e71 Add showbits-assets with Unifont 15.1.05 2024-03-09 01:38:11 +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
dc6265f837 Add Text widget 2024-03-07 23:43:12 +01:00
bea5e03834 Add Widget and Node 2024-03-07 13:58:10 +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
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
59a1235b1d Add Color trait 2024-03-05 00:09:32 +01:00
ba68e34d0d Add Widget and BoxedWidget 2024-03-04 00:25:43 +01:00
44294830af Create project 2024-03-02 23:02:32 +01:00