Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 24, 2010, 5:03:27 PM (14 years ago)
Author:
rgrieder
Message:

Simplified BasicGUI construction. Just give the name of the GUI as argument. The rest will be deduced.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/gamestate/data/gui/scripts/InfoPopup.lua

    r6417 r6459  
    22
    33BasicGUI = require("BasicGUI")
    4 local P = BasicGUI:new() --inherit everything from the gui package
     4local P = BasicGUI:new("InfoPopup")
    55
    66if _REQUIREDNAME == nil then
     
    99    _G[_REQUIREDNAME] = P
    1010end
    11 
    12 P.filename = "InfoPopup"
    13 P.layoutString = "InfoPopup.layout"
    1411
    1512function P:init()
Note: See TracChangeset for help on using the changeset viewer.