pub mod canvas;
pub mod color_picker;
pub mod paint;
pub mod text_overlay;
pub mod toolbar;
use eframe::egui::{Color32, Key};
use crate::annotate::Tool;
pub const ACCENT: Color32 = Color32::from_rgb(0x4c, 0x9e, 0xff);
pub const ACTIVE_TOOL_FILL: Color32 = Color32::from_rgb(0x1c, 0x63, 0x9e);
pub const TOOLS: [(Tool, Key); 10] = [
(Tool::Arrow, Key::A),
(Tool::Text, Key::T),
(Tool::Marker, Key::M),
(Tool::Line, Key::L),
(Tool::Select, Key::S),
(Tool::Pen, Key::P),
(Tool::Rect, Key::R),
(Tool::Ellipse, Key::E),
(Tool::Highlight, Key::H),
(Tool::Pixelate, Key::B),
];