CorsixTH Lua Documentation

UIZoomSpeed Class

Window to set the zoom speed of the scroll wheel while in-game.

Declared on: line 888 of Lua/dialogs/resizables/options.lua.
Inheritance: UIZoomSpeed » UIResizable » Window

Method Index

Member Index

(*) only used in superclass methods
function UIZoomSpeed:UIZoomSpeed(ui, callback)

Parameters:

NameTypeDescription
ui ? ?
callback ? ?

Declared on: line 894 of Lua/dialogs/resizables/options.lua.

function UIZoomSpeed:close(ok)

Parameters:

NameTypeDescription
ok boolean or or or nil whether the zoom speed entry was confirmed (true) or aborted (false)

Overrides: Window:close.
Declared on: line 947 of Lua/dialogs/resizables/options.lua.

function UIZoomSpeed:onMouseUp(button, x, y)

Parameters:

NameTypeDescription
button ? ?
x ? ?
y ? ?

Overrides: Window:onMouseUp.
Declared on: line 940 of Lua/dialogs/resizables/options.lua.