Mercurial > pidgin.yaz
comparison console/libgnt/gntbutton.c @ 13878:0d0ab1e39d0a
[gaim-migrate @ 16355]
Change the behaviour of the widgets about how they update themselves.
This makes things a little better, and hopefully easier to build more
stuff on top of this.
committer: Tailor Script <tailor@pidgin.im>
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Tue, 27 Jun 2006 02:33:55 +0000 |
parents | 0e1e59770cb0 |
children | 9d66969a2e32 |
comparison
equal
deleted
inserted
replaced
13877:765bbdf29d04 | 13878:0d0ab1e39d0a |
---|---|
18 type = GNT_COLOR_HIGHLIGHT; | 18 type = GNT_COLOR_HIGHLIGHT; |
19 else | 19 else |
20 type = GNT_COLOR_NORMAL; | 20 type = GNT_COLOR_NORMAL; |
21 wbkgdset(widget->window, '\0' | COLOR_PAIR(type)); | 21 wbkgdset(widget->window, '\0' | COLOR_PAIR(type)); |
22 mvwprintw(widget->window, 1, 1, button->priv->text); | 22 mvwprintw(widget->window, 1, 1, button->priv->text); |
23 | |
24 wrefresh(widget->window); | |
25 | 23 |
26 DEBUG; | 24 DEBUG; |
27 } | 25 } |
28 | 26 |
29 static void | 27 static void |