Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/menu/data/gui/scripts/NewControlsMenu.lua @ 6203

Last change on this file since 6203 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: 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.