Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 2151 → Rev 2152

/programs/network/htmlv/browser/HTMLv.c--
131,8 → 131,8
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, 0x00E4DFE1);
PutImage(#URLgoto,40,19,onLeft(57,0),14);
DefineButton(onLeft(38,0),14, 20, 18, GOTOURL+BT_HIDE, 0xE4DFE1);
DefineButton(onLeft(57,0),14, 19, 18, SEARCHWEB+BT_HIDE, 0xE4DFE1);
DefineButton(onLeft(37,0),15, 18, 16, GOTOURL+BT_HIDE, 0xE4DFE1);
DefineButton(onLeft(56,0),15, 17, 16, SEARCHWEB+BT_HIDE, 0xE4DFE1);
DrawRegion_3D(205,14,onLeft(58,205),18,0x94AECE,0x94AECE); //îáîäîê ïîëîñû àäðåñà
DrawRegion_3D(206,15,onLeft(59,205),16,0xE4ECF3,0xE4ECF3);
edit1.width=Form.width-266;
/programs/network/htmlv/browser/History.txt
1,3 → 1,6
04.09.11 -- v0.68 -- 11.1 Êá
- óñòðàí¸í âûëåò ïðîãðàììû ïðè íåïðàâèëüíîì ïàðàìåòðå color òåãà <font> - àëñî èíîãäà äåéñòâèòåëüíî ïîëåçíî ÷èòàòü ìàíû.
 
20.08.11 -- v0.67 -- 11.1 Êá
- áîëåå àäåêâàòíàÿ ïðîêðóòêà èçîáðàæåíèé;
- êîððåêòíàÿ îáðàáîòêà òàáîâ â òåêñòå è ñ òåãîì <pre> (ñïàñèáî Nazarus è Jaeger);
/programs/network/htmlv/browser/TWB.h--
17,7 → 17,7
char download_path[]="/rd/1/.download";
//char search_path[]="http://nova.rambler.ru/search?words=";
char search_path[]="http://nigma.ru/index.php?s=";
char version[]=" Text-based Browser 23.67";
char version[]=" Text-based Browser 23.68";
 
 
struct TWebBrowser {
513,19 → 513,29
return;
}
/////////////////////////
if (!chTag("font")) {
IF(stroka <= 0) && (stroka - 1 > max_kolvo_strok) return;
COL_MARK: IF(strcmp(#parametr, "color=") == 0) //&& (parametr[1] == '#')
if (!chTag("font"))
{
IF(stroka < 0) || (stroka - 1 > max_kolvo_strok) return;
COL_MARK:
if (strcmp(#parametr, "color=") == 0) //&& (parametr[1] == '#')
{
text_color_index++;
IF (options[0] == '#'){
IF (options[0] == '#')
{
text_colors[text_color_index] = StrToCol(#options);
}
ELSE {
FOR (i=0;color_names[i]!=0;i++){
IF(!strcmp(#options, color_names[i])) {text_colors[text_color_index] = colors[i]; BREAK;}
ELSE
{
FOR (i=0; color_names[i]!=0; i++)
{
IF(!strcmp(#options, color_names[i]))
{
text_colors[text_color_index] = colors[i];
BREAK;
}
text_colors[text_color_index] = text_colors[0];
}
}
}
IF(tagparam[0] <>'') {
/programs/network/htmlv/browser/include/colors.h--
142,7 → 142,8
"white",
"whitesmoke",
"yellow",
"yellowgreen"};
"yellowgreen",
0};
 
//ñîîòâåòñòâóþùèå èì çíà÷åíèÿ
dword *colors[]={