Modifica 9021
git-svn-id: svn://10.65.10.50/trunk@1759 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
15833a6b29
commit
0d9a5bcc55
@ -506,11 +506,21 @@ void TMask_field::reset()
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Certified 100%
|
// Certified 00%
|
||||||
void TMask_field::set_prompt(const char* p)
|
void TMask_field::set_prompt(const char* p)
|
||||||
{
|
{
|
||||||
if (_promptwin != NULL_WIN)
|
if (_promptwin != NULL_WIN)
|
||||||
xvt_vobj_set_title(_promptwin, (char*) p);
|
xvt_vobj_set_title(_promptwin, (char*) p);
|
||||||
|
|
||||||
|
if (*p++ == '@')
|
||||||
|
{
|
||||||
|
if (toupper(*p) == 'U')
|
||||||
|
xvt_set_font(_win, "", XVT_FS_UNDERLINE, CHARY-12);
|
||||||
|
if (toupper(*p) == 'B')
|
||||||
|
xvt_set_font(_win, "", XVT_FS_BOLD, CHARY-12);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
xvt_set_font(_win, "", XVT_FS_NONE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user