Lines Matching full:focus
80 unsigned int y; /* changes moving focus around items */
448 static void redrawbuttons(struct dialog *d, bool focus, bool shortcut)
453 if (focus == false)
461 drawitem(struct privateform *f, int idx, bool focus)
480 color = focus ? t.form.f_fieldcolor : t.form.fieldcolor;
499 if (item->bottomdesc != NULL && focus) {
508 curs_set((focus && item->cursor) ? 1 : 0);
513 * Trick: draw 2 times an item switching focus.
521 #define DRAWITEM_TRICK(f, idx, focus) do { \
522 drawitem(f, idx, !focus); \
524 drawitem(f, idx, focus); \