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
|
Rev | Line | |
---|
[6145] | 1 | function openDecisionPopup( text, callbackPtr ) |
---|
[6266] | 2 | showGUI("DecisionPopup", false, true) |
---|
| 3 | DecisionPopup.setCallback(callbackPtr) |
---|
[6145] | 4 | DecisionPopup.setText(text) |
---|
[6266] | 5 | end |
---|
| 6 | |
---|
[6283] | 7 | function openInfoPopup(text, functionPtr, closeButton) |
---|
[6266] | 8 | showGUI("InfoPopup", false, true) |
---|
[6283] | 9 | InfoPopup.execute(functionPtr) |
---|
[6266] | 10 | InfoPopup.setText(text) |
---|
[6283] | 11 | InfoPopup.setCloseButton(closeButton) |
---|
[6266] | 12 | end |
---|
Note: See
TracBrowser
for help on using the repository browser.