45 lines
997 B
Rust
45 lines
997 B
Rust
pub mod logs;
|
|
mod overview;
|
|
mod package_manager;
|
|
|
|
mod cluster_settings;
|
|
mod datapacks;
|
|
mod folder_list;
|
|
mod modpack_settings;
|
|
mod mods;
|
|
mod process_logs;
|
|
mod screenshots;
|
|
mod shaders;
|
|
mod textures;
|
|
mod worlds;
|
|
|
|
pub use logs::ClusterLogs;
|
|
pub use overview::ClusterOverview;
|
|
|
|
pub use cluster_settings::ClusterSettings;
|
|
pub use datapacks::ClusterDataPacks;
|
|
pub(crate) use folder_list::{dialog, supports_datapacks};
|
|
pub use mods::ClusterMods;
|
|
pub use process_logs::ProcessLogs;
|
|
pub use screenshots::ClusterScreenshots;
|
|
pub use shaders::ClusterShaders;
|
|
pub use textures::ClusterTextures;
|
|
pub use worlds::ClusterWorlds;
|
|
|
|
use freya::prelude::*;
|
|
|
|
use crate::theme::colors;
|
|
|
|
pub(crate) fn cluster_not_found() -> Element {
|
|
rect()
|
|
.width(Size::fill())
|
|
.height(Size::fill())
|
|
.center()
|
|
.child(
|
|
label()
|
|
.text("Cluster not found.")
|
|
.font_size(14.)
|
|
.color(colors::fg_secondary()),
|
|
)
|
|
.into_element()
|
|
}
|