DxGUI/dxGetDefaultTheme: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<pageclass class="client" subcaption="GUI Class method"></pageclass> __NOTOC__ You can use this function to get default theme. ==Syntax== <syntaxhighlight lang="lua"> dxTheme dxGetDefaultThem...") |
(No difference)
|
Latest revision as of 20:14, 25 May 2012
You can use this function to get default theme.
Syntax
dxTheme dxGetDefaultTheme ( )
Returns
Returns a dxTheme if it was successfully got which then can use other methods, false otherwise.
Example
This example create a window based on an orange theme.And create a button based on default theme.
local orange = dxGetTheme("Orange") dxCreateWindow(....,orange) local default = dxGetDefaultTheme() dxCreateButton(....,default)