raise window owner
Intrepid/Prometeu/Runtime/pipeline/head This commit looks good

This commit is contained in:
2026-05-15 11:26:41 +01:00
parent 1663ab5413
commit a8e3040d1e
13 changed files with 107 additions and 40 deletions
+1 -1
View File
@@ -18,6 +18,7 @@ pub mod log;
pub mod native_helpers;
pub mod native_interface;
pub mod pad_bridge;
pub mod primitives;
pub mod sample;
pub mod scene_bank;
pub mod scene_layer;
@@ -31,7 +32,6 @@ pub mod tile;
pub mod tilemap;
pub mod touch_bridge;
pub mod vm_fault;
pub mod window;
pub use asset_bridge::AssetBridge;
pub use audio_bridge::{AudioBridge, AudioOpStatus, LoopMode};
@@ -0,0 +1,7 @@
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub struct Rect {
pub x: i32,
pub y: i32,
pub w: i32,
pub h: i32,
}
-21
View File
@@ -1,21 +0,0 @@
use crate::color::Color;
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub struct Rect {
pub x: i32,
pub y: i32,
pub w: i32,
pub h: i32,
}
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
pub struct WindowId(pub u32);
#[derive(Debug, Clone)]
pub struct Window {
pub id: WindowId,
pub viewport: Rect,
pub has_focus: bool,
pub title: String,
pub color: Color,
}