Module beamui.platforms.common.platform

Common Platform definitions.

Platform is abstraction layer for application.

Import line

import beamui.platforms.common.platform;

Functions

NameDescription
disableOpenGL() Disable OpenGL acceleration on app initialization in case of failure
openglEnabled() Check if hardware acceleration is enabled
platform() Get current platform object instance
setState(currentValue, newValue)

Classes

NameDescription
EventList Protected event list
Platform Platform abstraction layer.
Window Window abstraction layer. Widgets can be shown only inside window.

Structs

NameDescription
AppConf Holds initial application settings. All of them require app restart to change
GuiApp Manages UI library (de)initialization
WindowMap Convenient window storage to use in specific platforms

Enums

NameDescription
DialogDisplayMode Dialog display modes - used to configure dialogs should be showed as a popup or window
WindowOptions Window creation flags
WindowState Window states

Templates

NameDescription
RegisterPlatforms This mixin links beamui and platform library together