-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
59d0482
commit c17bbfe
Showing
4 changed files
with
28 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
use iced::window::Id; | ||
|
||
use super::{capture::CaptureEvent, config::ConfigEvent}; | ||
|
||
#[derive(Debug, Clone)] | ||
pub enum AppEvent { | ||
OpenConfigureWindow, | ||
OpenDirectory, | ||
UpdateDirectory(Id), | ||
GetScaleFactor(Id, f32), | ||
OpenCaptureWindow, | ||
Undo, | ||
Done, | ||
Cancel, | ||
RequestClose(Id), | ||
WindowClosed(Id), | ||
ExitApp, | ||
Config(Id, ConfigEvent), | ||
Capture(Id, CaptureEvent), | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
pub mod app; | ||
pub mod capture; | ||
pub mod config; | ||
mod events; | ||
pub mod style; | ||
pub mod theme; | ||
pub mod window; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters