diff options
author | Dave Davenport <qball@gmpclient.org> | 2017-01-09 08:32:16 +0100 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2017-01-09 08:32:16 +0100 |
commit | f42e4ffbd7b19723eb2ffeab744ed3b6724b056c (patch) | |
tree | 81202f6ec9913ed5d0e305cb5c0e3e172502c1de /include | |
parent | 78916c6a94a7496376b683fa9bf8dbb60d2cdc34 (diff) |
Remove old cairo color set functions
Diffstat (limited to 'include')
-rw-r--r-- | include/widgets/textbox.h | 20 | ||||
-rw-r--r-- | include/widgets/widget-internal.h | 2 | ||||
-rw-r--r-- | include/x11-helper.h | 28 |
3 files changed, 11 insertions, 39 deletions
diff --git a/include/widgets/textbox.h b/include/widgets/textbox.h index d81d8806..f8469ead 100644 --- a/include/widgets/textbox.h +++ b/include/widgets/textbox.h @@ -48,16 +48,16 @@ typedef struct */ typedef enum { - TB_AUTOHEIGHT = 1 << 0, - TB_AUTOWIDTH = 1 << 1, - TB_LEFT = 1 << 16, - TB_RIGHT = 1 << 17, - TB_CENTER = 1 << 18, - TB_EDITABLE = 1 << 19, - TB_MARKUP = 1 << 20, - TB_WRAP = 1 << 21, - TB_PASSWORD = 1 << 22, - TB_INDICATOR = 1 << 23, + TB_AUTOHEIGHT = 1 << 0, + TB_AUTOWIDTH = 1 << 1, + TB_LEFT = 1 << 16, + TB_RIGHT = 1 << 17, + TB_CENTER = 1 << 18, + TB_EDITABLE = 1 << 19, + TB_MARKUP = 1 << 20, + TB_WRAP = 1 << 21, + TB_PASSWORD = 1 << 22, + TB_INDICATOR = 1 << 23, } TextboxFlags; /** * Flags indicating current state of the textbox. diff --git a/include/widgets/widget-internal.h b/include/widgets/widget-internal.h index 06a82145..01813e86 100644 --- a/include/widgets/widget-internal.h +++ b/include/widgets/widget-internal.h @@ -46,7 +46,7 @@ struct _widget /** Handle mouse motion, used for dragging */ gboolean ( *motion_notify )( struct _widget *, xcb_motion_notify_event_t * ); - int (*get_desired_height) ( struct _widget * ); + int ( *get_desired_height )( struct _widget * ); /** widget clicked callback */ widget_clicked_cb clicked; diff --git a/include/x11-helper.h b/include/x11-helper.h index ac8ea92f..ac833ce6 100644 --- a/include/x11-helper.h +++ b/include/x11-helper.h @@ -217,34 +217,6 @@ typedef struct Color color_get ( const char *const name ); /** - * @param d cairo drawing context to set color on - * - * Set cairo drawing context source color to the background color. - */ -void color_background ( cairo_t *d ); - -/** - * @param d cairo drawing context to set color on - * - * Set cairo drawing context source color to the border color. - */ -void color_border ( cairo_t *d ); -/** - * @param d cairo drawing context to set color on - * - * Set cairo drawing context source color to the separator color. - */ -void color_separator ( cairo_t *d ); - -/** - * @param d cairo drawing context to set color on. - * @param col The color to set. - * - * Sets col as cairo source color. - */ -void x11_helper_set_cairo_rgba ( cairo_t *d, Color col ); - -/** * Gets a surface containing the background image of the desktop. * * @returns a cairo surface with the background image of the desktop. |