/programs/cmm/browser/HTMLv.c |
---|
4,6 → 4,7 |
//home icon - rachel fu, GPL licence |
//libraries |
#define MEMSIZE 0x100000 |
#include "..\lib\kolibri.h" |
#include "..\lib\strings.h" |
#include "..\lib\figures.h" |
42,7 → 43,7 |
#define WIN_H 480 |
dword stak[100]; //ìåíþ ÏÊÌ |
char stak[100]; //ìåíþ ÏÊÌ |
mouse m; |
#include "TWB.h" |
234,13 → 235,13 |
if (Form.width<280) MoveSize(OLD,OLD,280,OLD); |
PutPaletteImage(#toolbar,200,42,0,0,8,#toolbar_pal); |
if (GetProcessSlot(downloader_id)<>0) PutImage(#stop_btn,24,24,88,10); |
if (GetProcessSlot(downloader_id)<>0) _PutImage(88,10, 24,24, #stop_btn); |
DrawBar(200,0,onLeft(200,9),43,0xE4DFE1); //çàêðàøèâàåì ôîí ïîä òóëáàðîì |
DrawBar(0,42,onLeft(5,4),1,0xE2DBDC); //âûïóêëîñòü |
DrawBar(0,43,onLeft(5,4),1,0xD2CED0); //âûïóêëîñòü |
for (j=0; j<5; j++) DefineButton(j*37+11, 7, 29, 29, 300+j+BT_HIDE, 0xE4DFE1); |
PutImage(#URLgoto,40,19,onLeft(57,0),14); |
_PutImage(onLeft(57,0),14, 40,19, #URLgoto); |
DefineButton(onLeft(37,0),15, 18, 16, GOTOURL+BT_HIDE, 0xE4DFE1); |
DefineButton(onLeft(56,0),15, 17, 16, SEARCHWEB+BT_HIDE, 0xE4DFE1); |
DrawRectangle(205,14,onLeft(58,205),18,0x94AECE); //îáîäîê ïîëîñû àäðåñà |
/programs/cmm/browser/TWB.h |
---|
475,7 → 475,7 |
if (line[strlen(#line)-1]==' ') break; //óáðàòü 2 ïðîáåëà ïîäðÿä |
if (!stolbec) && (!line) break; //ñòðîêà íå ìîæåò íà÷èíàòüñÿ ñ ïðîáåëà |
} |
if (strlen(#line)<sizeof(line)) strcat(#line, #bukva); |
if (strlen(#line)<sizeof(line)) chrcat(#line, bukva); |
if (stolbec + strlen(#line) > lines.column_max) |
{ |
828,7 → 828,6 |
char img_path[4096], alt[4096]; |
int w=0, h=0, img_lines_first=0, cur_pic=0; |
if (GetFileInfo(libimg)<>0) return; //åñëè áèáëèîòåêè íåò |
do{ |
if (!strcmp(#parametr,"src=")) //íàäî îáúåäèíèòü ñ GetNewUrl() |
{ |
/programs/cmm/browser/compile.bat |
---|
1,6 → 1,5 |
..\C--\c-- HTMLv.c /lst |
del HTMLv |
rename HTMLv.com HTMLv |
rem ..\C--\kpack HTMLv |
del warning.txt |
pause |
@del HTMLv |
@rename HTMLv.com HTMLv |
@del warning.txt |
@pause |
/programs/cmm/browser/include/some_code.h |
---|
62,7 → 62,7 |
CopyScreen(italic_buf, x+Form.left+2, y+Form.top+skin_height, w, h); |
FOR (i=0;i*tile_height<h;i++) |
PutImage(w*3*tile_height*i+italic_buf,w,tile_height,x+shift-i+1,i*tile_height+y); |
_PutImage(x+shift-i+1,i*tile_height+y, w,tile_height, w*3*tile_height*i+italic_buf); |
mem_Free(italic_buf); |
} |