Mercurial > pidgin
diff console/libgnt/gnttextview.c @ 14107:c0ee28af3ca2
[gaim-migrate @ 16741]
Show little scroll-arrows for trees and textviews when appropriate.
committer: Tailor Script <tailor@pidgin.im>
| author | Sadrul Habib Chowdhury <imadil@gmail.com> |
|---|---|
| date | Mon, 14 Aug 2006 02:16:58 +0000 |
| parents | 49e020487c82 |
| children | f8ab496671fa |
line wrap: on
line diff
--- a/console/libgnt/gnttextview.c Mon Aug 14 00:08:15 2006 +0000 +++ b/console/libgnt/gnttextview.c Mon Aug 14 02:16:58 2006 +0000 @@ -46,6 +46,18 @@ } } + mvwaddch(widget->window, 0, + widget->priv.width - 1, + lines ? + ACS_UARROW | COLOR_PAIR(GNT_COLOR_HIGHLIGHT_D) : + ' '| COLOR_PAIR(GNT_COLOR_NORMAL)); + + mvwaddch(widget->window, widget->priv.height - 1, + widget->priv.width - 1, + (view->list && view->list->prev) ? + ACS_DARROW | COLOR_PAIR(GNT_COLOR_HIGHLIGHT_D) : + ' '| COLOR_PAIR(GNT_COLOR_NORMAL)); + DEBUG; }
