Class Win32Platform
Inherits from
-
(base class)Platform
Constructors
Name | Description |
---|---|
this
|
Fields
Name | Type | Description |
---|---|---|
_windowToClose
|
Win32Window |
|
_instance
|
Platform |
|
_resourceDirs
|
string[] |
|
_themeId
|
string |
|
_uiLanguage
|
string |
Properties
Name | Type | Description |
---|---|---|
windowCount
[get]
|
int |
returns number of currently active windows |
instance
[get]
|
Platform |
|
resourceDirs
[get]
|
string[] |
returns list of resource directories |
resourceDirs
[set]
|
Platform |
set list of directories to load resources from |
uiLanguage
[get]
|
string |
returns currently selected UI language code |
uiLanguage
[set]
|
Platform |
set UI language (e.g. "en", "fr", "ru") - will relayout content of all windows if language has been changed |
uiTheme
[get]
|
string |
|
uiTheme
[set]
|
Platform |
sets application UI theme - will relayout content of all windows if theme has been changed |
Methods
Name | Description |
---|---|
closeWindow
|
close window |
createWindow
|
create window |
enterMessageLoop
|
Starts application message loop. |
getClipboardText
|
retrieves text from clipboard (when mouseBuffer == true, use mouse selection clipboard - under linux)
|
getWindow
|
returns window instance by HWND
|
onWindowCreated
|
add window to window map
|
onWindowDestroyed
|
remove window from window map, returns true if there are some more windows left in map
|
registerWndClass
|
|
requestLayout
|
calls request layout for all windows |
setClipboardText
|
sets text to clipboard (when mouseBuffer == true, use mouse selection clipboard - under linux)
|
setInstance
|
Authors
Vadim Lopatin, coolreader.org@gmail.com
Copyright
Vadim Lopatin, 2014
License
Boost License 1.0