Last change
on this file since 6987 was
6722,
checked in by rgrieder, 15 years ago
|
Renamed showGUI and hideGUI to showMenuSheet and hideMenuSheet.
|
-
Property svn:eol-style set to
native
|
File size:
730 bytes
|
Rev | Line | |
---|
[6363] | 1 | -- SettingsMenu.lua |
---|
| 2 | |
---|
[6718] | 3 | local P = createMenuSheet("SettingsMenu") |
---|
[6363] | 4 | |
---|
| 5 | function P.SettingsGameplayButton_clicked(e) |
---|
[6722] | 6 | showMenuSheet("GameplayMenu", true) |
---|
[6363] | 7 | end |
---|
| 8 | |
---|
| 9 | function P.SettingsMultiplayerOptionsButton_clicked(e) |
---|
[6722] | 10 | showMenuSheet("MultiplayerOptionsMenu", true) |
---|
[6363] | 11 | end |
---|
| 12 | |
---|
| 13 | function P.SettingsControlsButton_clicked(e) |
---|
[6722] | 14 | showMenuSheet("ControlsMenu", true) |
---|
[6363] | 15 | end |
---|
| 16 | |
---|
| 17 | function P.SettingsGraphicsButton_clicked(e) |
---|
[6722] | 18 | showMenuSheet("GraphicsMenu", true) |
---|
[6363] | 19 | end |
---|
| 20 | |
---|
| 21 | function P.SettingsAudioButton_clicked(e) |
---|
[6722] | 22 | showMenuSheet("AudioMenu", true) |
---|
[6363] | 23 | end |
---|
| 24 | |
---|
| 25 | function P.SettingsResetSettingsButton_clicked(e) |
---|
| 26 | -- reset settings |
---|
[6662] | 27 | logMessage(0, "event: reset settings") |
---|
[6363] | 28 | end |
---|
| 29 | |
---|
| 30 | function P.SettingsBackButton_clicked(e) |
---|
[6722] | 31 | hideMenuSheet(P.name) |
---|
[6363] | 32 | end |
---|
| 33 | |
---|
| 34 | return P |
---|
| 35 | |
---|
Note: See
TracBrowser
for help on using the repository browser.