Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/trunk/data/gui/scripts/SettingsMenu.lua @ 7364

Last change on this file since 7364 was 7163, checked in by dafrick, 14 years ago

Merged presentation3 branch into trunk.

  • Property svn:eol-style set to native
File size: 769 bytes
RevLine 
[6363]1-- SettingsMenu.lua
2
[6746]3local P = createMenuSheet("SettingsMenu")
[6748]4P.loadAlong = { "ControlsMenu", "AudioMenu", "GraphicsMenu" }
[6363]5
6function P.SettingsGameplayButton_clicked(e)
[6746]7    showMenuSheet("GameplayMenu", true)
[6363]8end
9
10function P.SettingsMultiplayerOptionsButton_clicked(e)
[6746]11    showMenuSheet("MultiplayerOptionsMenu", true)
[6363]12end
13
14function P.SettingsControlsButton_clicked(e)
[6746]15    showMenuSheet("ControlsMenu", true)
[6363]16end
17
18function P.SettingsGraphicsButton_clicked(e)
[6746]19    showMenuSheet("GraphicsMenu", true)
[6363]20end
21
22function P.SettingsAudioButton_clicked(e)
[6746]23    showMenuSheet("AudioMenu", true)
[6363]24end
25
[7163]26function P.SettingsMiscellaneousButton_clicked(e)
27    showMenuSheet("MiscConfigMenu", true)
[6363]28end
29
30function P.SettingsBackButton_clicked(e)
[6746]31    hideMenuSheet(P.name)
[6363]32end
33
34return P
35
Note: See TracBrowser for help on using the repository browser.