Skip to content

rq.UiWindow ​

since 2.67.0

What rq.ui.window returns.

Fields ​

NameTypeDescription
wintegerThe window's inside width, in points (pixels on a monitor at 100%).
hintegerThe window's inside height, in points.
pixels_wintegerIts width in pixels: w times the monitor's scale.
pixels_hintegerIts height in pixels.
view{x: integer, y: integer, w: integer, h: integer}Where the game's picture is drawn, in the window's pixels: all of it, or between bars when the window's shape is not 4 by 3.
scalenumberThe picture's enlargement: view.w over 1024.
fullscreenbooleanThe window fills the screen.
sharp_3dbooleanThe setting "3D at the window's size" is on (and works on this computer).
sharp_3d_shownbooleanThe last frame showed the 3D at the window's size.
sharp_3d_w (optional)integerThe 3D's picture's width then, in pixels; nil when not shown.
sharp_3d_h (optional)integerIts height.

Used by ​

rq.ui.window