Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/presentation2/data/gui/scripts/NewControlsMenu.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: 658 bytes
Line 
1-- NewControlsMenu.lua
2
3BasicGUI = require("BasicGUI")
4local P = BasicGUI:new() --inherit everything from the gui package
5if _REQUIREDNAME == nil then
6    NewControlsMenu = P
7else
8    _G[_REQUIREDNAME] = P
9end
10
11P.filename = "NewControlsMenu"
12P.layoutString = "NewControlsMenu.layout"
13
14function P.ControlsMouseControlsButton_clicked(e)
15    showGUI("NewMouseControlsMenu")
16    debug("event: MOUSE CONTROLS")
17end
18
19function P.ControlsKeyboardControlsButton_clicked(e)
20    showGUI("NewKeyboardControlsMenu")
21    debug("event: KEYBOARD CONTROLS")
22end
23
24function P.ControlsBackButton_clicked(e)
25    hideGUI("NewControlsMenu")
26    debug("event: back")
27end
28
29return P
30
Note: See TracBrowser for help on using the repository browser.