9 #define TXT_JUSTIFY_LEFT "\03(j:0)"
10 #define TXT_JUSTIFY_CENTRE "\03(j:1)"
11 #define TXT_JUSTIFY_RIGHT "\03(j:2)"
13 #define CHAR_UP "\03(i:1)"
14 #define CHAR_DOWN "\03(i:2)"
15 #define CHAR_UPDOWN "\03(i:3)"
16 #define CHAR_CHECKMARK "\03(i:4)"
17 #define CHAR_LEFTRIGHT "\03(i:5)"
18 #define CHAR_QUAD "\03(i:6)"
19 #define CHAR_PAN "\03(i:7)"
20 #define CHAR_PLUS "\03(i:8)"
21 #define CHAR_MINUS "\03(i:9)"
22 #define CHAR_CIRCLE "\03(i:10)"
23 #define CHAR_ELLIPSIS "\03(i:28)"
24 #define CHAR_COLOUR(x) "\03(c:" #x ")"
31 void static Info(
const std::string &a)
35 void static Info(
const std::string &a,
const std::string &b)
37 globPtr->info(a.c_str(),b.c_str());
39 void static Error(
const std::string &a)
43 void static Error(
const std::string &a,
const std::string &b)
45 globPtr->error(a.c_str(),b.c_str());
51 void static Warning(
const std::string &a,
const std::string &b )
53 globPtr->warning(a.c_str(),b.c_str());
55 int static OkCancel(
const std::string &t,
const std::string &a,
const std::string &b =
"")
57 return globPtr->okCancel(t.c_str(),a.c_str(),b.c_str());
59 int static YesNo(
const std::string &t,
const std::string &a,
const std::string &b =
"")
61 return globPtr->yesNo(t.c_str(),a.c_str(),b.c_str());
63 int static YesNoCan(
const std::string &t,
const std::string &a,
const std::string &b =
"")
65 return globPtr->yesNoCan(t.c_str(),a.c_str(),b.c_str());
67 int static YesNoAll(
const std::string &t,
const std::string &a,
const std::string &b =
"")
69 return globPtr->yesNoAll(t.c_str(),a.c_str(),b.c_str());
71 void static InfoPanel (
const char *title,
const char *text)
73 enum {ID_TEXT = 0xb000};
74 LWXPanelControl ctrl_list[] =
76 {ID_TEXT,
"sInfo",
"string"},
79 LWXPanelDataDesc data_descrip[] = { { 0 } };
83 XpDLOGTYPE(LWXPDLG_OKONLY),
93 if (xpanel.
Post() == 1)
102 #endif // LWPP_MESSAGE_H