LuaBox
Loading...
Searching...
No Matches
DisplaySize.h File Reference
#include "lua_include.h"
#include "global.h"

Go to the source code of this file.

Functions

int DisplaySize (lua_State *L)
 Get the current display size.

Function Documentation

◆ DisplaySize()

int DisplaySize ( lua_State * L)

Get the current display size.

Parameters
L_Lua state.
Returns
int Pushes a Lua table with keys:
  • "x": width of the display in pixels
  • "y": height of the display in pixels