Last change
on this file since 6279 was
6206,
checked in by cmueri, 15 years ago
|
The new menus (but not all functions of the menu) are now available.
|
File size:
410 bytes
|
Rev | Line | |
---|
[6206] | 1 | -- KeyboardControlsMenu.lua |
---|
| 2 | |
---|
| 3 | BasicGUI = require("BasicGUI") |
---|
| 4 | local P = BasicGUI:new() --inherit everything from the gui package |
---|
| 5 | if _REQUIREDNAME == nil then |
---|
| 6 | KeyboardControlsMenu = P |
---|
| 7 | else |
---|
| 8 | _G[_REQUIREDNAME] = P |
---|
| 9 | end |
---|
| 10 | |
---|
| 11 | P.filename = "KeyboardControlsMenu" |
---|
| 12 | P.layoutString = "KeyboardControlsMenu.layout" |
---|
| 13 | |
---|
| 14 | function P.KeyboardControlsBackButton_clicked(e) |
---|
| 15 | hideGUI(P.filename) |
---|
| 16 | end |
---|
| 17 | |
---|
| 18 | return P |
---|
Note: See
TracBrowser
for help on using the repository browser.