Generate bindings in package. Support dialogs in dev mode.

This commit is contained in:
Lea Anthony
2021-02-09 21:10:06 +11:00
parent e860f3a00e
commit 21a0245985
14 changed files with 256 additions and 17 deletions

View File

@@ -785,7 +785,7 @@ extern void MessageDialog(struct Application *app, char *callbackID, char *type,
buttonPressed = button4;
}
// Construct callback message. Format "DS<callbackID>|<selected button index>"
// Construct callback message. Format "DM<callbackID>|<selected button index>"
const char *callback = concat("DM", callbackID);
const char *header = concat(callback, "|");
const char *responseMessage = concat(header, buttonPressed);