From 11e64fc7560de3cd0def718edf68c31e3dc8be72 Mon Sep 17 00:00:00 2001 From: fxqnlr Date: Wed, 4 Sep 2024 15:08:55 +0200 Subject: move stuff around, remove lib.rs for overview --- src/data.rs | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/data.rs (limited to 'src/data.rs') diff --git a/src/data.rs b/src/data.rs new file mode 100644 index 0000000..cff0f47 --- /dev/null +++ b/src/data.rs @@ -0,0 +1,13 @@ +pub mod list; +pub mod gameversion; +pub mod modloader; +pub mod project; +pub mod modification; + +pub static STYLE_BAR_BYTE: &str = + "{spinner:.green}{wide_msg}{bytes}/{total_bytes} [{bar:.green/lime}]"; +pub static STYLE_BAR_POS: &str = " {wide_msg}{pos}/{len} [{bar:.green/lime}]"; +pub static STYLE_SPINNER: &str = "{spinner:.green}{wide_msg}"; +pub static STYLE_OPERATION: &str = " {wide_msg}"; +pub static STYLE_MESSAGE: &str = "{wide_msg}"; +pub static PROGRESS_CHARS: &str = "#>-"; -- cgit v1.2.3