Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 9601 → Rev 9602

/programs/cmm/misc/easyshot.c
159,7 → 159,7
void DrawStatusBar(char *s)
{
I_Param = s;
WriteTextWithBg(PD, 35+PD, 0xD0, sc.work_text, I_Param, sc.work_light);
WriteTextWithBg(PD, 35+PD, 0xD0, sc.work_text, I_Param, sc.light);
}
 
dword ScreenshotBuf()
/programs/cmm/misc/mblocks.c
154,8 → 154,8
 
void Draw_Panel()
{
DrawBar(0, PANEL_Y, WIN_W, 1, sc.work_dark);
DrawBar(0, PANEL_Y+1, WIN_W, 1, sc.work_light);
DrawBar(0, PANEL_Y, WIN_W, 1, sc.dark);
DrawBar(0, PANEL_Y+1, WIN_W, 1, sc.light);
DrawBar(0, PANEL_Y+2, WIN_W, PANEL_H-2, sc.work);
DefineButton(9, PANEL_Y+5, 102, 26, 5, sc.button);
WriteText(20, PANEL_Y+11, 0x90, sc.button_text, LABEL_NEW_GAME);
/programs/cmm/misc/reshare.c
115,7 → 115,7
$pop eax
if (sc.work != EAX) {
memmov(shared_i16w, icons16.imgsrc, size16);
replace_2cols(shared_i16w, size16, 0xffFFFfff, sc.work, 0xffCACBD6, sc.work_dark);
replace_2cols(shared_i16w, size16, 0xffFFFfff, sc.work, 0xffCACBD6, sc.dark);
}
} while(WaitEvent()==evDesktop);
}
164,7 → 164,7
sc.get();
DefineAndDrawWindow(80, 50, WINW+9, WINH+4+GetSkinHeight(), 0x74, 0, "@RESHARE - A service that provides shared resorces", 0);
DrawBar(0, 0, WINW, RESY-PAD-1, sc.work); //top bg
DrawBar(0, RESY-PAD-1, WINW, 1, sc.work_graph);
DrawBar(0, RESY-PAD-1, WINW, 1, sc.line);
WriteText(PAD, PAD, 0x90, sc.work_text, "Each tab name corresponds to memory name that can be accessed by sysfunc 68.22. Now availabe:");
draw_tabs();
}
172,7 → 172,7
 
void DrawFlatButton(dword _x, _y, _text, _id, _active)
{
if (_active) EDX = sc.button; else EDX = sc.work_light;
if (_active) EDX = sc.button; else EDX = sc.light;
DrawBar(_x, _y, BTNW, BTNH+1, EDX);
 
if (_active) EDX = sc.button_text; else EDX = sc.work_text;
218,7 → 218,7
iconw = 18;
iconh = icons16.h;
} else {
_PutImage(WINW-13/2, WINH-RESY-13/2+RESY, 13, 13, #checkbox_flag);
PutImage(WINW-13/2, WINH-RESY-13/2+RESY, 13, 13, #checkbox_flag);
return;
}
 
225,7 → 225,7
for (i = 0; i < iconh/iconw; i++)
{
PutPaletteImage(iconw*iconw*4*i + iconimg, iconw, iconw, 50-iconw/2+x, y+RESY, 32, 0);
WriteText(-strlen(itoa(i))*8+50/2+x, y+RESY+iconw+5, 0x90, sc.work_graph, itoa(i));
WriteText(-strlen(itoa(i))*8+50/2+x, y+RESY+iconw+5, 0x90, sc.line, itoa(i));
x += 50;
if (x + 50 > WINW) {
x = PAD;
/programs/cmm/misc/software_widget.c
130,8 → 130,8
//dark colors
swc.list_bg = sc.work;
swc.text = sc.work_text;
swc.dark = sc.work_dark;
swc.light = sc.work_light;
swc.dark = sc.dark;
swc.light = sc.light;
} else {
//light colors
swc.list_bg = 0xF3F3F3;
225,8 → 225,8
void DrawTopBar()
{
DrawBar(0,0,Form.cwidth, list.y-2, sc.work);
DrawBar(0,list.y-2, Form.cwidth, 1, MixColors(sc.work, sc.work_graph, 180));
DrawBar(0,list.y-1, Form.cwidth, 1, sc.work_graph);
DrawBar(0,list.y-2, Form.cwidth, 1, MixColors(sc.work, sc.line, 180));
DrawBar(0,list.y-1, Form.cwidth, 1, sc.line);
kfont.WriteIntoWindowCenter(0,5, Form.cwidth, list.y, sc.work, sc.work_text, 16, #window_title);
}