Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/gamestate/data/gui/scripts/ControlsMenu.lua @ 6869

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

Simplified GUI sheet creation (first lines in the lua file) a lot by exporting it to GUITools.lua

  • Property svn:eol-style set to native
File size: 325 bytes
Line 
1-- ControlsMenu.lua
2
3local P = createSheet("ControlsMenu")
4
5function P.ControlsMouseControlsButton_clicked(e)
6    showGUI("MouseControlsMenu", true)
7end
8
9function P.ControlsKeyboardControlsButton_clicked(e)
10    showGUI("KeyBindMenu", true)
11end
12
13function P.ControlsBackButton_clicked(e)
14    hideGUI(P.filename)
15end
16
17return P
18
Note: See TracBrowser for help on using the repository browser.