mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-11-27 19:29:46 +03:00
fix aelia
git-svn-id: svn://kolibrios.org@7284 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
0774269503
commit
1d80a7eb77
@ -1,4 +1,4 @@
|
||||
#define MEMSIZE 4096*60
|
||||
#define MEMSIZE 4096*80
|
||||
|
||||
#include "../lib/kfont.h"
|
||||
#include "../lib/io.h"
|
||||
@ -296,8 +296,9 @@ char favicon_address[UML];
|
||||
while (downloader.state!=STATE_COMPLETED)
|
||||
{
|
||||
downloader.MonitorProgress();
|
||||
if (downloader.data_full_size>0)
|
||||
DrawProgress(STEP_2_COUNT_PAGE_HEIGHT-STEP_1_DOWNLOAD_PAGE*downloader.data_downloaded_size/downloader.data_full_size);
|
||||
if (downloader.httpd.content_length>0)
|
||||
DrawProgress(STEP_2_COUNT_PAGE_HEIGHT-STEP_1_DOWNLOAD_PAGE*
|
||||
downloader.httpd.content_received/downloader.httpd.content_length);
|
||||
else
|
||||
DrawProgress(STEP_2_COUNT_PAGE_HEIGHT-STEP_1_DOWNLOAD_PAGE/2);
|
||||
}
|
||||
|
@ -20,7 +20,7 @@ void _favicon::draw(int x,y)
|
||||
{
|
||||
dword favicon_data_decoded;
|
||||
if (favget.bufpointer) {
|
||||
img_decode stdcall (favget.bufpointer, favget.data_full_size, 0);
|
||||
img_decode stdcall (favget.bufpointer, favget.httpd.content_length, 0);
|
||||
if (EAX==0) return;
|
||||
favicon_data_decoded = EAX;
|
||||
img_draw stdcall(favicon_data_decoded, x,y, 16, 16, 0, 0);
|
||||
|
@ -28,7 +28,6 @@
|
||||
#include "..\lib\patterns\http_downloader.h"
|
||||
|
||||
_http http = {0, 0, 0, 0, 0, 0, 0};
|
||||
DOWNLOADER downloader;
|
||||
|
||||
char homepage[] = FROM "html\\homepage.htm""\0";
|
||||
|
||||
|
@ -1,3 +1,5 @@
|
||||
DOWNLOADER downloader;
|
||||
|
||||
#ifdef LANG_RUS
|
||||
#define DL_WINDOW_HEADER "Œ¥¥¤¦¥à § £à㧮ª"
|
||||
#define START_DOWNLOADING "<22> ç âì § ª çªã"
|
||||
|
Loading…
Reference in New Issue
Block a user