summaryrefslogtreecommitdiffstats
path: root/include/widgets
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2017-05-31 11:05:45 +0200
committerDave Davenport <qball@gmpclient.org>2017-05-31 11:05:45 +0200
commit4d8784cf85a5108340a2b2a684e2bd1d9f77269d (patch)
tree29e6d513c317c4b2686cb9ea27d195d074861df2 /include/widgets
parent8a6bdd827de065009fbc14b11dca23be61c77138 (diff)
Port fixes from icon-cleanup branch.
- Thread for fetching icons for drun. - Fixed placing of icons instead of adding place-holder token that can mis-render. - Give textbox TB_ICON flag.
Diffstat (limited to 'include/widgets')
-rw-r--r--include/widgets/textbox.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/widgets/textbox.h b/include/widgets/textbox.h
index 3a8b1583..48bc6c54 100644
--- a/include/widgets/textbox.h
+++ b/include/widgets/textbox.h
@@ -66,6 +66,7 @@ typedef struct
guint blink_timeout;
PangoFontMetrics *metrics;
+ int left_offset;
//
const char *theme_name;
} textbox;
@@ -85,6 +86,7 @@ typedef enum
TB_WRAP = 1 << 21,
TB_PASSWORD = 1 << 22,
TB_INDICATOR = 1 << 23,
+ TB_ICON = 1<<24,
} TextboxFlags;
/**
* Flags indicating current state of the textbox.