Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 5781 → Rev 5784

/programs/cmm/lib/list_box.h
59,7 → 59,7
text_y = line_h - font_h / 2;
visible = h / line_h;
wheel_size = 3;
//if (visible > count) visible=count;
CheckDoesValuesOkey();
}
 
void llist::SetFont(dword font_ww, font_hh, font_tt)
214,8 → 214,8
 
void llist::CheckDoesValuesOkey()
{
if (visible + first > count) first = count - visible;
if (first < 0) first = 0;
if (visible + first > count) first = count - visible;
if (current >= count) current = count - 1;
if (current < 0) current = 0;
}