Module dlangui.platforms.common.platform
This module contains common Plaform definitions.
Platform
is abstraction layer for application.
Synopsis
import dlangui .platforms .common .platform;
Functions
Name | Description |
---|---|
DLANGUImain
|
|
initFontManager
|
initialize font manager on startup |
initLogs
|
initialize logging (for win32 - to file ui.log, for other platforms - stderr; log level is TRACE for debug builds, and WARN for release builds) |
initResourceManagers
|
call this on application initialization |
initSharedResourceManagers
|
call this from shared static this() |
openglEnabled
|
check if hardware acceleration is enabled |
platform
|
get current platform object instance
|
releaseResourcesOnAppExit
|
call this when all resources are supposed to be freed to report counts of non-freed resources by type |
setOpenglEnabled
|
call on app initialization if OpenGL support is detected |
UIAppMain
|
entry point - declare such function to use as main for dlangui app
|
Classes
Name | Description |
---|---|
EventList
|
protected event list |
Platform
|
Platform abstraction layer.
|
TimerInfo
|
|
Window
|
Window abstraction layer. Widgets can be shown only inside window.
|
Enums
Name | Description |
---|---|
WindowFlag
|
window creation flags |
Templates
Name | Description |
---|---|
APP_ENTRY_POINT
|
put "mixin APP_ENTRY_POINT ;" to main module of your dlangui based app
|
Authors
Vadim Lopatin, coolreader.org@gmail.com
Copyright
Vadim Lopatin, 2014
License
Boost License 1.0