mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2025-09-27 21:32:16 -04:00
downloader: write to window when file downloaded
git-svn-id: svn://kolibrios.org@2737 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
0e20133b51
commit
c112ab7867
@ -1,9 +1,10 @@
|
|||||||
; version: 0.6
|
; version: 0.61
|
||||||
; last update: 01/06/2012
|
; last update: 01/06/2012
|
||||||
; written by: Lipatov Kirill aka Leency
|
; written by: Lipatov Kirill aka Leency
|
||||||
; changes: removed old code
|
; changes: removed old code
|
||||||
; added edit_box
|
; added edit_box
|
||||||
; using system colors
|
; using system colors
|
||||||
|
; indicates file saving
|
||||||
;-----------------------------------------------------------
|
;-----------------------------------------------------------
|
||||||
; version: 0.5
|
; version: 0.5
|
||||||
; date: 07/10/2010
|
; date: 07/10/2010
|
||||||
@ -225,10 +226,15 @@ mouse:
|
|||||||
jmp still
|
jmp still
|
||||||
|
|
||||||
save:
|
save:
|
||||||
dps "saving"
|
dps "file saved"
|
||||||
newline
|
newline
|
||||||
mcall 70,fileinfo
|
mcall 70,fileinfo
|
||||||
;pregs
|
|
||||||
|
mov ecx,[sc.work_text]
|
||||||
|
or ecx,80000000h
|
||||||
|
mcall 4,<10,93>,,download_complete
|
||||||
|
|
||||||
|
;pregs
|
||||||
jmp still
|
jmp still
|
||||||
|
|
||||||
noclose:
|
noclose:
|
||||||
@ -456,7 +462,12 @@ no_more_data:
|
|||||||
@@:
|
@@:
|
||||||
|
|
||||||
mcall 70,fileinfo
|
mcall 70,fileinfo
|
||||||
;dps "saving "
|
|
||||||
|
mov ecx,[sc.work_text]
|
||||||
|
or ecx,80000000h
|
||||||
|
mcall 4,<10,93>,,download_complete
|
||||||
|
dps "file saved"
|
||||||
|
newline
|
||||||
;pregs
|
;pregs
|
||||||
; jmp close_end_exit
|
; jmp close_end_exit
|
||||||
pop edi
|
pop edi
|
||||||
@ -1522,8 +1533,9 @@ dd 0,0
|
|||||||
library_path rb 4096
|
library_path rb 4096
|
||||||
;---------------------------------------------------------------------
|
;---------------------------------------------------------------------
|
||||||
|
|
||||||
type_pls db 'URL:',0
|
type_pls db 'URL:',0
|
||||||
button_text db 'DOWNLOAD STOP RESAVE',0
|
button_text db 'DOWNLOAD STOP RESAVE',0
|
||||||
|
download_complete db 'File saved as /rd/1/.download',0
|
||||||
display_from dd 20
|
display_from dd 20
|
||||||
pos dd 0x0
|
pos dd 0x0
|
||||||
pagex dd 0x0
|
pagex dd 0x0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user