|
Last change
on this file since 6266 was
6266,
checked in by dafrick, 16 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 | |
|---|
| 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 ) |
|---|
| 8 | showGUI("InfoPopup", false, true) |
|---|
| 9 | InfoPopup.setDo(functionPtr) |
|---|
| 10 | InfoPopup.setText(text) |
|---|
| 11 | end |
|---|
Note: See
TracBrowser
for help on using the repository browser.