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.
This commit is contained in:
Joscha 2024-03-06 00:36:18 +01:00
parent 04ed092c4f
commit eb04b3fb50
13 changed files with 38 additions and 300 deletions

View file

@ -1,9 +1,5 @@
pub use crate::{buffer::*, color::*, rect::*, vec2::*, view::*, widget::*};
pub use crate::{rect::*, vec2::*, view::*};
mod buffer;
mod color;
mod rect;
mod vec2;
mod view;
mod widget;
pub mod widgets;