diff options
author | Genny <gen@nyble.dev> | 2021-09-23 20:33:50 -0500 |
---|---|---|
committer | Genny <gen@nyble.dev> | 2021-09-23 20:33:50 -0500 |
commit | 637441239434fabedfe83f5abc1af4232c802f7a (patch) | |
tree | dbc84cd1a31686077fc046fd42d223f1ca08f890 /src/colorimage.rs | |
parent | 7b8081a79fb3db4a76f9e4cca8f8a88e6e7f873c (diff) | |
download | gifed-637441239434fabedfe83f5abc1af4232c802f7a.tar.gz gifed-637441239434fabedfe83f5abc1af4232c802f7a.zip |
Improve API, monocommit, sorry
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 |