Subversion Repositories Kolibri OS

Rev

Rev 7231 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7231 Rev 7284
Line 1... Line 1...
1
#define MEMSIZE 4096*60
1
#define MEMSIZE 4096*80
Line 2... Line 2...
2
 
2
 
3
#include "../lib/kfont.h"
3
#include "../lib/kfont.h"
4
#include "../lib/io.h"
4
#include "../lib/io.h"
5
#include "../lib/gui.h"
5
#include "../lib/gui.h"
Line 294... Line 294...
294
			downloader.Stop();
294
			downloader.Stop();
295
		} else {
295
		} else {
296
			while (downloader.state!=STATE_COMPLETED)
296
			while (downloader.state!=STATE_COMPLETED)
297
			{ 
297
			{ 
298
				downloader.MonitorProgress(); 
298
				downloader.MonitorProgress(); 
299
				if (downloader.data_full_size>0)
299
				if (downloader.httpd.content_length>0)
300
					DrawProgress(STEP_2_COUNT_PAGE_HEIGHT-STEP_1_DOWNLOAD_PAGE*downloader.data_downloaded_size/downloader.data_full_size); 
300
					DrawProgress(STEP_2_COUNT_PAGE_HEIGHT-STEP_1_DOWNLOAD_PAGE*
-
 
301
						downloader.httpd.content_received/downloader.httpd.content_length); 
301
				else
302
				else
302
					DrawProgress(STEP_2_COUNT_PAGE_HEIGHT-STEP_1_DOWNLOAD_PAGE/2);
303
					DrawProgress(STEP_2_COUNT_PAGE_HEIGHT-STEP_1_DOWNLOAD_PAGE/2);
303
			}
304
			}
304
			strcpy(#address,downloader.url);
305
			strcpy(#address,downloader.url);
305
			DrawAddressBox();
306
			DrawAddressBox();