Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 26, 2010, 8:51:37 PM (15 years ago)
Author:
rgrieder
Message:

Simplified GUI sheet creation (first lines in the lua file) a lot by exporting it to GUITools.lua

File:
1 edited

Legend:

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

    r6571 r6621  
    11-- SingleplayerMenu.lua
    22
    3 BasicGUI = require("BasicGUI")
    4 local P = BasicGUI:new("SingleplayerMenu")
    5 if _REQUIREDNAME == nil then
    6     SingleplayerMenu = P
    7 else
    8     _G[_REQUIREDNAME] = P
    9 end
     3local P = createSheet("SingleplayerMenu")
    104
    115function P:init()
Note: See TracChangeset for help on using the changeset viewer.