Subversion Repositories Kolibri OS

Rev

Rev 6191 | Rev 6197 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 6191 Rev 6193
Line 105... Line 105...
105
	DrawCaptButton(VALUE_FIELD_W + x + SIZE, y, SIZE, SIZE, bt_id_less, system.color.work_button, system.color.work_button_text, "-");
105
	DrawCaptButton(VALUE_FIELD_W + x + SIZE, y, SIZE, SIZE, bt_id_less, system.color.work_button, system.color.work_button_text, "-");
106
	WriteText(x+VALUE_FIELD_W+SIZE+SIZE+10, SIZE / 2 + y -3, 0x80, system.color.work_text, text);
106
	WriteText(x+VALUE_FIELD_W+SIZE+SIZE+10, SIZE / 2 + y -3, 0x80, system.color.work_text, text);
107
	DrawRectangle3D(x-1,y-1,VALUE_FIELD_W+SIZE+SIZE+2,SIZE+2,system.color.work_dark,system.color.work_light);
107
	DrawRectangle3D(x-1,y-1,VALUE_FIELD_W+SIZE+SIZE+2,SIZE+2,system.color.work_dark,system.color.work_light);
108
}
108
}
Line -... Line 109...
-
 
109
 
-
 
110
:void EditBox(dword edit_box_pointer)
-
 
111
{
-
 
112
	dword x,y,w,h;
-
 
113
	ESI = edit_box_pointer;
-
 
114
	x = ESI.edit_box.left;
-
 
115
	y = ESI.edit_box.top;
-
 
116
	w = ESI.edit_box.width+1;
-
 
117
	h = 15;
-
 
118
	DrawRectangle(x-1, y-1, w+2, h+2, 0xFFFfff);
-
 
119
	DrawRectangle3D(x-2, y-2, w+2, h+2, 0xDDDddd, 0xffffff);
-
 
120
	DrawRectangle(x-3, y-3, w+6, h+6, system.color.work_graph);
-
 
121
	DrawRectangle3D(x-4, y-4, w+8, h+8, system.color.work_dark, system.color.work_light);
-
 
122
}
109
 
123
 
110
:void DrawProgressBar(dword st_x, st_y, st_w, st_h, col_fon, col_border, col_fill, col_text, progress_percent)
124
:void DrawProgressBar(dword st_x, st_y, st_w, st_h, col_fon, col_border, col_fill, col_text, progress_percent)
111
{
125
{
112
	int progress_w;
126
	int progress_w;