diff options
author | Dave Davenport <qball@gmpclient.org> | 2017-03-30 08:30:02 +0200 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2017-03-30 08:30:02 +0200 |
commit | 898e4a2717a7c160b46b4665b4d192a024859213 (patch) | |
tree | b246a098263f2ae778b140943cfca5de557546c3 /include | |
parent | eeee200d8f5778cd65cd1f7cef985df3526772c4 (diff) |
Remove old color structure and name based parsing
Diffstat (limited to 'include')
-rw-r--r-- | include/widgets/textbox.h | 1 | ||||
-rw-r--r-- | include/x11-helper.h | 21 |
2 files changed, 0 insertions, 22 deletions
diff --git a/include/widgets/textbox.h b/include/widgets/textbox.h index 20ed7e0a..0944f709 100644 --- a/include/widgets/textbox.h +++ b/include/widgets/textbox.h @@ -26,7 +26,6 @@ typedef struct widget widget; unsigned long flags; short cursor; - Color color_fg, color_bg; char *text; PangoLayout *layout; int tbft; diff --git a/include/x11-helper.h b/include/x11-helper.h index 98cd8ccd..dec570d4 100644 --- a/include/x11-helper.h +++ b/include/x11-helper.h @@ -196,27 +196,6 @@ extern xcb_colormap_t map; */ void x11_create_visual_and_colormap ( void ); -/** - * Structure describing a cairo color. - */ -typedef struct -{ - /** red channel */ - double red; - /** green channel */ - double green; - /** blue channel */ - double blue; - /** alpha channel */ - double alpha; -} Color; - -/** - * @param name String representing the color. - * - * Allocate a pixel value for an X named color - */ -Color color_get ( const char *const name ); /** * Gets a surface containing the background image of the desktop. |