19 lines
516 B
Rust
19 lines
516 B
Rust
mod egui_app;
|
|
|
|
// These 2 are needed for rust-analyzer to work in vscode.
|
|
mod chart_manager;
|
|
mod misc;
|
|
|
|
// For running the program natively! (Because why not?)
|
|
#[cfg(not(target_arch = "wasm32"))]
|
|
fn main() {
|
|
let app = egui_app::MathApp::new("".to_string());
|
|
let options = eframe::NativeOptions {
|
|
// Let's show off that we support transparent windows
|
|
transparent: true,
|
|
drag_and_drop_support: true,
|
|
..Default::default()
|
|
};
|
|
eframe::run_native(Box::new(app), options);
|
|
}
|