mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-21 06:45:39 -06:00
CtrlLib: Using beep parameter for regular prompts (fixes override problem)
This commit is contained in:
parent
0cea273540
commit
ed95d1305c
5 changed files with 108 additions and 41 deletions
|
|
@ -165,6 +165,23 @@ int Prompt(const char *title, const Image& icon, const char *qtf,
|
|||
|
||||
enum { BEEP_NONE, BEEP_INFORMATION, BEEP_EXCLAMATION, BEEP_QUESTION, BEEP_ERROR };
|
||||
|
||||
int Prompt(Event<const String&> WhenLink, int beep,
|
||||
const char *title, const Image& iconbmp, const char *qtf, bool okcancel,
|
||||
const char *button1, const char *button2, const char *button3,
|
||||
int cx,
|
||||
Image im1, Image im2, Image im3);
|
||||
|
||||
int Prompt(Event<const String&> WhenLink, int beep,
|
||||
const char *title, const Image& icon, const char *qtf, bool okcancel,
|
||||
const char *button1, const char *button2 = NULL, const char *button3 = NULL,
|
||||
int cx = 0);
|
||||
int Prompt(int beep, const char *title, const Image& icon, const char *qtf, bool okcancel,
|
||||
const char *button1, const char *button2 = NULL, const char *button3 = NULL,
|
||||
int cx = 0);
|
||||
int Prompt(int beep, const char *title, const Image& icon, const char *qtf,
|
||||
const char *button1, const char *button2 = NULL, const char *button3 = NULL,
|
||||
int cx = 0);
|
||||
|
||||
int PromptOpt(const char *opt_id, int beep, Event<const String&> WhenLink,
|
||||
const char *title, const Image& icon, const char *qtf, bool okcancel,
|
||||
const char *button1, const char *button2, const char *button3,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue