Added download dialog

svn path=/trunk/netsurf/; revision=11593
This commit is contained in:
Ole Loots 2011-02-01 21:28:19 +00:00
parent c59b173d21
commit ed5af6370e
3 changed files with 28 additions and 4 deletions

Binary file not shown.

View File

@ -106,3 +106,16 @@
#define SEARCH_BT_SEARCH 6 /* BUTTON in tree SEARCH */ #define SEARCH_BT_SEARCH 6 /* BUTTON in tree SEARCH */
#define SEARCH_CB_FWD 7 /* BOX in tree SEARCH */ #define SEARCH_CB_FWD 7 /* BOX in tree SEARCH */
#define SEARCH_LBL_FWD 8 /* STRING in tree SEARCH */ #define SEARCH_LBL_FWD 8 /* STRING in tree SEARCH */
#define DOWNLOAD 11 /* form/dial */
/* Width ist 400, code depends on that! If you change it, change it in download.c */
#define DOWNLOAD_PROGRESS 1 /* BOX in tree DOWNLOAD */
#define DOWNLOAD_PROGRESS_DONE 2 /* BOX in tree DOWNLOAD */
#define DOWNLOAD_FILENAME 3 /* TEXT in tree DOWNLOAD */
#define DOWNLOAD_BT_ABORT 4 /* BUTTON in tree DOWNLOAD */
#define DOWNLOAD_BT_PAUSE 5 /* BUTTON in tree DOWNLOAD */
#define DOWNLOAD_CB_CLOSE_RDY 6 /* BOXCHAR in tree DOWNLOAD */
#define DOWNLOAD_LBL_CLOSE_RDY 7 /* STRING in tree DOWNLOAD */
#define DOWNLOAD_LBL_BYTES 8 /* TEXT in tree DOWNLOAD */
#define DOWNLOAD_LBL_PERCENT 9 /* TEXT in tree DOWNLOAD */
#define DOWNLOAD_LBL_SPEED 10 /* TEXT in tree DOWNLOAD */

View File

@ -1,9 +1,9 @@
ResourceMaster v3.65 ResourceMaster v3.65
#C 11@0@0@0@ #C 12@0@0@0@
#N 99@32@AZAaza___ _@AZAaza090___ _@@_@ #N 99@32@AZAaza___ _@AZAaza090___ _@@_@
#FoC-Header@rsm2out@C-Header@rsh@@@[C-Header@0@ #FoC-Header@rsm2out@C-Header@rsh@@@[C-Header@0@
#R 0@0@1@1@1@1@ #R 0@0@1@1@1@1@
#M 20010100@17741@7728@547@ #M 20010100@17741@7728@555@
#T 0@1@MAINMENU@@60@@ #T 0@1@MAINMENU@@60@@
#O 4@32@T_FILE@@ #O 4@32@T_FILE@@
#O 5@32@T_EDIT@@ #O 5@32@T_EDIT@@
@ -78,7 +78,7 @@ ResourceMaster v3.65
#O 14@27@BT_SCROLL_D@@ #O 14@27@BT_SCROLL_D@@
#O 15@20@BOX_V@@ #O 15@20@BOX_V@@
#O 16@20@MOVER_V@@ #O 16@20@MOVER_V@@
#T 7@2@THROBBER@@9@@ #T 7@2@THROBBER@@14@@
#T 8@2@SLIDER@@9@@ #T 8@2@SLIDER@@9@@
#O 1@27@BT_SCROLL_L@@ #O 1@27@BT_SCROLL_L@@
#O 2@20@BOX_H@@ #O 2@20@BOX_H@@
@ -101,4 +101,15 @@ ResourceMaster v3.65
#O 6@26@BT_SEARCH@@ #O 6@26@BT_SEARCH@@
#O 7@20@CB_FWD@@ #O 7@20@CB_FWD@@
#O 8@28@LBL_FWD@@ #O 8@28@LBL_FWD@@
#c 12914@ #T 11@2@DOWNLOAD@@11@@
#O 1@20@PROGRESS@Width ist 400, code depends on that! If you change it, change it in download.c@
#O 2@20@PROGRESS_DONE@@
#O 3@21@FILENAME@@
#O 4@26@BT_ABORT@@
#O 5@26@BT_PAUSE@@
#O 6@27@CB_CLOSE_RDY@@
#O 7@28@LBL_CLOSE_RDY@@
#O 8@21@LBL_BYTES@@
#O 9@21@LBL_PERCENT@@
#O 10@21@LBL_SPEED@@
#c 21253@