mirror of
https://github.com/13hannes11/focus_annotator.git
synced 2024-09-03 23:21:01 +02:00
remove default images from ImageUI
This commit is contained in:
80
src/main.rs
80
src/main.rs
@@ -72,77 +72,17 @@ struct ImageUI {
|
||||
|
||||
impl ImageUI {
|
||||
pub fn new() -> ImageUI {
|
||||
let individual = std::sync::Arc::new(
|
||||
Image::builder()
|
||||
.file("/var/home/hannes/Downloads/test/I12982_X022_Y029_Z5048.jpg")
|
||||
.vexpand(true)
|
||||
.hexpand(true)
|
||||
.build(),
|
||||
);
|
||||
let center = std::sync::Arc::new(
|
||||
Image::builder()
|
||||
.vexpand(true)
|
||||
.hexpand(true)
|
||||
.file("/var/home/hannes/Downloads/test/I12982_X022_Y029_Z5048.jpg")
|
||||
.build(),
|
||||
);
|
||||
let individual = std::sync::Arc::new(Image::builder().vexpand(true).hexpand(true).build());
|
||||
let center = std::sync::Arc::new(Image::builder().vexpand(true).hexpand(true).build());
|
||||
let neighbours = [
|
||||
std::sync::Arc::new(
|
||||
Image::builder()
|
||||
.vexpand(true)
|
||||
.hexpand(true)
|
||||
.file("/var/home/hannes/Downloads/test/I12982_X022_Y029_Z5048.jpg")
|
||||
.build(),
|
||||
),
|
||||
std::sync::Arc::new(
|
||||
Image::builder()
|
||||
.vexpand(true)
|
||||
.hexpand(true)
|
||||
.file("/var/home/hannes/Downloads/test/I12982_X022_Y029_Z5048.jpg")
|
||||
.build(),
|
||||
),
|
||||
std::sync::Arc::new(
|
||||
Image::builder()
|
||||
.vexpand(true)
|
||||
.hexpand(true)
|
||||
.file("/var/home/hannes/Downloads/test/I12982_X022_Y029_Z5048.jpg")
|
||||
.build(),
|
||||
),
|
||||
std::sync::Arc::new(
|
||||
Image::builder()
|
||||
.vexpand(true)
|
||||
.hexpand(true)
|
||||
.file("/var/home/hannes/Downloads/test/I12982_X022_Y029_Z5048.jpg")
|
||||
.build(),
|
||||
),
|
||||
std::sync::Arc::new(
|
||||
Image::builder()
|
||||
.vexpand(true)
|
||||
.hexpand(true)
|
||||
.file("/var/home/hannes/Downloads/test/I12982_X022_Y029_Z5048.jpg")
|
||||
.build(),
|
||||
),
|
||||
std::sync::Arc::new(
|
||||
Image::builder()
|
||||
.vexpand(true)
|
||||
.hexpand(true)
|
||||
.file("/var/home/hannes/Downloads/test/I12982_X022_Y029_Z5048.jpg")
|
||||
.build(),
|
||||
),
|
||||
std::sync::Arc::new(
|
||||
Image::builder()
|
||||
.vexpand(true)
|
||||
.hexpand(true)
|
||||
.file("/var/home/hannes/Downloads/test/I12982_X022_Y029_Z5048.jpg")
|
||||
.build(),
|
||||
),
|
||||
std::sync::Arc::new(
|
||||
Image::builder()
|
||||
.vexpand(true)
|
||||
.hexpand(true)
|
||||
.file("/var/home/hannes/Downloads/test/I12982_X022_Y029_Z5048.jpg")
|
||||
.build(),
|
||||
),
|
||||
std::sync::Arc::new(Image::builder().vexpand(true).hexpand(true).build()),
|
||||
std::sync::Arc::new(Image::builder().vexpand(true).hexpand(true).build()),
|
||||
std::sync::Arc::new(Image::builder().vexpand(true).hexpand(true).build()),
|
||||
std::sync::Arc::new(Image::builder().vexpand(true).hexpand(true).build()),
|
||||
std::sync::Arc::new(Image::builder().vexpand(true).hexpand(true).build()),
|
||||
std::sync::Arc::new(Image::builder().vexpand(true).hexpand(true).build()),
|
||||
std::sync::Arc::new(Image::builder().vexpand(true).hexpand(true).build()),
|
||||
std::sync::Arc::new(Image::builder().vexpand(true).hexpand(true).build()),
|
||||
];
|
||||
|
||||
ImageUI {
|
||||
|
||||
Reference in New Issue
Block a user