Browse Source

Simpler thumbnail selection border

master
Bert 13 years ago
parent
commit
2bad53c33d
1 changed files with 2 additions and 5 deletions
  1. +2
    -5
      thumbs.c

+ 2
- 5
thumbs.c View File

@@ -375,11 +375,8 @@ void tns_highlight(tns_t *tns, win_t *win, int n, Bool hl) {
else else
col = win->bgcol; col = win->bgcol;


win_draw_rect(win, win->pm, t->x - 3, t->y - 3, t->w + 6, t->h + 6,
False, 4, col);
if (hl)
win_draw_rect(win, win->pm, t->x - 3, t->y - 3, t->w + 5, t->h + 5,
False, 1, win->black);
win_draw_rect(win, win->pm, t->x - 4, t->y - 4, t->w + 8, t->h + 8,
False, 2, col);
} }


win_draw(win); win_draw(win);


Loading…
Cancel
Save