Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/presentation2/data/gui/scripts/NewAudioMenu.lua @ 6150

Last change on this file since 6150 was 6150, checked in by scheusso, 14 years ago

merged menu branch to presentation2 branch with some additional fixes and features ;)

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