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

    r6417 r6621  
     1function createSheet(sheetName)
     2    -- Create object of type BasicGUI and make it global
     3    local sheet = require("BasicGUI"):new(sheetName)
     4    _G[sheetName] = sheet
     5    return sheet
     6end
     7
    18function openDecisionPopup( text, callbackPtr )
    29    showGUI("DecisionPopup", false, true)
Note: See TracChangeset for help on using the changeset viewer.