first commit
This commit is contained in:
parent
d52c6440ff
commit
d2fdac7f1e
274 changed files with 89330 additions and 0 deletions
13
src/modules/home/layers/color.rs
Normal file
13
src/modules/home/layers/color.rs
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
// Color tool — ribbon definition.
|
||||
|
||||
use crate::modules::{IconKind, ModuleEvent, ToolDef};
|
||||
|
||||
#[allow(dead_code)]
|
||||
pub fn tool() -> ToolDef {
|
||||
ToolDef {
|
||||
id: "COLOR",
|
||||
label: "Color",
|
||||
icon: IconKind::Glyph("🎨"),
|
||||
event: ModuleEvent::Command("COLOR".to_string()),
|
||||
}
|
||||
}
|
||||
10
src/modules/home/layers/layfrz.rs
Normal file
10
src/modules/home/layers/layfrz.rs
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
use crate::modules::{IconKind, ModuleEvent, ToolDef};
|
||||
|
||||
pub fn tool() -> ToolDef {
|
||||
ToolDef {
|
||||
id: "LAYFRZ",
|
||||
label: "Layer Freeze",
|
||||
icon: IconKind::Svg(include_bytes!("../../../../assets/icons/layers/layfrz.svg")),
|
||||
event: ModuleEvent::Command("LAYFRZ".to_string()),
|
||||
}
|
||||
}
|
||||
10
src/modules/home/layers/laylck.rs
Normal file
10
src/modules/home/layers/laylck.rs
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
use crate::modules::{IconKind, ModuleEvent, ToolDef};
|
||||
|
||||
pub fn tool() -> ToolDef {
|
||||
ToolDef {
|
||||
id: "LAYLCK",
|
||||
label: "Layer Lock",
|
||||
icon: IconKind::Svg(include_bytes!("../../../../assets/icons/layers/laylck.svg")),
|
||||
event: ModuleEvent::Command("LAYLCK".to_string()),
|
||||
}
|
||||
}
|
||||
10
src/modules/home/layers/layoff.rs
Normal file
10
src/modules/home/layers/layoff.rs
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
use crate::modules::{IconKind, ModuleEvent, ToolDef};
|
||||
|
||||
pub fn tool() -> ToolDef {
|
||||
ToolDef {
|
||||
id: "LAYOFF",
|
||||
label: "Layer Off",
|
||||
icon: IconKind::Svg(include_bytes!("../../../../assets/icons/layers/layoff.svg")),
|
||||
event: ModuleEvent::Command("LAYOFF".to_string()),
|
||||
}
|
||||
}
|
||||
10
src/modules/home/layers/layon.rs
Normal file
10
src/modules/home/layers/layon.rs
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
use crate::modules::{IconKind, ModuleEvent, ToolDef};
|
||||
|
||||
pub fn tool() -> ToolDef {
|
||||
ToolDef {
|
||||
id: "LAYON",
|
||||
label: "Turn All Layers On",
|
||||
icon: IconKind::Svg(include_bytes!("../../../../assets/icons/layers/layon.svg")),
|
||||
event: ModuleEvent::Command("LAYON".to_string()),
|
||||
}
|
||||
}
|
||||
10
src/modules/home/layers/laythw.rs
Normal file
10
src/modules/home/layers/laythw.rs
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
use crate::modules::{IconKind, ModuleEvent, ToolDef};
|
||||
|
||||
pub fn tool() -> ToolDef {
|
||||
ToolDef {
|
||||
id: "LAYTHW",
|
||||
label: "Thaw All Layers",
|
||||
icon: IconKind::Svg(include_bytes!("../../../../assets/icons/layers/laythw.svg")),
|
||||
event: ModuleEvent::Command("LAYTHW".to_string()),
|
||||
}
|
||||
}
|
||||
10
src/modules/home/layers/layulk.rs
Normal file
10
src/modules/home/layers/layulk.rs
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
use crate::modules::{IconKind, ModuleEvent, ToolDef};
|
||||
|
||||
pub fn tool() -> ToolDef {
|
||||
ToolDef {
|
||||
id: "LAYULK",
|
||||
label: "Layer Unlock",
|
||||
icon: IconKind::Svg(include_bytes!("../../../../assets/icons/layers/layulk.svg")),
|
||||
event: ModuleEvent::Command("LAYULK".to_string()),
|
||||
}
|
||||
}
|
||||
10
src/modules/home/layers/make_current.rs
Normal file
10
src/modules/home/layers/make_current.rs
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
use crate::modules::{IconKind, ModuleEvent, ToolDef};
|
||||
|
||||
pub fn tool() -> ToolDef {
|
||||
ToolDef {
|
||||
id: "LAYMCUR",
|
||||
label: "Make Current",
|
||||
icon: IconKind::Svg(include_bytes!("../../../../assets/icons/layers/laymcur.svg")),
|
||||
event: ModuleEvent::Command("LAYMCUR".to_string()),
|
||||
}
|
||||
}
|
||||
10
src/modules/home/layers/match_layer.rs
Normal file
10
src/modules/home/layers/match_layer.rs
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
use crate::modules::{IconKind, ModuleEvent, ToolDef};
|
||||
|
||||
pub fn tool() -> ToolDef {
|
||||
ToolDef {
|
||||
id: "LAYMATCH",
|
||||
label: "Match Layer",
|
||||
icon: IconKind::Svg(include_bytes!("../../../../assets/icons/layers/laymatch.svg")),
|
||||
event: ModuleEvent::Command("LAYMATCH".to_string()),
|
||||
}
|
||||
}
|
||||
10
src/modules/home/layers/mod.rs
Normal file
10
src/modules/home/layers/mod.rs
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
pub(super) mod color;
|
||||
pub(super) mod layfrz;
|
||||
pub(super) mod laylck;
|
||||
pub(super) mod layoff;
|
||||
pub(super) mod layon;
|
||||
pub(super) mod laythw;
|
||||
pub(super) mod layulk;
|
||||
pub(super) mod make_current;
|
||||
pub(super) mod match_layer;
|
||||
pub(super) mod panel;
|
||||
12
src/modules/home/layers/panel.rs
Normal file
12
src/modules/home/layers/panel.rs
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
// Layers panel toggle — ribbon definition.
|
||||
|
||||
use crate::modules::{IconKind, ModuleEvent, ToolDef};
|
||||
|
||||
pub fn tool() -> ToolDef {
|
||||
ToolDef {
|
||||
id: "LAYERS",
|
||||
label: "Layers",
|
||||
icon: IconKind::Svg(include_bytes!("../../../../assets/icons/layers/panel.svg")),
|
||||
event: ModuleEvent::ToggleLayers,
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue