Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 6648 → Rev 6649

/programs/cmm/eolite/include/gui.h
50,11 → 50,11
DrawFilledBar(x+2, y+2, width-3, height-3);
if (id) DefineButton(x+1,y+1,width-2,height-2,id+BT_HIDE,0xEFEBEF);
if (height<18) {
WriteText(-strlen(text)*6+width/2+x+1,height/2+y-3,0x80,MixColors(system.color.work_text,0xFFFfff,210),text);
WriteText(-strlen(text)*6+width/2+x+1,height/2+y-3,0x80,0x333333,text);
}
else {
DrawRectangle3D(x-1,y-1,width+2,height+2,system.color.work,MixColors(system.color.work,col_graph,200));
WriteText(-strlen(text)*8+width/2+x+1,height/2+y-6,0x90,MixColors(system.color.work_text,0xFFFfff,210),text);
WriteText(-strlen(text)*8+width/2+x+1,height/2+y-6,0x90,0x333333,text);
}
}