summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOle Loots <ole@monochrom.net>2011-02-01 21:28:19 +0000
committerOle Loots <ole@monochrom.net>2011-02-01 21:28:19 +0000
commited5af6370e3fb35105b5dc1722e0aad7b40379db (patch)
tree71f876580d2626276faff3a11b8acfead74ae340
parentc59b173d21074474b5267f3d39c56302855367df (diff)
downloadnetsurf-ed5af6370e3fb35105b5dc1722e0aad7b40379db.tar.gz
netsurf-ed5af6370e3fb35105b5dc1722e0aad7b40379db.tar.bz2
Added download dialog
svn path=/trunk/netsurf/; revision=11593
-rwxr-xr-xatari/res/netsurf.rscbin15996 -> 23722 bytes
-rwxr-xr-xatari/res/netsurf.rsh13
-rwxr-xr-xatari/res/netsurf.rsm19
3 files changed, 28 insertions, 4 deletions
diff --git a/atari/res/netsurf.rsc b/atari/res/netsurf.rsc
index 45629bd62..7a67b5a17 100755
--- a/atari/res/netsurf.rsc
+++ b/atari/res/netsurf.rsc
Binary files differ
diff --git a/atari/res/netsurf.rsh b/atari/res/netsurf.rsh
index 44c41e78b..a47402d52 100755
--- a/atari/res/netsurf.rsh
+++ b/atari/res/netsurf.rsh
@@ -106,3 +106,16 @@
#define SEARCH_BT_SEARCH 6 /* BUTTON in tree SEARCH */
#define SEARCH_CB_FWD 7 /* BOX 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 */
diff --git a/atari/res/netsurf.rsm b/atari/res/netsurf.rsm
index 44d1572c2..bf439f0c9 100755
--- a/atari/res/netsurf.rsm
+++ b/atari/res/netsurf.rsm
@@ -1,9 +1,9 @@
ResourceMaster v3.65
-#C 11@0@0@0@
+#C 12@0@0@0@
#N 99@32@AZAaza___ _@AZAaza090___ _@@_@
#FoC-Header@rsm2out@C-Header@rsh@@@[C-Header@0@
#R 0@0@1@1@1@1@
-#M 20010100@17741@7728@547@
+#M 20010100@17741@7728@555@
#T 0@1@MAINMENU@@60@@
#O 4@32@T_FILE@@
#O 5@32@T_EDIT@@
@@ -78,7 +78,7 @@ ResourceMaster v3.65
#O 14@27@BT_SCROLL_D@@
#O 15@20@BOX_V@@
#O 16@20@MOVER_V@@
-#T 7@2@THROBBER@@9@@
+#T 7@2@THROBBER@@14@@
#T 8@2@SLIDER@@9@@
#O 1@27@BT_SCROLL_L@@
#O 2@20@BOX_H@@
@@ -101,4 +101,15 @@ ResourceMaster v3.65
#O 6@26@BT_SEARCH@@
#O 7@20@CB_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@