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/MultiplayerOptionsMenu.lua

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