summaryrefslogtreecommitdiffstats
path: root/source/widgets/textbox.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/widgets/textbox.c')
-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;