Patch level :10.0 705
Files correlati :ba1.exe Ricompilazione Demo : [ ] Commento : Aggiunta la No Tutti alla richiesta di reinstallazione di tutti i pacchi git-svn-id: svn://10.65.10.50/trunk@20324 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
2136e8ee86
commit
608dedf728
@ -85,6 +85,16 @@ bool noyes_box(
|
|||||||
return r == RESP_DEFAULT;
|
return r == RESP_DEFAULT;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// @msg noyesall_box | Crea una finestra di RICHIESTA con il relativo messaggio
|
||||||
|
int noyesall_box(
|
||||||
|
const char* fmt, // @parm Messaggio da stampare nella finestra
|
||||||
|
...) // @parmvar Uno o piu' parametri corrispondenti ai codici in <p fmt>
|
||||||
|
{
|
||||||
|
buildmsg();
|
||||||
|
ASK_RESPONSE r = xvt_dm_post_ask("No", "Si", "Si Tutti", msg);
|
||||||
|
return r == RESP_DEFAULT ? K_NO : (r == RESP_2 ? K_YES : K_SPACE);
|
||||||
|
}
|
||||||
|
|
||||||
// @doc EXTERNAL
|
// @doc EXTERNAL
|
||||||
// @msg yesno_box | Crea una finestra di RICHIESTA con il relativo messaggio
|
// @msg yesno_box | Crea una finestra di RICHIESTA con il relativo messaggio
|
||||||
bool yesno_box(
|
bool yesno_box(
|
||||||
@ -103,6 +113,16 @@ bool yesno_box(
|
|||||||
return r == RESP_DEFAULT;
|
return r == RESP_DEFAULT;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// @msg yesnoall_box | Crea una finestra di RICHIESTA con il relativo messaggio
|
||||||
|
int yesnoall_box(
|
||||||
|
const char* fmt, // @parm Messaggio da stampare nella finestra
|
||||||
|
...) // @parmvar Uno o piu' parametri corrispondenti ai codici in <p fmt>
|
||||||
|
{
|
||||||
|
buildmsg();
|
||||||
|
ASK_RESPONSE r = xvt_dm_post_ask("No", "Si", "No Tutti", msg);
|
||||||
|
return r == RESP_DEFAULT ? K_NO : (r == RESP_2 ? K_YES : K_SPACE);
|
||||||
|
}
|
||||||
|
|
||||||
// @doc EXTERNAL
|
// @doc EXTERNAL
|
||||||
// @msg yesnofatal_box | Crea una finestra di RICHIESTA con il relativo
|
// @msg yesnofatal_box | Crea una finestra di RICHIESTA con il relativo
|
||||||
// messaggio, ma permette di terminare il programma
|
// messaggio, ma permette di terminare il programma
|
||||||
|
@ -14,7 +14,9 @@ extern "C" {
|
|||||||
bool error_box(const char* fmt, ...);
|
bool error_box(const char* fmt, ...);
|
||||||
bool fatal_box(const char* fmt, ...);
|
bool fatal_box(const char* fmt, ...);
|
||||||
bool noyes_box(const char* fmt, ...);
|
bool noyes_box(const char* fmt, ...);
|
||||||
|
int noyesall_box(const char* fmt, ...);
|
||||||
bool yesno_box(const char* fmt, ...);
|
bool yesno_box(const char* fmt, ...);
|
||||||
|
int yesnoall_box(const char* fmt, ...);
|
||||||
int yesnocancel_box(const char* fmt, ...);
|
int yesnocancel_box(const char* fmt, ...);
|
||||||
bool yesnofatal_box(const char* fmt, ...);
|
bool yesnofatal_box(const char* fmt, ...);
|
||||||
bool cantread_box(const char* filename);
|
bool cantread_box(const char* filename);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user