summaryrefslogtreecommitdiffstats
path: root/source/widgets
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2016-10-14 18:56:09 +0200
committerDave Davenport <qball@gmpclient.org>2016-10-14 18:56:09 +0200
commit9293c8b8ce5580c3be0d29366ca4287a706ee03e (patch)
tree076b6a0408cef1a7cd6143f9ddcee3c9fc0a3132 /source/widgets
parentce341f68851e1170e231fc25cc8183183a2da99b (diff)
More docu updates
Diffstat (limited to 'source/widgets')
-rw-r--r--source/widgets/textbox.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/source/widgets/textbox.c b/source/widgets/textbox.c
index 6e9fbed8..3f659d8b 100644
--- a/source/widgets/textbox.c
+++ b/source/widgets/textbox.c
@@ -56,11 +56,18 @@ typedef struct
Color hlbg;
} RowColor;
+/** Number of states */
#define num_states 3
+/**
+ * Different colors for the different states
+ */
RowColor colors[num_states];
+/** Default pango context */
static PangoContext *p_context = NULL;
+/** The pango font metrics */
static PangoFontMetrics *p_metrics = NULL;
+
static gboolean textbox_blink ( gpointer data )
{
textbox *tb = (textbox *) data;