UIMenu Class
Declared on: line 485 of Lua/dialogs/menu.lua.
Method Index
- appendBase(item)
- appendCheckItem(text, checked, callback, group, condition)
- appendItem(text, callback)
- appendMenu(text, menu)
- hitTest(x, y, padding)
Member Index
- has_size
- height
- hover_index
- hover_sound
- items
- parent
- prev_hover_index
- width
- x
- y
function UIMenu:UIMenu()
Declared on: line 490 of Lua/dialogs/menu.lua.
function UIMenu:appendBase(item)
Parameters:
| Name | Type | Description |
|---|---|---|
| item | ? | ? |
Declared on: line 518 of Lua/dialogs/menu.lua.
function UIMenu:appendCheckItem(text, checked, callback, group, condition)
Parameters:
| Name | Type | Description |
|---|---|---|
| text | ? | ? |
| checked | ? | ? |
| callback | ? | ? |
| group | ? | ? |
| condition | ? | ? |
Declared on: line 531 of Lua/dialogs/menu.lua.
function UIMenu:appendItem(text, callback)
Parameters:
| Name | Type | Description |
|---|---|---|
| text | ? | ? |
| callback | ? | ? |
Declared on: line 524 of Lua/dialogs/menu.lua.
function UIMenu:appendMenu(text, menu)
Parameters:
| Name | Type | Description |
|---|---|---|
| text | ? | ? |
| menu | ? | ? |
Declared on: line 542 of Lua/dialogs/menu.lua.
function UIMenu:hitTest(x, y, padding)
Parameters:
| Name | Type | Description |
|---|---|---|
| x | ? | ? |
| y | ? | ? |
| padding | ? | ? |
Declared on: line 499 of Lua/dialogs/menu.lua.