Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/consolecommands/data/gui/scripts/GUITools.lua @ 6518

Last change on this file since 6518 was 6311, checked in by dafrick, 15 years ago

The KeyBindMenu now shows all Keybindings and allows for various manipulations.
For this the bookkeeping in KeyBinder has ben improved.
Also KeyEscape now can't be bound to other commands.

File size: 394 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, closeButton, arguments)
8    showGUI("InfoPopup", false, true)
9    InfoPopup.execute(functionPtr, arguments)
10    InfoPopup.setText(text)
11    InfoPopup.setCloseButton(closeButton)
12end
Note: See TracBrowser for help on using the repository browser.