Documentation ¶
Overview ¶
Package menu is the graphical interface allowing to browse games, launch games, configure settings, and display a contextual menu to interract with the running game.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RenderNotifications ¶
func RenderNotifications()
RenderNotifications draws the list of notification messages on the viewport
Types ¶
type Menu ¶
type Menu struct {
// contains filtered or unexported fields
}
Menu is a type holding the menu state, the stack of scenes, tweens, etc
func Init ¶
Init initializes the menu. If a game is already running, it will warp the user to the quick menu. If not, it will display the menu tabs.
func (*Menu) ContextReset ¶
func (menu *Menu) ContextReset()
ContextReset uploads the UI images to the GPU. It should be called after each time the window is recreated.
func (*Menu) WarpToQuickMenu ¶
func (menu *Menu) WarpToQuickMenu()
WarpToQuickMenu loads the contextual menu for games that are launched from the command line interface or from 'Load Game'.