This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
use crate::task::TaskId;
|
||||
|
||||
/// Identifies the logical owner of a shell window.
|
||||
///
|
||||
/// Game cartridges do not currently own WindowManager windows. Games run as
|
||||
/// fullscreen firmware steps. The WindowManager is used for Hub/Home UI,
|
||||
/// Shell task windows, and system overlays.
|
||||
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
|
||||
pub enum WindowOwner {
|
||||
/// Window owned by the Prometeu Hub/Home.
|
||||
Hub,
|
||||
|
||||
/// Window owned by a managed Shell task.
|
||||
Task(TaskId),
|
||||
|
||||
/// Temporary system-owned window drawn above the current context.
|
||||
///
|
||||
/// Examples: notifications, crash dialogs, quick menus, debug panels,
|
||||
/// permission prompts, and modal confirmations.
|
||||
Overlay,
|
||||
}
|
||||
Reference in New Issue
Block a user