noctua/src/app/view/mod.rs

20 lines
392 B
Rust
Raw Normal View History

2026-01-07 20:42:28 +01:00
// SPDX-License-Identifier: GPL-3.0-or-later
2026-01-07 20:22:49 +01:00
// src/app/view/mod.rs
//
2026-01-14 17:16:25 +01:00
// View module root, combining all view components.
2026-01-07 20:22:49 +01:00
2026-01-14 17:16:25 +01:00
mod canvas;
pub mod footer;
pub mod header;
mod image_viewer;
2026-01-07 20:22:49 +01:00
pub mod panels;
use cosmic::Element;
use crate::app::{AppMessage, AppModel};
2026-01-14 17:16:25 +01:00
/// Main application view (canvas area).
2026-01-07 20:22:49 +01:00
pub fn view(model: &AppModel) -> Element<'_, AppMessage> {
2026-01-14 17:16:25 +01:00
canvas::view(model)
2026-01-07 20:22:49 +01:00
}