Last change
on this file since 6544 was
6459,
checked in by rgrieder, 15 years ago
|
Simplified BasicGUI construction. Just give the name of the GUI as argument. The rest will be deduced.
|
-
Property svn:eol-style set to
native
|
File size:
253 bytes
|
Line | |
---|
1 | -- CreditsMenu.lua |
---|
2 | |
---|
3 | BasicGUI = require("BasicGUI") |
---|
4 | local P = BasicGUI:new("CreditsMenu") |
---|
5 | if _REQUIREDNAME == nil then |
---|
6 | CreditsMenu = P |
---|
7 | else |
---|
8 | _G[_REQUIREDNAME] = P |
---|
9 | end |
---|
10 | |
---|
11 | function P.CreditsBackButton_clicked(e) |
---|
12 | hideGUI(P.filename) |
---|
13 | end |
---|
14 | |
---|
15 | return P |
---|
16 | |
---|
Note: See
TracBrowser
for help on using the repository browser.