-
Notifications
You must be signed in to change notification settings - Fork 6
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
Showing
4 changed files
with
30 additions
and
21 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,26 @@ | ||
mod storage; | ||
|
||
#[cfg(feature = "gui-egui")] | ||
mod egui; | ||
|
||
#[cfg(feature = "gui-gtk4")] | ||
mod column_object; | ||
#[cfg(feature = "gui-gtk4")] | ||
mod gtk4; | ||
#[cfg(feature = "gui-gtk4")] | ||
mod stc_viewer; | ||
|
||
#[cfg(all(feature = "gui-egui", feature = "gui-gtk4"))] | ||
compile_error!( | ||
"Feature gui-egui and gui-gtk4 are mutually exclusive and cannot be enabled together" | ||
); | ||
|
||
#[cfg(feature = "gui-gtk4")] | ||
fn main() { | ||
gtk4::main() | ||
} | ||
|
||
#[cfg(feature = "gui-egui")] | ||
fn main() -> Result<(), eframe::Error> { | ||
egui::main() | ||
} |
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