Subversion Repositories Kolibri OS

Rev

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

Rev 7647 Rev 7658
Line 143... Line 143...
143
	DrawRectangle3D(x-1, y-1, w+1, h+1, 0xE7E7E7, bg);
143
	DrawRectangle3D(x-1, y-1, w+1, h+1, 0xE7E7E7, bg);
144
	DrawRectangle(x-2, y-2, w+3, h+3, system.color.work_graph);
144
	DrawRectangle(x-2, y-2, w+3, h+3, system.color.work_graph);
145
	DrawRectangle3D(x-3, y-3, w+5, h+5, system.color.work_dark, system.color.work_light);
145
	DrawRectangle3D(x-3, y-3, w+5, h+5, system.color.work_dark, system.color.work_light);
146
}
146
}
Line -... Line 147...
-
 
147
 
-
 
148
#define DOT_W 37 
-
 
149
:void DrawFileBox(dword edit_box_pointer, title, btn)
-
 
150
{
-
 
151
	dword x,y,w,h,bg,t;
-
 
152
	ESI = edit_box_pointer;
-
 
153
	x = ESI.edit_box.left;
-
 
154
	y = ESI.edit_box.top;
-
 
155
	w = ESI.edit_box.width+1;
-
 
156
	h = 22;
-
 
157
 
-
 
158
	if (ESI.edit_box.flags & 100000000000b) bg = 0xCACACA; else bg = 0xFFFfff;
-
 
159
	edit_box_draw  stdcall (edit_box_pointer);
-
 
160
	DrawRectangle3D(x-1, y-1, w+1, h+1, 0xE7E7E7, bg);
-
 
161
	DrawRectangle(x-2, y-2, w+3, h+3, system.color.work_graph);
-
 
162
	DrawRectangle3D(x-3, y-3, w+DOT_W+5, h+5, system.color.work_dark, system.color.work_light);
-
 
163
 
-
 
164
	WriteText(x-2, y-19, 0x90, system.color.work_text, title);
-
 
165
	DrawCaptButton(x+w+1, y-2, DOT_W, h+3, btn, system.color.work_button, system.color.work_button_text, "...");
-
 
166
}
147
 
167
 
148
:void DrawEditBoxPos(dword x,y, edit_box_pointer)
168
:void DrawEditBoxPos(dword x,y, edit_box_pointer)
149
{
169
{
150
	ESI = edit_box_pointer;
170
	ESI = edit_box_pointer;
151
	ESI.edit_box.left = x;
171
	ESI.edit_box.left = x;