Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/gamestates2/data/gui/scripts/ControlsMenu.lua @ 6595

Last change on this file since 6595 was 6595, checked in by rgrieder, 15 years ago

Merged remaining revisions from gamestate to gamestates2.

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