Commit graph

19 commits

Author SHA1 Message Date
ea0cc4c7e3 Update typst and related packages 2025-02-22 16:39:05 +01:00
4f725a05c9 Move all dependencies to workspace 2025-02-22 15:40:09 +01:00
611bf3a9f1 Enable more lints 2025-02-22 15:35:46 +01:00
0345a80349 Update dependencies 2024-05-14 01:51:50 +02:00
9b6865ff50 Add /typst 2024-05-13 13:02:26 +02: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
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
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