CorsixTH Lua Documentation

UIScrollSpeed Class

A window for setting the scroll speed of the camera.

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

Method Index

Member Index

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

Parameters:

NameTypeDescription
ui ? ?
callback ? ?

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

function UIScrollSpeed:close(ok)

Parameters:

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

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

function UIScrollSpeed:onMouseUp(button, x, y)

Parameters:

NameTypeDescription
button ? ?
x ? ?
y ? ?

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