Searched refs:items_on_screen (Results 1 – 3 of 3) sorted by relevance
54 const int items_on_screen = (height() - 16) / 16; in update_item_count() local55 if (items_on_screen < (int) items.size()) in update_item_count()58 items_per_page = items_on_screen; in update_item_count()
1732 if (lb.citem >= lb.items_on_screen) in update_scroll_position()1735 lb.first_item = lb.citem - lb.items_on_screen + 1; in update_scroll_position()1738 if (lb.nitems <= lb.items_on_screen) in update_scroll_position()1741 if (lb.nitems >= lb.items_on_screen) in update_scroll_position()1743 if (lb.first_item > lb.nitems - lb.items_on_screen) in update_scroll_position()1744 lb.first_item = lb.nitems - lb.items_on_screen; in update_scroll_position()1866 lb->citem += lb->items_on_screen; in listbox_key_command()1870 lb->citem -= lb->items_on_screen; in listbox_key_command()1990 const auto items_on_screen = std::max<unsigned>( in create_structure() local1993 this->items_on_screen = items_on_screen; in create_structure()[all …]
412 unsigned items_on_screen; member