aboutsummaryrefslogtreecommitdiff
path: root/src/actions.rs
blob: 119df04430c01c5efc38ad01a7beca88a4dc7b92 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
use std::path::PathBuf;

#[derive(Debug)]
pub enum Action {
    ChangeOrientation,
    StageTypeSelected(usize),
    SourceChanged,
    Zoom(f64),
    ZoomOut,
    ZoomIn,
    ExportImage,
    New,
    Open,
    Save { close_after: bool },
    SaveAs { close_after: bool },
    LoadFile(PathBuf),
    SaveToFile { path: PathBuf, close_after: bool },
    MarkInitialized,
    CloseWindow,
}