Last change
on this file since 6336 was
6146,
checked in by cmueri, 15 years ago
|
10 new layout- and lua-files for the menues added
|
-
Property svn:executable set to
*
|
File size:
777 bytes
|
Line | |
---|
1 | -- NewAudioMenu.lua |
---|
2 | |
---|
3 | BasicGUI = require("BasicGUI") |
---|
4 | local P = BasicGUI:new() --inherit everything from the gui package |
---|
5 | if _REQUIREDNAME == nil then |
---|
6 | NewAudioMenu = P |
---|
7 | else |
---|
8 | _G[_REQUIREDNAME] = P |
---|
9 | end |
---|
10 | |
---|
11 | P.filename = "NewAudioMenu" |
---|
12 | P.layoutString = "NewAudioMenu.layout" |
---|
13 | |
---|
14 | function P.AudioMusicScrollbar_clicked(e) |
---|
15 | -- music volume |
---|
16 | debug("event: music volume") |
---|
17 | end |
---|
18 | |
---|
19 | function P.AudioSoundScrollbar_clicked(e) |
---|
20 | -- sound volume |
---|
21 | debug("event: sound volume") |
---|
22 | end |
---|
23 | |
---|
24 | function P.AudioMuteMusicCheckbox_clicked(e) |
---|
25 | -- mute music |
---|
26 | debug("event: mute music") |
---|
27 | end |
---|
28 | |
---|
29 | function P.AudioMuteSoundCheckbox_clicked(e) |
---|
30 | -- mute sound |
---|
31 | debug("event: mute sound") |
---|
32 | end |
---|
33 | |
---|
34 | function P.AudioBackButton_clicked(e) |
---|
35 | hideGUI("NewAudioMenu") |
---|
36 | debug("event: back") |
---|
37 | end |
---|
38 | |
---|
39 | return P |
---|
40 | |
---|
Note: See
TracBrowser
for help on using the repository browser.