15 #define DISABLE_DEBUGLOG
18 #include "dlg_progress_p.h"
20 #include <gwenhywfar/gwenhywfar.h>
21 #include <gwenhywfar/pathmanager.h>
22 #include <gwenhywfar/debug.h>
23 #include <gwenhywfar/text.h>
27 #define DIALOG_MINWIDTH 520
28 #define DIALOG_MINHEIGHT 400
29 #define DIALOG_MINHEIGHT_NOLOG 100
41 GWEN_DLGPROGRESS *xdlg;
56 "gwenhywfar/dialogs/dlg_progress.dlg",
84 GWEN_DLGPROGRESS *xdlg;
86 xdlg=(GWEN_DLGPROGRESS*) p;
97 GWEN_DLGPROGRESS *xdlg;
113 GWEN_DLGPROGRESS *xdlg;
125 GWEN_DLGPROGRESS *xdlg;
131 return xdlg->stayOpen;
137 GWEN_DLGPROGRESS *xdlg;
143 if (xdlg->showLog!=b) {
151 i=xdlg->withLogWidth;
156 i=xdlg->withLogHeight;
168 GWEN_DLGPROGRESS *xdlg;
174 return xdlg->firstProgress;
180 GWEN_DLGPROGRESS *xdlg;
186 xdlg->firstProgress=pd;
189 if (xdlg->firstProgress) {
217 GWEN_DLGPROGRESS *xdlg;
223 return xdlg->secondProgress;
229 GWEN_DLGPROGRESS *xdlg;
235 xdlg->secondProgress=pd;
238 if (xdlg->secondProgress) {
257 GWEN_DLGPROGRESS *xdlg;
331 GWEN_DLGPROGRESS *xdlg;
338 if (pd==xdlg->firstProgress)
340 else if (pd==xdlg->secondProgress)
357 GWEN_DLGPROGRESS *xdlg;
364 if (pd==xdlg->firstProgress)
366 else if (pd==xdlg->secondProgress)
383 GWEN_DLGPROGRESS *xdlg;
400 i=xdlg->withLogWidth;
404 i=xdlg->withLogHeight;
424 if (xdlg->firstProgress) {
441 if (xdlg->secondProgress) {
457 GWEN_DLGPROGRESS *xdlg;
487 "dialog_width_nolog",
494 "dialog_height_nolog",
503 GWEN_DLGPROGRESS *xdlg;
509 if (strcasecmp(sender,
"closeButton")==0) {
512 else if (strcasecmp(sender,
"abortButton")==0) {
513 if (xdlg->firstProgress)
515 if (xdlg->secondProgress)
533 const char *sender) {
534 GWEN_DLGPROGRESS *xdlg;
559 if (xdlg->allowClose==0)