bool it_move(arg_t a) { direction_t dir = (direction_t) a; if (mode == MODE_IMAGE) return img_pan(&img, dir, false); else return tns_move_selection(&tns, dir); }
bool i_pan_screen(arg_t a) { direction_t dir = (direction_t) a; if (mode == MODE_IMAGE) return img_pan(&img, dir, true); else return false; }
bool it_scroll_screen(arg_t a) { direction_t dir = (direction_t) a; if (mode == MODE_IMAGE) return img_pan(&img, dir, -1); else return tns_scroll(&tns, dir, true); }