about summary refs log tree commit diff
path: root/src/writer/gifbuilder.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/writer/gifbuilder.rs')
-rw-r--r--src/writer/gifbuilder.rs9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/writer/gifbuilder.rs b/src/writer/gifbuilder.rs
index 6ae55d5..415ebf6 100644
--- a/src/writer/gifbuilder.rs
+++ b/src/writer/gifbuilder.rs
@@ -1,5 +1,6 @@
-use crate::components::{ColorTable, Gif, LogicalScreenDescriptor, Version};
-use super::ImageBuilder;
+use crate::block::{ColorTable, ScreenDescriptor, Version};
+use crate::writer::ImageBuilder;
+use crate::Gif;
 
 pub struct GifBuilder {
 	version: Version,
@@ -44,7 +45,7 @@ impl GifBuilder {
 	}
 
 	pub fn build(self) -> Gif {
-		let mut lsd = LogicalScreenDescriptor {
+		let mut lsd = ScreenDescriptor {
 			width: self.width,
 			height: self.height,
 			packed: 0, // Set later
@@ -64,7 +65,7 @@ impl GifBuilder {
 
 		Gif {
 			header: self.version,
-			logical_screen_descriptor: lsd,
+			screen_descriptor: lsd,
 			global_color_table: self.global_color_table,
 			images
 		}