Last change
on this file since 7621 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
|
Line | |
---|
1 | -- SettingsMenu.lua |
---|
2 | |
---|
3 | local P = createMenuSheet("SettingsMenu") |
---|
4 | P.loadAlong = { "ControlsMenu", "AudioMenu", "GraphicsMenu" } |
---|
5 | |
---|
6 | function P.SettingsGameplayButton_clicked(e) |
---|
7 | showMenuSheet("GameplayMenu", true) |
---|
8 | end |
---|
9 | |
---|
10 | function P.SettingsMultiplayerOptionsButton_clicked(e) |
---|
11 | showMenuSheet("MultiplayerOptionsMenu", true) |
---|
12 | end |
---|
13 | |
---|
14 | function P.SettingsControlsButton_clicked(e) |
---|
15 | showMenuSheet("ControlsMenu", true) |
---|
16 | end |
---|
17 | |
---|
18 | function P.SettingsGraphicsButton_clicked(e) |
---|
19 | showMenuSheet("GraphicsMenu", true) |
---|
20 | end |
---|
21 | |
---|
22 | function P.SettingsAudioButton_clicked(e) |
---|
23 | showMenuSheet("AudioMenu", true) |
---|
24 | end |
---|
25 | |
---|
26 | function P.SettingsMiscellaneousButton_clicked(e) |
---|
27 | showMenuSheet("MiscConfigMenu", true) |
---|
28 | end |
---|
29 | |
---|
30 | function P.SettingsBackButton_clicked(e) |
---|
31 | hideMenuSheet(P.name) |
---|
32 | end |
---|
33 | |
---|
34 | return P |
---|
35 | |
---|
Note: See
TracBrowser
for help on using the repository browser.