Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/gamestates2/data/gui/scripts/SettingsMenu.lua @ 6663

Last change on this file since 6663 was 6662, checked in by rgrieder, 15 years ago

Merged revisions 6621-6661 to gamestates2.

  • Property svn:eol-style set to native
File size: 694 bytes
RevLine 
[6363]1-- SettingsMenu.lua
2
[6662]3local P = createSheet("SettingsMenu")
[6363]4
5function P.SettingsGameplayButton_clicked(e)
6    showGUI("GameplayMenu", true)
7end
8
9function P.SettingsMultiplayerOptionsButton_clicked(e)
10    showGUI("MultiplayerOptionsMenu", true)
11end
12
13function P.SettingsControlsButton_clicked(e)
14    showGUI("ControlsMenu", true)
15end
16
17function P.SettingsGraphicsButton_clicked(e)
18    showGUI("GraphicsMenu", true)
19end
20
21function P.SettingsAudioButton_clicked(e)
22    showGUI("AudioMenu", true)
23end
24
25function P.SettingsResetSettingsButton_clicked(e)
26    -- reset settings
[6662]27    logMessage(0, "event: reset settings")
[6363]28end
29
30function P.SettingsBackButton_clicked(e)
31    hideGUI(P.filename)
32end
33
34return P
35
Note: See TracBrowser for help on using the repository browser.