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