kit#

Fully qualified name: omni::kit

namespace kit#

Classes#

IAppWindow

Application window.

IAppWindowFactory

Application window creation factory.

Enumerations#

CursorBlink

Window cursor blink.

Decorations

Whether window has decorations.

Floating

Whether window is always on top.

Fullscreen

Window fullscreen state.

Resize

Whether window resize is allowed.

Scaling

Whether window DPI is scaled to monitor DPI.

WindowState

Window state.

WindowType

Window Type.

Functions#

IAppWindow * getDefaultAppWindow()

Get default application window.

WindowDesc getDefaultWindowDesc()

Get default application window description.

Structs#

WindowDesc

Window description.

Typedefs#

Variables#

const carb::events::EventType kEventTypeWindowCreated

Application window created event type.

const carb::events::EventType kEventTypeWindowDestroyed

Application window destroyed event type.

const carb::events::EventType kEventTypeWindowShutdown

Application window shutdown event type.

const carb::events::EventType kEventTypeWindowStartup

Application window startup event type.

const auto kGlobalEventFactoryWindowCreated

Event that is dispatched when a window is created (deferred)

const auto kGlobalEventFactoryWindowCreatedImmediate

Event that is dispatched when a window is created (immediate)

const auto kGlobalEventFactoryWindowDestroyed

Event that is dispatched when a window is destroyed (deferred)

const auto kGlobalEventFactoryWindowDestroyedImmediate

Event that is dispatched when a window is destroyed (immediate)

const auto kGlobalEventFactoryWindowShutdown

Event that is dispatched when a window is destroyed (deferred)

const auto kGlobalEventFactoryWindowShutdownImmediate

Event that is dispatched when a window is destroyed (immediate)

const auto kGlobalEventFactoryWindowStartup

Event that is dispatched when a window is started (deferred)

const auto kGlobalEventFactoryWindowStartupImmediate

Event that is dispatched when a window is started (immediate)

const auto kGlobalEventWindowClose

Event that is dispatched when a window is closed.

const auto kGlobalEventWindowContentScale

Event that is dispatched when content scale changes for a window (deferred)

const auto kGlobalEventWindowContentScaleImmediate

Event that is dispatched when content scale changes for a window (immediate)

const auto kGlobalEventWindowDrop

Event that is dispatched when a drag-and-drop event completes for a window (deferred)

const auto kGlobalEventWindowDropImmediate

Event that is dispatched when a drag-and-drop event completes for a window (immediate)

const auto kGlobalEventWindowFocus

Event that is dispatched when focus changes for a window (deferred)

const auto kGlobalEventWindowFocusImmediate

Event that is dispatched when focus changes for a window (immediate)

const auto kGlobalEventWindowMinimize

Event that is dispatched when minimize state changes for a window (deferred)

const auto kGlobalEventWindowMinimizeImmediate

Event that is dispatched when minimize state changes for a window (immediate)

const auto kGlobalEventWindowMove

Event that is dispatched when a window moves (deferred)

const auto kGlobalEventWindowMoveImmediate

Event that is dispatched when a window moves (immediate)

const auto kGlobalEventWindowResize

Event that is dispatched when a window resizes (deferred)

const auto kGlobalEventWindowResizeImmediate

Event that is dispatched when a window resizes (immediate)

constexpr const uint64_t kPositionCentered

constexpr const uint64_t kPositionUnset

constexpr char kWindowAlwaysOnTopPath

Whether application window is always on top.

constexpr char kWindowBlockAllInputPath

If application window blocks all input device.

constexpr char kWindowChildWindowsOnTopPath

Whether child windows are on top.

constexpr char kWindowCursorBlinkPath

If cursor blinks.

constexpr char kWindowDpiScaleOverridePath

DPI scale overrides value.

constexpr char kWindowEnabledPath

Whether application window is enabled.

constexpr char kWindowFullscreenPath

Whether application window is fullscreen.

constexpr char kWindowHeightPath

Height of application window.

constexpr char kWindowHideMouseInFullscreenPath

Whether application window hides mouse in fullscreen mode.

constexpr char kWindowIconPath

Icon path of the application window.

constexpr char kWindowMaximizedPath

Whether application window is maximized.

constexpr char kWindowNoDecorationsPath

Whether application window has no decorations.

constexpr char kWindowNoResizePath

Whether application window not allows resize.

constexpr char kWindowScaleToMonitorPath

Whether application window DPI is scaled with monitor DPI.

constexpr char kWindowTitlePath

Title of the application window.

constexpr char kWindowWidthPath

Width of application window.

constexpr char kWindowXPath

The x coordinate of the window.

constexpr char kWindowYPath

The y coordinate of the window.

constexpr char kpWindowHeightPath

previous saved height of application window.

constexpr char kpWindowMaximizedPath

previous saved state of whether application window is maximized.

constexpr char kpWindowWidthPath

previous saved width of application window.