Module beamui.platforms.common.platform
Common Platform definitions.
Platform is abstraction layer for application.
Import line
import beamui .platforms .common .platform;
Functions
Name | Description |
---|---|
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
Name | Description |
---|---|
EventList
|
Protected event list |
Platform
|
Platform abstraction layer. |
Window
|
Window abstraction layer. Widgets can be shown only inside window. |
Structs
Name | Description |
---|---|
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
Name | Description |
---|---|
DialogDisplayMode
|
Dialog display modes - used to configure dialogs should be showed as a popup or window |
WindowOptions
|
Window creation flags |
WindowState
|
Window states |
Templates
Name | Description |
---|---|
RegisterPlatforms
|
This mixin links beamui and platform library together
|