blob: cf1c67d6c84f51e83c724d281ad2df8d76d6477c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
//! Desktop frontend for zagan-bet.
//!
//! Phase 3 of `docs/GUI-PLAN.md`: the style spike. It owns the window and the
//! roulette reference screen; the shared core and transport are wired in
//! Phase 4.
use zagan_bet_gui::app::ZaganApp;
fn main() -> eframe::Result {
let options = eframe::NativeOptions {
viewport: eframe::egui::ViewportBuilder::default()
.with_title("Zagan-Bet")
.with_app_id("zagan-bet")
.with_inner_size([1440.0, 900.0])
.with_min_inner_size([1100.0, 720.0]),
renderer: eframe::Renderer::Glow,
..Default::default()
};
eframe::run_native(
"Zagan-Bet",
options,
Box::new(|cc| Ok(Box::new(ZaganApp::new(cc)))),
)
}
|