- Timestamp:
- Dec 9, 2009, 1:56:36 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation2/data/gui/scripts/InfoPopup.lua
r6266 r6283 15 15 end 16 16 17 function P.setDo(functionPtr) 18 P.functionPtr = functionPtr 19 if P.functionPtr ~= nil then 20 P.functionPtr() 17 function P.execute(functionPtr) 18 if functionPtr ~= nil then 19 functionPtr() 21 20 end 22 21 end … … 24 23 function P.setText( text ) 25 24 winMgr:getWindow("orxonox/InfoPopup_text"):setText( text ) 25 end 26 27 function P.setCloseButton(closeButton) 28 close = winMgr:getWindow("orxonox/InfoPopup_close") 29 close:setVisible(closeButton) 30 if(not closeButton) then 31 close:deactivate(); 32 else 33 close:activate(); 34 end 26 35 end 27 36
Note: See TracChangeset
for help on using the changeset viewer.