Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/menu/data/gui/scripts/NewAudioMenu.lua @ 6336

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
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.