CorsixTH Lua Documentation

UIJukebox Class

Declared on: line 24 of Lua/dialogs/jukebox.lua.
Inheritance: UIJukebox ยป Window

Method Index

Member Index

(*) only used in superclass methods
function UIJukebox:UIJukebox(app)

Parameters:

NameTypeDescription
app ? ?

Declared on: line 29 of Lua/dialogs/jukebox.lua.

function UIJukebox:afterLoad(old, new)

Parameters:

NameTypeDescription
old ? ?
new ? ?

Overrides: Window:afterLoad.
Declared on: line 182 of Lua/dialogs/jukebox.lua.

function UIJukebox:draw(canvas, x, y)

Parameters:

NameTypeDescription
canvas ? ?
x ? ?
y ? ?

Overrides: Window:draw.
Declared on: line 156 of Lua/dialogs/jukebox.lua.

function UIJukebox:toggleTrack(index)

Parameters:

NameTypeDescription
index ? ?

Declared on: line 119 of Lua/dialogs/jukebox.lua.

function UIJukebox:updatePlayButton()

makes the play button consistent with the current status of the background music running -> toggled stopped -> not toggled paused -> not toggled

Declared on: line 87 of Lua/dialogs/jukebox.lua.