Subversion Repositories Kolibri OS

Rev

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

Rev 7780 Rev 7793
Line 191... Line 191...
191
	if (icon_char_pos) ESBYTE[icon_char_pos] = '\0'; //delete icon from string
191
	if (icon_char_pos) ESBYTE[icon_char_pos] = '\0'; //delete icon from string
192
	app_path_collection.add(key_value);
192
	app_path_collection.add(key_value);
Line 193... Line 193...
193
 
193
 
194
	text_x = col*list.item_w+5;
194
	text_x = col*list.item_w+5;
195
	text_y = list.item_h - 40 / 2;
195
	text_y = list.item_h - 40 / 2;
196
	if (kfont.getsize(key_name)+30
196
	if (!strchr(key_name, ' ')) {//|| (kfont.getsize(key_name)+30
-
 
197
		kfont.WriteIntoWindowCenter(text_x, row*list.item_h+46 + list_pos, list.item_w,0, swc.list_bg, swc.text, 12, key_name);
197
		kfont.WriteIntoWindowCenter(text_x, row*list.item_h+46 + list_pos, list.item_w,0, swc.list_bg, swc.text, 12, key_name);
198
		//WriteTextCenter(text_x, row*list.item_h+46 + list_pos+3, list.item_w, swc.text, key_name);
198
	} else {
199
	} else {
199
		space_pos = strrchr(key_name, ' ');
200
		space_pos = strrchr(key_name, ' ');
200
		ESBYTE[key_name+space_pos-1] = '\0';
201
		ESBYTE[key_name+space_pos-1] = '\0';
201
		kfont.WriteIntoWindowCenter(text_x, row*list.item_h+46 + list_pos - 2, list.item_w,0, swc.list_bg, swc.text, 12, key_name);
202
		kfont.WriteIntoWindowCenter(text_x, row*list.item_h+46 + list_pos - 2, list.item_w,0, swc.list_bg, swc.text, 12, key_name);
-
 
203
		kfont.WriteIntoWindowCenter(text_x, row*list.item_h+46 + list_pos + 13, list.item_w,0, swc.list_bg, swc.text, 12, key_name+space_pos);
-
 
204
		//WriteTextCenter(text_x, row*list.item_h+46 + list_pos, list.item_w, swc.text, key_name);
202
		kfont.WriteIntoWindowCenter(text_x, row*list.item_h+46 + list_pos + 14, list.item_w,0, swc.list_bg, swc.text, 12, key_name+space_pos);
205
		//WriteTextCenter(text_x, row*list.item_h+46 + list_pos + 10, list.item_w, swc.text, key_name+space_pos);
203
	}
206
	}
204
	if (icon_char_pos) icon_id = atoi(icon_char_pos+1);
207
	if (icon_char_pos) icon_id = atoi(icon_char_pos+1);
205
	img_draw stdcall(skin.image, icon_x, icon_y, 32, 32, 0, icon_id*32);
208
	img_draw stdcall(skin.image, icon_x, icon_y, 32, 32, 0, icon_id*32);
206
	list.count++;
209
	list.count++;