Package horizons :: Package gui :: Module gui :: Class Gui
[hide private]
[frames] | no frames]

Class Gui

source code

This class handles all the out of game menu, like the main and pause menu, etc.

Instance Methods [hide private]
 
__init__(self) source code
 
show_main(self)
Shows the main menu
source code
 
show_select_savegame(self, mode) source code
 
load_game(self) source code
 
on_help(self) source code
 
show_credits(self)
Shows the credits dialog.
source code
 
on_escape(self) source code
 
on_return(self) source code
 
close_all(self) source code
 
show_loading_screen(self) source code
 
_on_gui_click_action(self, msg)
Make a sound when a button is clicked
source code
 
_on_gui_cancel_action(self, msg)
Make a sound when a cancelButton is clicked
source code
 
_on_gui_hover_action(self, msg)
Make a sound when the mouse hovers over a button
source code
 
show_editor_start_menu(self) source code
Class Variables [hide private]
  log = logging.getLogger("gui")