GetWindowScale

From MaratisWiki
(Difference between revisions)
Jump to: navigation, search
 
(One intermediate revision by one user not shown)
Line 1: Line 1:
 +
{{lua-function|getWindowScale|}}
 +
 
Get window's width and height as a table.
 
Get window's width and height as a table.
  
Line 6: Line 8:
  
 
[[Category:Lua scripting]]
 
[[Category:Lua scripting]]
 +
[[Category:Lua function]]
 +
[[Category:System]]

Latest revision as of 17:54, 8 February 2014

getWindowScale()

Get window's width and height as a table.

scale = getWindowScale()
width = scale[1]
height = scale[2]
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox