diff options
Diffstat (limited to 'include/widgets/textbox.h')
-rw-r--r-- | include/widgets/textbox.h | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/include/widgets/textbox.h b/include/widgets/textbox.h index 6d666ff0..83831bfe 100644 --- a/include/widgets/textbox.h +++ b/include/widgets/textbox.h @@ -58,9 +58,6 @@ typedef struct int markup; int changed; - cairo_surface_t *icon; // AA TODO - pass in icons for a textbox line if needed - int icon_index; - int blink; guint blink_timeout; @@ -69,7 +66,6 @@ typedef struct PangoFontMetrics *metrics; PangoEllipsizeMode emode; - int left_offset; // const char *theme_name; } textbox; @@ -86,7 +82,6 @@ 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. @@ -148,14 +143,6 @@ void textbox_font ( textbox *tb, TextBoxFontType tbft ); void textbox_text ( textbox *tb, const char *text ); /** - * @param tb Handle to the textbox - * @param icon The icon to show on the textbox - * - * Set the text to show. Cursor is moved to end (if visible) - */ -void textbox_icon ( textbox *tb, cairo_surface_t *icon ); - -/** * @param tb Handle to the textbox * @param action the #KeyBindingAction to execute on textbox * @@ -299,14 +286,6 @@ void textbox_set_pango_attributes ( textbox *tb, PangoAttrList *list ); /** * @param tb Handle to the textbox - * @param index character index to draw the icon at. -1 for no icon - * - * Sets the character index where the icon should be drawn - */ -void textbox_set_icon_index ( textbox *tb, int index ); - -/** - * @param tb Handle to the textbox * * Get the list of currently active pango attributes. * |