Module CorsixTH.CorsixTH.Lua.dialogs.menu
The ingame menu bar which sits (nominally hidden) at the top of the screen.
Functions
| UIMenuBar:addMenu (title, menu) | Add a menu to the menu bar. |
| UIMenuBar:makeGameMenu (app) | Make a menu for the game. |
| UIMenuBar:makeMapeditorMenu (app) | Make a menu for the map editor. |
Functions
- UIMenuBar:addMenu (title, menu)
-
Add a menu to the menu bar.
Parameters:
- title Title of the menu (at the bar).
- menu Menu to add.
- UIMenuBar:makeGameMenu (app)
-
Make a menu for the game.
Parameters:
- app Application.
- UIMenuBar:makeMapeditorMenu (app)
-
Make a menu for the map editor.
Parameters:
- app Application.