mirror of
https://github.com/bleackstorm/SteamFrame-FPV-Control-Center.git
synced 2026-12-03 07:31:57 +01:00
feat: complete overhaul of UI using GPUI (GPU-accelerated modern cockpit)
This commit is contained in:
1 parent
886eed7825
commit
be48fbdedf
29 files changed
+7422
-136
No files matched your search
+8
-1
@@ -2,6 +2,7 @@ mod config;
|
||||
mod dome_projection;
|
||||
mod engine;
|
||||
mod gui;
|
||||
mod gui_gpui;
|
||||
mod logger;
|
||||
mod nomad_elrs;
|
||||
mod telemetry_osd;
|
||||
@@ -23,7 +24,8 @@ fn main() -> Result<()> {
|
||||
let log_buffer = GuiLogger::init(&cfg.log_file);
|
||||
|
||||
log::info!(
|
||||
"=== Démarrage de SteamFrame FPV v0.2 (Fichier journal : {}) ===",
|
||||
"=== Démarrage de SteamFrame FPV v0.2 (Moteur IHM : {}, Fichier journal : {}) ===",
|
||||
cfg.gui_engine,
|
||||
cfg.log_file
|
||||
);
|
||||
|
||||
@@ -39,6 +41,11 @@ fn main() -> Result<()> {
|
||||
return Ok(());
|
||||
}
|
||||
|
||||
if cfg.gui_engine.eq_ignore_ascii_case("gpui") {
|
||||
log::info!("Démarrage de l'interface moderne GPU-accélérée (GPUI)...");
|
||||
return gui_gpui::run_gpui_app(cfg, log_buffer);
|
||||
}
|
||||
|
||||
let native_options = eframe::NativeOptions {
|
||||
viewport: eframe::egui::ViewportBuilder::default()
|
||||
.with_title("SteamFrame FPV - Eachine Sphere Link & RadioMaster Nomad")
|
||||
|
||||
Reference in new issue
Block a user