Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 5520 → Rev 5526

/programs/cmm/lib/gui.h
54,12 → 54,14
else if (is_checked == 1)
{
DrawRectangle(x+1, y+1, w-2, h-2, 0xffffff);
DrawBar(x+2, y+2, w-3, h-3, graph_color);
DrawRectangle(x+2, y+2, w-4, h-4, 0xffffff);
DrawBar(x+3, y+3, w-5, h-5, graph_color);
}
else if (is_checked == 2) //not active
{
DrawRectangle(x+1, y+1, w-2, h-2, 0xffffff);
DrawBar(x+2, y+2, w-3, h-3, 0x888888);
DrawRectangle(x+2, y+2, w-4, h-4, 0xffffff);
DrawBar(x+3, y+3, w-5, h-5, 0x888888);
}
}
 
69,7 → 71,7
DrawRectangle(x, y, VALUE_FIELD_W, s, color_border);
DrawRectangle3D(x+1, y+1, VALUE_FIELD_W-2, s-2, 0xDDDddd, 0xffffff);
DrawBar(x+2, y+2, VALUE_FIELD_W-3, s-3, 0xffffff);
WriteText(x+6, s / 2 + y -3, 0x80, color_text, itoa(value));
WriteText(x+6, s / 2 + y -3, 0x80, 0x000000, itoa(value));
 
DrawCaptButton(VALUE_FIELD_W + x + 1, y, s, s, bt_id_more, color_button, color_text, "+");
DrawCaptButton(VALUE_FIELD_W + x + s + 2, y, s, s, bt_id_less, color_button, color_text, "-");
/programs/cmm/lib/obj/proc_lib.h
0,0 → 1,33
dword Proc_lib = #aProc_lib;
char aProc_lib[] = "/sys/lib/proc_lib.obj";
 
dword OpenDialog_init = #aOpenDialog_init;
dword OpenDialog_start = #aOpenDialog_start;
 
$DD 2 dup 0
 
char aOpenDialog_init[] = "OpenDialog_init";
char aOpenDialog_start[] = "OpenDialog_start";
 
struct opendialog
{
dword type;
dword procinfo;
dword com_area_name;
dword com_area;
dword opendir_path;
dword dir_default_path;
dword start_path;
dword draw_window;
dword status;
dword openfile_pach;
dword filename_area;
dword filter_area;
word x_size;
word x_start;
word y_size;
word y_start;
};