diff options
Diffstat (limited to 'src/colorimage.rs')
-rw-r--r-- | src/colorimage.rs | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/colorimage.rs b/src/colorimage.rs new file mode 100644 index 0000000..71f2bee --- /dev/null +++ b/src/colorimage.rs @@ -0,0 +1,16 @@ +pub struct ColorImage { + width: u16, + height: u16, + data: Vec<Pixel> +} + +impl ColorImage { + pub fn new() { + + } +} + +pub enum Pixel { + Color(Color), + Transparent +} \ No newline at end of file |