Guition JC3248W535C (#467)
* Guition JC3248W535C Files app fix alert dialog and selection dialog fixes symbol export * Update Axs15231bDisplay.cpp * Update Axs15231bDisplay.cpp
This commit is contained in:
@@ -3,12 +3,12 @@
|
||||
|
||||
extern "C" {
|
||||
|
||||
void tt_app_alertdialog_start(const char* title, const char* message, const char* buttonLabels[], uint32_t buttonLabelCount) {
|
||||
AppLaunchId tt_app_alertdialog_start(const char* title, const char* message, const char* buttonLabels[], uint32_t buttonLabelCount) {
|
||||
std::vector<std::string> list;
|
||||
for (int i = 0; i < buttonLabelCount; i++) {
|
||||
list.emplace_back(buttonLabels[i]);
|
||||
}
|
||||
tt::app::alertdialog::start(title, message, list);
|
||||
return tt::app::alertdialog::start(title, message, list);
|
||||
}
|
||||
|
||||
int32_t tt_app_alertdialog_get_result_index(BundleHandle handle) {
|
||||
|
||||
Reference in New Issue
Block a user