Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 2761 → Rev 2814

/programs/fs/Eolite/trunk/include/icons_f.h
67,180 → 67,180
 
 
 
void IconFairing(int filenum, y)
void IconFairing(int filenum, y, color)
{
switch(filenum)
{
case 0...1: //ôàéëèê
DrawBar(195,y,2,15,videlenie);
DrawBar(195,y,2,15,color);
RIGHT_PAINT:
DrawBar(209,y,2,15,videlenie);
DrawBar(205,y,4,1,videlenie);
DrawBar(206,y+1,3,1,videlenie);
DrawBar(207,y+2,2,1,videlenie);
PutPixel(208,y+3,videlenie);
DrawBar(209,y,2,15,color);
DrawBar(205,y,4,1,color);
DrawBar(206,y+1,3,1,color);
DrawBar(207,y+2,2,1,color);
PutPixel(208,y+3,color);
return;
case 2: //html
DrawBar(195,y,1,7,videlenie);
DrawBar(196,y,1,6,videlenie);
DrawBar(195,y+10,1,5,videlenie);
DrawBar(196,y+11,1,4,videlenie);
DrawBar(195,y,1,7,color);
DrawBar(196,y,1,6,color);
DrawBar(195,y+10,1,5,color);
DrawBar(196,y+11,1,4,color);
GOTO RIGHT_PAINT;
case 3: //íàñòðîéêè
DrawBar(195,y,2,7,videlenie);
DrawBar(195,y+7,1,2,videlenie);
DrawBar(195,y+12,1,3,videlenie);
PutPixel(196,y+14,videlenie);
DrawBar(195,y,2,7,color);
DrawBar(195,y+7,1,2,color);
DrawBar(195,y+12,1,3,color);
PutPixel(196,y+14,color);
GOTO RIGHT_PAINT;
case 9: //inc
DrawBar(195,y,1,12,videlenie);
DrawBar(196,y,1,11,videlenie);
DrawBar(197,y,1,10,videlenie);
DrawBar(198,y,1,5,videlenie);
DrawBar(199,y,1,4,videlenie);
DrawBar(200,y,1,3,videlenie);
DrawBar(201,y,1,2,videlenie);
DrawBar(202,y,1,3,videlenie);
DrawBar(203,y,1,2,videlenie);
PutPixel(204,y,videlenie);
PutPixel(205,y+4,videlenie);
PutPixel(206,y+3,videlenie);
PutPixel(207,y,videlenie);
PutPixel(207,y+2,videlenie);
DrawBar(208,y,1,3,videlenie);
DrawBar(209,y,2,4,videlenie);
DrawBar(210,y,1,15,videlenie);
PutPixel(198,y+14,videlenie);
DrawBar(199,y+13,1,2,videlenie);
DrawBar(200,y+12,10,3,videlenie);
PutPixel(205,y+11,videlenie);
DrawBar(206,y+10,1,2,videlenie);
DrawBar(207,y+9,1,3,videlenie);
PutPixel(207,y+7,videlenie);
DrawBar(208,y+6,2,7,videlenie);
PutPixel(209,y+5,videlenie);
DrawBar(195,y,1,12,color);
DrawBar(196,y,1,11,color);
DrawBar(197,y,1,10,color);
DrawBar(198,y,1,5,color);
DrawBar(199,y,1,4,color);
DrawBar(200,y,1,3,color);
DrawBar(201,y,1,2,color);
DrawBar(202,y,1,3,color);
DrawBar(203,y,1,2,color);
PutPixel(204,y,color);
PutPixel(205,y+4,color);
PutPixel(206,y+3,color);
PutPixel(207,y,color);
PutPixel(207,y+2,color);
DrawBar(208,y,1,3,color);
DrawBar(209,y,2,4,color);
DrawBar(210,y,1,15,color);
PutPixel(198,y+14,color);
DrawBar(199,y+13,1,2,color);
DrawBar(200,y+12,10,3,color);
PutPixel(205,y+11,color);
DrawBar(206,y+10,1,2,color);
DrawBar(207,y+9,1,3,color);
PutPixel(207,y+7,color);
DrawBar(208,y+6,2,7,color);
PutPixel(209,y+5,color);
return;
case 10: //font
DrawRegion_3D(195,y,15,14,videlenie,videlenie);
DrawBar(196,y+1,1,13,videlenie);
DrawBar(197,y+1,1,11,videlenie);
DrawBar(198,y+1,1,10,videlenie);
DrawBar(199,y+1,1,9,videlenie);
DrawBar(200,y+1,1,7,videlenie);
DrawBar(201,y+1,1,5,videlenie);
DrawBar(202,y+1,1,4,videlenie);
DrawBar(203,y+1,1,2,videlenie);
DrawBar(209,y+1,1,13,videlenie);
DrawBar(208,y+1,1,11,videlenie);
PutPixel(204,y+6,videlenie);
DrawBar(203,y+10,2,1,videlenie);
DrawBar(202,y+11,2,3,videlenie);
DrawRegion_3D(195,y,15,14,color,color);
DrawBar(196,y+1,1,13,color);
DrawBar(197,y+1,1,11,color);
DrawBar(198,y+1,1,10,color);
DrawBar(199,y+1,1,9,color);
DrawBar(200,y+1,1,7,color);
DrawBar(201,y+1,1,5,color);
DrawBar(202,y+1,1,4,color);
DrawBar(203,y+1,1,2,color);
DrawBar(209,y+1,1,13,color);
DrawBar(208,y+1,1,11,color);
PutPixel(204,y+6,color);
DrawBar(203,y+10,2,1,color);
DrawBar(202,y+11,2,3,color);
return;
case 11: //asm
DrawBar(195,y,1,15,videlenie);
DrawBar(195,y,1,15,color);
return;
case 12: //audio
DrawBar(195,y,16,1,videlenie);
DrawBar(195,y,1,15,videlenie);
DrawBar(196,y+1,4,8,videlenie);
DrawBar(196,y+9,1,2,videlenie);
PutPixel(197,y+9,videlenie);
PutPixel(196,y+14,videlenie);
DrawBar(210,y+1,1,14,videlenie);
DrawBar(202,y+4,6,4,videlenie);
DrawBar(202,y+8,4,1,videlenie);
DrawBar(202,y+9,3,1,videlenie);
DrawBar(202,y+10,2,3,videlenie);
DrawBar(201,y+13,4,1,videlenie);
DrawBar(200,y+14,14,1,videlenie);
DrawBar(209,y+12,1,2,videlenie);
PutPixel(208,y+13,videlenie);
DrawBar(195,y,16,1,color);
DrawBar(195,y,1,15,color);
DrawBar(196,y+1,4,8,color);
DrawBar(196,y+9,1,2,color);
PutPixel(197,y+9,color);
PutPixel(196,y+14,color);
DrawBar(210,y+1,1,14,color);
DrawBar(202,y+4,6,4,color);
DrawBar(202,y+8,4,1,color);
DrawBar(202,y+9,3,1,color);
DrawBar(202,y+10,2,3,color);
DrawBar(201,y+13,4,1,color);
DrawBar(200,y+14,14,1,color);
DrawBar(209,y+12,1,2,color);
PutPixel(208,y+13,color);
return;
case 13: //skin
PutPixel(210,y,videlenie);
PutPixel(210,y,color);
return;
case 14...15: //video, book
DrawBar(195,y,1,15,videlenie);
DrawBar(210,y,1,15,videlenie);
DrawBar(195,y,1,15,color);
DrawBar(210,y,1,15,color);
return;
case 16...17: //ïàïêà
DrawBar(195,y,1,15,videlenie);
DrawBar(203,y,8,2,videlenie);
DrawBar(195,y,1,15,color);
DrawBar(203,y,8,2,color);
IF (filenum==17) PutPixel(206,y+1,0x1A7B17); //çåë¸íàÿ òî÷êà ñòðåëêè
DrawBar(196,y+13,15,2,videlenie);
PutPixel(196,y,videlenie); //.òî÷êè
PutPixel(202,y,videlenie);
PutPixel(210,y+2,videlenie);
PutPixel(196,y+12,videlenie);
PutPixel(210,y+12,videlenie);
DrawBar(196,y+13,15,2,color);
PutPixel(196,y,color); //.òî÷êè
PutPixel(202,y,color);
PutPixel(210,y+2,color);
PutPixel(196,y+12,color);
PutPixel(210,y+12,color);
return;
case 18: //êàðòðèäæ
DrawBar(195,y,16,2,videlenie);
DrawBar(195,y+11,1,2,videlenie);
DrawBar(210,y+11,1,2,videlenie);
DrawBar(195,y+13,16,2,videlenie);
DrawBar(195,y,16,2,color);
DrawBar(195,y+11,1,2,color);
DrawBar(210,y+11,1,2,color);
DrawBar(195,y+13,16,2,color);
return;
case 19: //èçîáðàæåíèå
case 20: //èçîáðàæåíèå
DrawBar(195,y+14,16,1,videlenie);
DrawBar(195,y+14,16,1,color);
return;
case 21: //äèñêåòà
PutPixel(195,y,videlenie);
PutPixel(210,y,videlenie);
PutPixel(195,y,color);
PutPixel(210,y,color);
return;
case 22: //áèáëèîòåêà
DrawBar(195,y,16,1,videlenie); //ñâåðõó ñëåâà
DrawBar(195,y+1,3,1,videlenie);
DrawBar(195,y+2,2,1,videlenie);
PutPixel(195,y+3,videlenie);
PutPixel(210,y+11,videlenie); //ñïðàâà ñïðàâà
DrawBar(209,y+12,2,1,videlenie);
DrawBar(208,y+13,3,1,videlenie);
DrawBar(207,y+14,4,1,videlenie);
DrawBar(195,y,16,1,color); //ñâåðõó ñëåâà
DrawBar(195,y+1,3,1,color);
DrawBar(195,y+2,2,1,color);
PutPixel(195,y+3,color);
PutPixel(210,y+11,color); //ñïðàâà ñïðàâà
DrawBar(209,y+12,2,1,color);
DrawBar(208,y+13,3,1,color);
DrawBar(207,y+14,4,1,color);
return;
case 23: //àðõèâ
PutPixel(195,y+3,videlenie);
PutPixel(195,y+11,videlenie);
PutPixel(210,y+3,videlenie);
PutPixel(210,y+11,videlenie);
PutPixel(195,y+3,color);
PutPixel(195,y+11,color);
PutPixel(210,y+3,color);
PutPixel(210,y+11,color);
 
DrawBar(195,y,7,1,videlenie);
DrawBar(204,y,7,1,videlenie);
DrawBar(195,y+14,7,1,videlenie);
DrawBar(204,y+14,7,1,videlenie);
DrawBar(195,y,7,1,color);
DrawBar(204,y,7,1,color);
DrawBar(195,y+14,7,1,color);
DrawBar(204,y+14,7,1,color);
 
DrawBar(195,y+1,5,1,videlenie);
DrawBar(206,y+1,5,1,videlenie);
DrawBar(195,y+13,5,1,videlenie);
DrawBar(206,y+13,5,1,videlenie);
DrawBar(195,y+1,5,1,color);
DrawBar(206,y+1,5,1,color);
DrawBar(195,y+13,5,1,color);
DrawBar(206,y+13,5,1,color);
 
DrawBar(195,y+2,3,1,videlenie);
DrawBar(208,y+2,3,1,videlenie);
DrawBar(195,y+12,3,1,videlenie);
DrawBar(208,y+12,3,1,videlenie);
DrawBar(195,y+2,3,1,color);
DrawBar(208,y+2,3,1,color);
DrawBar(195,y+12,3,1,color);
DrawBar(208,y+12,3,1,color);
return;
case 24: //îáðàç
DrawBar(195,y,6,1,videlenie);
DrawBar(195,y+1,4,1,videlenie);
DrawBar(195,y+2,3,1,videlenie);
DrawBar(195,y+3,2,2,videlenie);
DrawBar(195,y,6,1,color);
DrawBar(195,y+1,4,1,color);
DrawBar(195,y+2,3,1,color);
DrawBar(195,y+3,2,2,color);
DrawBar(195,y+5,1,5,videlenie);
DrawBar(195,y+5,1,5,color);
DrawBar(195,y+10,2,2,videlenie);
DrawBar(195,y+12,3,1,videlenie);
DrawBar(195,y+13,4,1,videlenie);
DrawBar(195,y+14,6,1,videlenie);
DrawBar(195,y+10,2,2,color);
DrawBar(195,y+12,3,1,color);
DrawBar(195,y+13,4,1,color);
DrawBar(195,y+14,6,1,color);
 
DrawBar(195+11,y,5,1,videlenie);
DrawBar(195+13,y+1,3,1,videlenie);
DrawBar(195+14,y+2,2,1,videlenie);
DrawBar(195+15,y+3,1,2,videlenie);
DrawBar(195+11,y,5,1,color);
DrawBar(195+13,y+1,3,1,color);
DrawBar(195+14,y+2,2,1,color);
DrawBar(195+15,y+3,1,2,color);
DrawBar(195+15,y+10,1,2,videlenie);
DrawBar(195+14,y+12,2,1,videlenie);
DrawBar(195+13,y+13,3,1,videlenie);
DrawBar(195+11,y+14,5,1,videlenie);
DrawBar(195+15,y+10,1,2,color);
DrawBar(195+14,y+12,2,1,color);
DrawBar(195+13,y+13,3,1,color);
DrawBar(195+11,y+14,5,1,color);
 
return;
}