Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 7, 2009, 9:45:39 PM (14 years ago)
Author:
dafrick
Message:

KeyBindMenu is working now. (Apart from some minor faults)
Found some commandExecutor("show/hideGUI …") in DecisionPopup, and another possible bug.
Added an InfoPopup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation2/data/gui/scripts/GUITools.lua

    r6150 r6266  
    11function openDecisionPopup( text, callbackPtr )
    2     orxonox.CommandExecutor:execute("showGUI DecisionPopup false true")
    3 --     showGUI("DecisionPopup", false, true)
    4     DecisionPopup.setCallback(InGameMenu.callback)
     2    showGUI("DecisionPopup", false, true)
     3    DecisionPopup.setCallback(callbackPtr)
    54    DecisionPopup.setText(text)
    65end
     6
     7function openInfoPopup( text, functionPtr )
     8    showGUI("InfoPopup", false, true)
     9    InfoPopup.setDo(functionPtr)
     10    InfoPopup.setText(text)
     11end
Note: See TracChangeset for help on using the changeset viewer.