Changeset 6595 for code/branches/gamestates2/data/gui/scripts/InfoPopup.lua
- Timestamp:
- Mar 22, 2010, 2:47:10 PM (14 years ago)
- Location:
- code/branches/gamestates2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/gamestates2
- Property svn:mergeinfo changed
/code/branches/gamestate merged: 6441-6442,6459,6537,6544-6546,6548,6564,6566-6567,6569,6571-6572
- Property svn:mergeinfo changed
-
code/branches/gamestates2/data/gui/scripts/InfoPopup.lua
r6417 r6595 2 2 3 3 BasicGUI = require("BasicGUI") 4 local P = BasicGUI:new( ) --inherit everything from the gui package4 local P = BasicGUI:new("InfoPopup") 5 5 6 6 if _REQUIREDNAME == nil then … … 8 8 else 9 9 _G[_REQUIREDNAME] = P 10 end11 12 P.filename = "InfoPopup"13 P.layoutString = "InfoPopup.layout"14 15 function P:init()16 10 end 17 11 … … 26 20 end 27 21 28 function P.setText( text)22 function P.setText(text) 29 23 winMgr:getWindow("orxonox/InfoPopup_text"):setText( text ) 30 24 end … … 42 36 -- events for ingamemenu 43 37 function P.close(e) 44 hideGUI( "InfoPopup")38 hideGUI(P.filename) 45 39 end 46 40
Note: See TracChangeset
for help on using the changeset viewer.