Display a dialog with radio buttons. ! @return zero-based index of the chosen button, or -1 if Services not installed. @param message main message in the dialog @param title dialog title @param buttons labels for individual radio buttons @param boxMsg label for the group of buttons @param helpPage identifies a manual page @param log whether to add a "Show Log for Details" push button */
| 369 | @param log whether to add a "Show Log for Details" push button |
| 370 | */ |
| 371 | inline int ShowMultiDialog(const TranslatableString &message, |
| 372 | const TranslatableString &title, |
| 373 | const TranslatableStrings &buttons, |
| 374 | const ManualPageID &helpPage, |
| 375 | const TranslatableString &boxMsg, bool log) |
| 376 | { |
| 377 | if (auto p = Get()) |
| 378 | return p->DoMultiDialog(message, title, buttons, helpPage, boxMsg, log); |
| 379 | else |
| 380 | return -1; |
| 381 | } |
| 382 | |
| 383 | //! Find the window that is accepting keyboard input, if any |
| 384 | /*! |
no test coverage detected