Subversion Repositories Kolibri OS

Rev

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

Rev 7244 Rev 7245
Line 114... Line 114...
114
	}
114
	}
115
}
115
}
Line 116... Line 116...
116
 
116
 
117
:void DrawEditBox(dword edit_box_pointer)
117
:void DrawEditBox(dword edit_box_pointer)
118
{
118
{
119
	dword x,y,w,h,bg;
119
	dword x,y,w,h,bg,t;
120
	ESI = edit_box_pointer;
120
	ESI = edit_box_pointer;
121
	x = ESI.edit_box.left;
121
	x = ESI.edit_box.left;
122
	y = ESI.edit_box.top;
122
	y = ESI.edit_box.top;
-
 
123
	w = ESI.edit_box.width+1;
123
	w = ESI.edit_box.width+1;
124
	h = 22;
124
	if (ESI.edit_box.flags & 100000000000b) bg = 0xCACACA; else bg = 0xFFFfff;
125
	if (ESI.edit_box.flags & 100000000000b) bg = 0xCACACA; else bg = 0xFFFfff;
125
	edit_box_draw  stdcall (edit_box_pointer);
-
 
126
	h = 22;
126
	edit_box_draw  stdcall (edit_box_pointer);
127
	DrawRectangle3D(x-1, y-1, w+1, h+1, 0xE7E7E7, bg);
127
	DrawRectangle3D(x-1, y-1, w+1, h+1, 0xE7E7E7, bg);
128
	DrawRectangle(x-2, y-2, w+3, h+3, system.color.work_graph);
128
	DrawRectangle(x-2, y-2, w+3, h+3, system.color.work_graph);
129
	DrawRectangle3D(x-3, y-3, w+5, h+5, system.color.work_dark, system.color.work_light);
129
	DrawRectangle3D(x-3, y-3, w+5, h+5, system.color.work_dark, system.color.work_light);
Line -... Line 130...
-
 
130
}
-
 
131
 
-
 
132
:void DrawEditBoxPos(dword x,y, edit_box_pointer)
-
 
133
{
-
 
134
	ESI = edit_box_pointer;
-
 
135
	ESI.edit_box.left = x;
-
 
136
	ESI.edit_box.top = y;
-
 
137
	DrawEditBox(dword edit_box_pointer);
130
}
138
}
131
 
139
 
132
:void DrawProgressBar(dword st_x, st_y, st_w, st_h, col_fon, col_border, col_fill, col_text, progress_percent)
140
:void DrawProgressBar(dword st_x, st_y, st_w, st_h, col_fon, col_border, col_fill, col_text, progress_percent)
133
{
141
{