Module Feature.Menu.Menu
Project: Clock – Tamriel Standard Time
Author: Arne Rantzen (Tyx) Created: 2020–02–16 Updated: 2020–02–16 License: GPL-3.0
Functions
Clock_TST:SetupMenu () | Create the LibAddonMenu panel |
Local Functions
ShowFragment (libPanel) | Function to add fragment to game menu scene |
HideFragment (libPanel) | Function to remove fragment from game menu scene |
RegisterCallback () | Function to add callback to toggle visibility when panel is opened or closed |
RemoveCallback () | Function to remove callback to toggle visibility when panel is opened or closed |
AddMoon () | Create the Moon submenu |
AddDebug () | Create the Debug submenu |
Functions
Local Functions
- ShowFragment (libPanel)
-
Function to add fragment to game menu scene
Parameters:
- libPanel table panel
- HideFragment (libPanel)
-
Function to remove fragment from game menu scene
Parameters:
- libPanel table panel
- RegisterCallback ()
- Function to add callback to toggle visibility when panel is opened or closed
- RemoveCallback ()
- Function to remove callback to toggle visibility when panel is opened or closed
- AddMoon ()
- Create the Moon submenu
- AddDebug ()
- Create the Debug submenu