diff options
author | Dave Davenport <qball@gmpclient.org> | 2016-10-14 18:56:09 +0200 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2016-10-14 18:56:09 +0200 |
commit | 9293c8b8ce5580c3be0d29366ca4287a706ee03e (patch) | |
tree | 076b6a0408cef1a7cd6143f9ddcee3c9fc0a3132 /source | |
parent | ce341f68851e1170e231fc25cc8183183a2da99b (diff) |
More docu updates
Diffstat (limited to 'source')
-rw-r--r-- | source/history.c | 5 | ||||
-rw-r--r-- | source/widgets/textbox.c | 7 |
2 files changed, 12 insertions, 0 deletions
diff --git a/source/history.c b/source/history.c index d404d36b..ff71fa6c 100644 --- a/source/history.c +++ b/source/history.c @@ -39,9 +39,14 @@ #define HISTORY_MAX_ENTRIES 25 +/** + * History element + */ typedef struct __element { + /** Index in history */ long int index; + /** Entry */ char *name; }_element; 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; |