ContextMenu
┗> Object > Class
Methods
ContextMenu:addMenuItem(name: any, description: any, callback: any, options: any)
Arguments:
name: any | |
description: any | |
callback: any | |
options: any |
ContextMenu:isMouseOver(x1: any, y1: any, x2: any, y2: any)
Arguments:
x1: any | |
y1: any | |
x2: any | |
y2: any |
Returns:
1: boolean |
ContextMenu:onMousePressed(x: any, y: any, button: any, istouch: any, presses: any)
Arguments:
x: any | |
y: any | |
button: any | |
istouch: any | |
presses: any |
Returns:
1: boolean |
ContextMenu:onMouseReleased(x: any, y: any, button: any, istouch: any, presses: any)
Arguments:
x: any | |
y: any | |
button: any | |
istouch: any | |
presses: any |
Fields
Undocumented
ContextMenu.font: love.Font|nil
Defines the shape of characters that can be drawn onto the screen.