GetWindowScale

(Difference between revisions)
Jump to: navigation, search
(Created page with "Get window's width and height as a table. scale = getWindowScale() width = scale[1] height = scale[2]")
 
Line 4: Line 4:
 
  width = scale[1]
 
  width = scale[1]
 
  height = scale[2]
 
  height = scale[2]
 +
 +
[[Category:Lua scripting]]

Revision as of 19:17, 4 February 2014

Get window's width and height as a table.

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