Sostituite add_* con xvt_ctl_create
git-svn-id: svn://10.65.10.50/trunk@2786 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
d2e6f2d15e
commit
3043bbda5a
@ -529,9 +529,13 @@ void TArchive::stop_job()
|
|||||||
TProgress_win::TProgress_win(const char* title, TArchive* arc)
|
TProgress_win::TProgress_win(const char* title, TArchive* arc)
|
||||||
: TMask(title, 1, 60, 5), _arc(arc)
|
: TMask(title, 1, 60, 5), _arc(arc)
|
||||||
{
|
{
|
||||||
WINDOW wtxt = add_string(101, 0, "", -11, 1, 56, "D");
|
RCT rct;
|
||||||
WINDOW wnum = add_number(102, 0, "", -11, 2, 4, "D");
|
xvt_rect_set(&rct, CHARX, CHARY, 58*CHARX, 2*CHARY);
|
||||||
WINDOW wcan = add_button(DLG_USER, 0, "#102Cancel", -11, 3, 10, 2);
|
WINDOW wtxt = xvt_ctl_create(WC_EDIT, &rct, "", win(), CTL_FLAG_DISABLED, (long)this, 101);
|
||||||
|
xvt_rect_set(&rct, 28*CHARX, 3*CHARY, 32*CHARX, 4*CHARY);
|
||||||
|
WINDOW wnum = xvt_ctl_create(WC_EDIT, &rct, "", win(), CTL_FLAG_DISABLED, (long)this, 102);
|
||||||
|
|
||||||
|
add_button(DLG_USER, 0, "Cancel", -11, 3, 10, 2, "", BMP_CANCEL);
|
||||||
set_handler(DLG_USER, cancel_handler);
|
set_handler(DLG_USER, cancel_handler);
|
||||||
|
|
||||||
#if XVT_OS == XVT_OS_WIN
|
#if XVT_OS == XVT_OS_WIN
|
||||||
|
Loading…
x
Reference in New Issue
Block a user