Searched refs:top_index (Results 1 – 2 of 2) sorted by relevance
87 INT top_index; in _gx_vertical_list_selected_set() local119 top_index = vertical_list -> gx_vertical_list_top_index; in _gx_vertical_list_selected_set()120 bottom_index = top_index + vertical_list -> gx_vertical_list_child_count - 1; in _gx_vertical_list_selected_set()127 if (index >= top_index) in _gx_vertical_list_selected_set()143 if (index < top_index) in _gx_vertical_list_selected_set()
527 int top_index = mpPaletteFrame->GetTopIndex(); in Scroll() local532 top_index += deltaPos; in Scroll()534 if (top_index < 0) in Scroll()536 top_index = 0; in Scroll()540 if (top_index + VISIBLE_PALETTE_ROWS > 256) in Scroll()542 top_index = 256 - VISIBLE_PALETTE_ROWS; in Scroll()545 if (top_index != mpPaletteFrame->GetTopIndex()) in Scroll()547 mpPaletteFrame->SetTopIndex(top_index); in Scroll()548 ::SetScrollPos(mPalIndexScroll.GetSafeHwnd(), SB_CTL, top_index, TRUE); in Scroll()558 int top_index = mpPaletteFrame->GetTopIndex(); in OnVScroll() local[all …]