Subversion Repositories Kolibri OS

Rev

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

Rev 7960 Rev 7975
Line 66... Line 66...
66
		DrawBuf.DrawBar(0, ydraw, list.w, list.item_h, line_bg);
66
		DrawBuf.DrawBar(0, ydraw, list.w, list.item_h, line_bg);
67
 
67
 
Line 68... Line 68...
68
		selection.draw(absolute_y);
68
		selection.draw(absolute_y);
Line 69... Line 69...
69
 
69
 
70
		if (search.visible) for (ff=0; ff
70
		if (search.visible) || (search_next) for (ff=0; ff
71
			s1 = search.found.get(ff) - lines.get(absolute_y);
71
			s1 = search.found.get(ff) - lines.get(absolute_y);
Line 72... Line 72...
72
			s2 = search.found.get(ff) - lines.get(absolute_y+1);
72
			s2 = search.found.get(ff) - lines.get(absolute_y+1);
Line 73... Line 73...
73
 
73
 
74
			if (s2 > 0) break;
74
			if (s2 > 0) break;
75
 
75
 
-
 
76
			if (s1 > 0) && (s2 < 0) {
76
			if (s1 > 0) && (s2 < 0) {
77
				DrawBuf.DrawBar(search.found.get(ff) - lines.get(absolute_y) * list.font_w + 3,
77
				DrawBuf.DrawBar(search.found.get(ff) - lines.get(absolute_y) * list.font_w + 3,
78
					ydraw, strlen(#found_text) * list.font_w, list.item_h, theme.found);
Line 78... Line 79...
78
					ydraw, strlen(#found_text) * list.font_w, list.item_h, theme.found);
79
				search_next = false;
79
			}
80
			}