CorsixTH Lua Documentation

UIStaffManagement Class

Staff management screen

Declared on: line 23 of Lua/dialogs/fullscreen/staff_management.lua.
Inheritance: UIStaffManagement » UIFullscreen » Window

Method Index

Member Index

(*) only used in superclass methods
function UIStaffManagement:draw(canvas, x, y)

Parameters:

NameTypeDescription
canvas ? ?
x ? ?
y ? ?

Overrides: UIFullscreen:draw.
Declared on: line 259 of Lua/dialogs/fullscreen/staff_management.lua.

function UIStaffManagement:onMouseMove(x, y, dx, dy)

Parameters:

NameTypeDescription
x ? ?
y ? ?
dx ? ?
dy ? ?

Overrides: Window:onMouseMove.
Declared on: line 497 of Lua/dialogs/fullscreen/staff_management.lua.

function UIStaffManagement:onMouseUp(code, x, y)

Parameters:

NameTypeDescription
code ? ?
x ? ?
y ? ?

Overrides: Window:onMouseUp.
Declared on: line 531 of Lua/dialogs/fullscreen/staff_management.lua.

function UIStaffManagement:selectIndex(idx)

Function to select given list index in the current category. Includes jumping to correct page.

Parameters:

NameTypeDescription
idx ? ?

Declared on: line 237 of Lua/dialogs/fullscreen/staff_management.lua.

function UIStaffManagement:selectStaff(staff)

Function to select a given staff member. Includes switching to correct category and page.

Parameters:

NameTypeDescription
staff ? ?

Declared on: line 247 of Lua/dialogs/fullscreen/staff_management.lua.

function UIStaffManagement:updateScrollDot()

Updates the position of the paging scroll indicator

Declared on: line 626 of Lua/dialogs/fullscreen/staff_management.lua.

function UIStaffManagement:updateScrollDotVisibility()

Updates whether the paging scroll indicator is visible and its position if visible

Declared on: line 633 of Lua/dialogs/fullscreen/staff_management.lua.