Subversion Repositories Kolibri OS

Rev

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

Rev 8936 Rev 8943
Line 114... Line 114...
114
	$int 64
114
	$int 64
115
	$inc edx
115
	$inc edx
116
	$add ebx, 130 << 16    //BT_UNLOCK
116
	$add ebx, 130 << 16    //BT_UNLOCK
117
	$int 64
117
	$int 64
Line 118... Line 118...
118
 
118
 
Line 119... Line 119...
119
	WriteText(GAP+10, LIST_Y + list.h + 14, 0x90, sc.button_text, "Delete last      Delete all        Unlock");
119
	WriteText(GAP+11, LIST_Y + list.h + 14, 0x90, sc.button_text, "Delete last      Delete all      Reset lock");
120
 
120
 
121
	WriteText(GAP+12, LIST_Y - 23, 0x90, sc.work_text, T_COLUMNS_TITLE);
121
	WriteText(GAP+12, LIST_Y - 23, 0x90, sc.work_text, T_COLUMNS_TITLE);
122
	WriteText(GAP+list.w - 88-14, LIST_Y - 23, 0x90, sc.work_text, T_COLUMN_VIEW);
122
	WriteText(GAP+list.w - 88-14, LIST_Y - 23, 0x90, sc.work_text, T_COLUMN_VIEW);
Line 193... Line 193...
193
 
193
 
194
	DrawBar(GAP,i*LINE_H+LIST_Y, list.w, -i*LINE_H+ list.h, 0xFFFfff);
194
	DrawBar(GAP,i*LINE_H+LIST_Y, list.w, -i*LINE_H+ list.h, 0xFFFfff);
195
	if (!list.count) WriteText(list.w / 2 + GAP - 60, 
195
	if (!list.count) WriteText(list.w / 2 + GAP - 60, 
Line -... Line 196...
-
 
196
		list.h / 2 - 8 + LIST_Y, 0x90, 0x999999, "No data to show");
-
 
197
 
196
		list.h / 2 - 8 + LIST_Y, 0x90, 0x999999, "No data to show");
198
	//Show "<" and ">" buttons and a page number
197
 
199
	//in case when there are items more than visible at once
198
	if (list.count > list.visible) {
200
	if (list.count > list.visible) {
199
		param[0] = list.first / list.visible + '0';
201
		param[0] = list.first / list.visible + '0';
200
		DefineButton(Form.cwidth-84-GAP, list.h + LIST_Y + 8, 25, 25, BT_LIST_LEFT, sc.button); //BT_LEFT
202
		DefineButton(Form.cwidth-84-GAP, list.h + LIST_Y + 8, 25, 25, BT_LIST_LEFT, sc.button); //BT_LEFT
Line 204... Line 206...
204
		WriteText(Form.cwidth-84-GAP+10, list.h + LIST_Y + 14, 0x90, sc.button_text, "<      >");
206
		WriteText(Form.cwidth-84-GAP+10, list.h + LIST_Y + 14, 0x90, sc.button_text, "<      >");
205
		$add ebx, 28 << 16
207
		$add ebx, 28 << 16
206
		$mov edx, #param;
208
		$mov edx, #param;
207
		$mov edi, sc.work
209
		$mov edi, sc.work
208
		$add ecx, 0x40 << 24
210
		$add ecx, 0x40 << 24
209
		$add ecx, sc.work_text
211
		$add ecx, sc.work_text //page number
210
		$int 64
212
		$int 64
211
	}
213
	}
212
}
214
}
Line 213... Line 215...
213
 
215