44 load(
"mainmenu8x6_p");
56 if (widget.
getTag() ==
"LBL_GAMELOGO") {
62 if (widget.
getTag() ==
"BTN_WARP") {
68 if (widget.
getTag() ==
"LBL_NEWCONTENT") {
74 if (widget.
getTag() ==
"LB_MODULES") {
98 if (widget.
getTag() ==
"BTN_EXIT") {
105 if (widget.
getTag() ==
"BTN_NEWGAME") {
Sound::ChannelHandle _menuMusic
void load(const Common::UString &resref)
uint32 _returnCode
The GUI's return code.
void callbackActive(Widget &widget)
Callback that's triggered when a widget was activated.
void createClassSelection()
Common::ScopedPtr< GUI > _classSelection
Utility templates and functions.
The global events manager.
The KotOR 2 class selection.
uint32 sub(GUI &gui, uint32 startCode=kStartCodeNone, bool showSelf=true, bool hideSelf=true)
Open up a sub GUI.
The global sound manager, handling all sound output.
#define SoundMan
Shortcut for accessing the sound manager.
The context needed to run a Star Wars: Knights of the Old Republic II - The Sith Lords module...
#define EventMan
Shortcut for accessing the events manager.
Sound::ChannelHandle playSound(const Common::UString &sound, Sound::SoundType soundType, bool loop, float volume, bool pitchVariance)
Play this sound resource.
MainMenu(Module &module, ::Engines::Console *console=0)
Generic Aurora engines utility functions.
virtual void initWidget(Widget &widget)
void initWidget(Widget &widget)