Lines Matching defs:target
211 scroll_to(int pagesize, int rows, int *base_row, int *this_row, int target)
215 if (target < *base_row) {
216 if (target < 0) {
225 *this_row = target;
226 *base_row = target;
229 } else if (target >= rows) {
237 } else if (target >= *base_row + pagesize) {
238 *this_row = target;
239 *base_row = target;
242 *this_row = target;
278 #define Scroll_To(target) scroll_to(pagesize, listsize, &base_row, &thisrow, target)
279 #define SCROLL_TO(target) show_all = Scroll_To(target)