summaryrefslogtreecommitdiffstats
path: root/src/display/mod.rs
diff options
context:
space:
mode:
authorCanop <cano.petrole@gmail.com>2021-05-20 21:39:02 +0200
committerCanop <cano.petrole@gmail.com>2021-05-20 21:45:09 +0200
commit10456e8bf21506a2d17f7da4891233502c9f5953 (patch)
tree0489decce04bd89ec3dd5ecb79352f58bf24a0a6 /src/display/mod.rs
parent4535e4c76cf7037119afa27b7d7a75c9cd9fa397 (diff)
removed some `#[macro_use] extern crate`
Diffstat (limited to 'src/display/mod.rs')
-rw-r--r--src/display/mod.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/display/mod.rs b/src/display/mod.rs
index c59ebef..9b9d4ec 100644
--- a/src/display/mod.rs
+++ b/src/display/mod.rs
@@ -5,6 +5,7 @@
/// declare a style named `$dst` which is usually a reference to the `$src`
/// skin but, in case `selected` is true, is a clone with background changed
/// to the one of selected lines.
+#[macro_export]
macro_rules! cond_bg {
($dst:ident, $self:ident, $selected:expr, $src:expr) => {
let mut cloned_style;
@@ -38,6 +39,7 @@ mod permissions;
pub use {
areas::Areas,
col::*,
+ cond_bg,
crop_writer::CropWriter,
displayable_tree::DisplayableTree,
filling::*,
@@ -57,6 +59,7 @@ use {
},
QueueableCommand,
},
+ lazy_static::lazy_static,
};
#[cfg(not(any(target_family="windows",target_os="android")))]