Automatically include all demo artwork in test

This commit is contained in:
Keavon Chambers
2024-02-08 01:15:32 -08:00
parent 9edd9233db
commit 1bf62d92c2
3 changed files with 11 additions and 7 deletions
@@ -5,7 +5,7 @@ use crate::messages::prelude::*;
pub struct DemoArtworkDialog;
/// `(name, thumbnail, filename)`
const ARTWORK: [(&str, &str, &str); 4] = [
pub const ARTWORK: [(&str, &str, &str); 4] = [
("Valley of Spires", "ThumbnailValleyOfSpires", "valley-of-spires.graphite"),
("Red Dress", "ThumbnailRedDress", "red-dress.graphite"),
("Just a Potted Cactus", "ThumbnailJustAPottedCactus", "just-a-potted-cactus.graphite"),
@@ -13,3 +13,5 @@ pub use coming_soon_dialog::ComingSoonDialog;
pub use demo_artwork_dialog::DemoArtworkDialog;
pub use error_dialog::ErrorDialog;
pub use licenses_dialog::LicensesDialog;
pub use demo_artwork_dialog::ARTWORK;