Lines Matching refs:x_pos
522 if (menu->x_pos + menu->width > DisplayWidth(display, screen))
523 menu->x_pos = DisplayWidth(display, screen) - menu->width;
524 else if (menu->x_pos < 0) menu->x_pos = 0;
576 window_x += menu->x_pos;
816 _XMTransToOrigin(display, menu, p_ptr, s_ptr, x_pos, y_pos, orig_x, orig_y)
821 int x_pos; /* X coordinate of point to translate. */
841 l_orig_x = x_pos - (menu->p_width >> 1) - menu->p_bdr_width;
849 l_orig_x = x_pos - (menu->s_width >> 1);
862 l_orig_x -= (p_ptr->window_x - menu->x_pos);