diff options
author | Dave Davenport <qball@gmpclient.org> | 2017-05-31 11:05:45 +0200 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2017-05-31 11:05:45 +0200 |
commit | 4d8784cf85a5108340a2b2a684e2bd1d9f77269d (patch) | |
tree | 29e6d513c317c4b2686cb9ea27d195d074861df2 /include/widgets | |
parent | 8a6bdd827de065009fbc14b11dca23be61c77138 (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.h | 2 |
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. |