about summary refs log tree commit diff
path: root/src/block/mod.rs
diff options
context:
space:
mode:
authorGenny <gen@nyble.dev>2021-03-10 02:44:45 -0600
committerGenny <gen@nyble.dev>2021-03-10 02:44:45 -0600
commitfa403b904c8596d8d1731d7f8bfafa6c0145e3dd (patch)
treeb1c0b89da9f51f35b7984a30d9c249788922bb9a /src/block/mod.rs
parent743888ae0c1038a92f4a0b64709a313eba70c887 (diff)
downloadgifed-fa403b904c8596d8d1731d7f8bfafa6c0145e3dd.tar.gz
gifed-fa403b904c8596d8d1731d7f8bfafa6c0145e3dd.zip
Implement, roughly, extensions, animation, and looping
Diffstat (limited to 'src/block/mod.rs')
-rw-r--r--src/block/mod.rs10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/block/mod.rs b/src/block/mod.rs
index a0c2454..38b10ea 100644
--- a/src/block/mod.rs
+++ b/src/block/mod.rs
@@ -1,13 +1,17 @@
-mod block;
 mod colortable;
+pub mod extension;
 mod indexedimage;
 mod imagedescriptor;
 mod screendescriptor;
 mod version;
 
-pub use block::Block;
 pub use colortable::ColorTable;
 pub use indexedimage::IndexedImage;
 pub use imagedescriptor::ImageDescriptor;
 pub use screendescriptor::ScreenDescriptor;
-pub use version::Version;
\ No newline at end of file
+pub use version::Version;
+
+pub enum Block {
+	IndexedImage(IndexedImage),
+	Extension(extension::Extension)
+}
\ No newline at end of file