Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/presentation2/data/gui/scripts/GUITools.lua @ 6266

Last change on this file since 6266 was 6266, checked in by dafrick, 14 years ago

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

File size: 317 bytes
Line 
1function openDecisionPopup( text, callbackPtr )
2    showGUI("DecisionPopup", false, true)
3    DecisionPopup.setCallback(callbackPtr)
4    DecisionPopup.setText(text)
5end
6
7function openInfoPopup( text, functionPtr )
8    showGUI("InfoPopup", false, true)
9    InfoPopup.setDo(functionPtr)
10    InfoPopup.setText(text)
11end
Note: See TracBrowser for help on using the repository browser.