Last change
on this file since 6284 was
6283,
checked in by dafrick, 15 years ago
|
Some enhancements in KeyBindMenu.lua and InfoPopup, clear doesn't work, yet.
|
File size:
372 bytes
|
Line | |
---|
1 | function openDecisionPopup( text, callbackPtr ) |
---|
2 | showGUI("DecisionPopup", false, true) |
---|
3 | DecisionPopup.setCallback(callbackPtr) |
---|
4 | DecisionPopup.setText(text) |
---|
5 | end |
---|
6 | |
---|
7 | function openInfoPopup(text, functionPtr, closeButton) |
---|
8 | showGUI("InfoPopup", false, true) |
---|
9 | InfoPopup.execute(functionPtr) |
---|
10 | InfoPopup.setText(text) |
---|
11 | InfoPopup.setCloseButton(closeButton) |
---|
12 | end |
---|
Note: See
TracBrowser
for help on using the repository browser.