Lines Matching refs:row
171 int row = 0; in ui_browser__rb_tree_refresh() local
179 ui_browser__gotorc(browser, row, 0); in ui_browser__rb_tree_refresh()
180 browser->write(browser, nd, row); in ui_browser__rb_tree_refresh()
181 if (++row == browser->rows) in ui_browser__rb_tree_refresh()
186 return row; in ui_browser__rb_tree_refresh()
189 bool ui_browser__is_current_entry(struct ui_browser *browser, unsigned row) in ui_browser__is_current_entry() argument
191 return browser->top_idx + row == browser->index; in ui_browser__is_current_entry()
324 row = 0; in ui_browser__scrollbar_set() local
334 ui_browser__gotorc(browser, row++, col); in ui_browser__scrollbar_set()
344 int row; in __ui_browser__refresh() local
347 row = browser->refresh(browser); in __ui_browser__refresh()
355 SLsmg_fill_region(browser->y + row + browser->extra_title_lines, browser->x, in __ui_browser__refresh()
356 browser->rows - row, width, ' '); in __ui_browser__refresh()
514 int row = 0; in ui_browser__list_head_refresh() local
523 ui_browser__gotorc(browser, row, 0); in ui_browser__list_head_refresh()
524 browser->write(browser, pos, row); in ui_browser__list_head_refresh()
525 if (++row == browser->rows) in ui_browser__list_head_refresh()
530 return row; in ui_browser__list_head_refresh()
641 unsigned int row = 0, idx = browser->top_idx; in ui_browser__argv_refresh() local
649 row < (unsigned)SLtt_Screen_Rows - 1) { in ui_browser__argv_refresh()
652 ui_browser__gotorc(browser, row, 0); in ui_browser__argv_refresh()
653 browser->write(browser, pos, row); in ui_browser__argv_refresh()
654 if (++row == browser->rows) in ui_browser__argv_refresh()
662 return row; in ui_browser__argv_refresh()
686 unsigned int row, end_row; in __ui_browser__line_arrow_up() local
691 row = start - browser->top_idx; in __ui_browser__line_arrow_up()
692 ui_browser__gotorc(browser, row, column); in __ui_browser__line_arrow_up()
694 ui_browser__gotorc(browser, row, column + 1); in __ui_browser__line_arrow_up()
697 if (row-- == 0) in __ui_browser__line_arrow_up()
700 row = browser->rows - 1; in __ui_browser__line_arrow_up()
708 SLsmg_draw_vline(row - end_row + 1); in __ui_browser__line_arrow_up()
726 unsigned int row, end_row; in __ui_browser__line_arrow_down() local
731 row = start - browser->top_idx; in __ui_browser__line_arrow_down()
732 ui_browser__gotorc(browser, row, column); in __ui_browser__line_arrow_down()
734 ui_browser__gotorc(browser, row, column + 1); in __ui_browser__line_arrow_down()
737 if (++row == 0) in __ui_browser__line_arrow_down()
740 row = 0; in __ui_browser__line_arrow_down()
747 ui_browser__gotorc(browser, row, column); in __ui_browser__line_arrow_down()
748 SLsmg_draw_vline(end_row - row + 1); in __ui_browser__line_arrow_down()
772 unsigned int row, int diff, bool arrow_down) in ui_browser__mark_fused() argument
782 if (row + diff <= browser->top_idx) in ui_browser__mark_fused()
785 end_row = row + diff - browser->top_idx; in ui_browser__mark_fused()
789 while (--end_row >= 0 && end_row > (int)(row - browser->top_idx)) { in ui_browser__mark_fused()
794 end_row = (int)(row - browser->top_idx); in ui_browser__mark_fused()
802 if (row < browser->top_idx) in ui_browser__mark_fused()
805 end_row = row - browser->top_idx; in ui_browser__mark_fused()