Lines Matching refs:y_offset
258 int y_offset;
265 y_offset = mi->item_num * Scr->EntryHeight + Scr->MenuShadowDepth;
266 text_y = y_offset + (Scr->EntryHeight - logical_rect.height) / 2
274 Draw3DBorder(mr->w, Scr->MenuShadowDepth, y_offset,
285 Scr->MenuShadowDepth, y_offset,
299 y_offset + Scr->EntryHeight - 2,
301 y_offset + Scr->EntryHeight - 2);
305 y_offset + Scr->EntryHeight - 1,
307 y_offset + Scr->EntryHeight - 1);
318 y = y_offset + ((Scr->EntryHeight - ENTRY_SPACING - Scr->pullH) / 2) + 2;
323 Draw3DBorder(mr->w, Scr->MenuShadowDepth, y_offset,
336 int y_offset;
343 y_offset = mi->item_num * Scr->EntryHeight;
344 text_y = y_offset + (Scr->EntryHeight - logical_rect.height) / 2
353 XFillRectangle(dpy, mr->w, Scr->NormalGC, 0, y_offset,
365 XFillRectangle(dpy, mr->w, Scr->NormalGC, 0, y_offset,
377 XDrawLine(dpy, mr->w, gc, 0, y_offset + Scr->EntryHeight - 1,
378 mr->width, y_offset + Scr->EntryHeight - 1);
388 y = y_offset + ((Scr->MenuFont.height - Scr->pullH) / 2);
399 XFillRectangle(dpy, mr->w, Scr->NormalGC, 0, y_offset,
405 if(y_offset)
406 XDrawLine(dpy, mr->w, Scr->NormalGC, 0, y_offset,
407 mr->width, y_offset);
428 int y_offset = mi->item_num * Scr->EntryHeight;
433 if(e->xexpose.y <= (y_offset + Scr->EntryHeight) &&
434 (e->xexpose.y + e->xexpose.height) >= y_offset) {