Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/pickup2/data/gui/scripts/ControlsMenu.lua @ 6532

Last change on this file since 6532 was 6412, checked in by dafrick, 15 years ago

Merged presentation2 branch into pickup2 branch.

  • Property svn:eol-style set to native
File size: 538 bytes
RevLine 
[6363]1-- ControlsMenu.lua
2
3BasicGUI = require("BasicGUI")
4local P = BasicGUI:new() --inherit everything from the gui package
5if _REQUIREDNAME == nil then
6    ControlsMenu = P
7else
8    _G[_REQUIREDNAME] = P
9end
10
11P.filename = "ControlsMenu"
12P.layoutString = "ControlsMenu.layout"
13
14function P.ControlsMouseControlsButton_clicked(e)
15    showGUI("MouseControlsMenu", true)
16end
17
18function P.ControlsKeyboardControlsButton_clicked(e)
19    showGUI("KeyBindMenu", true)
20end
21
22function P.ControlsBackButton_clicked(e)
23    hideGUI(P.filename)
24end
25
26return P
27
Note: See TracBrowser for help on using the repository browser.