aboutsummaryrefslogtreecommitdiffstats
path: root/src/yawa.h
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2014-11-10 21:49:47 +0100
committerJohannes Löthberg <johannes@kyriasis.com>2014-11-10 21:49:47 +0100
commit04a926ec1e79eba4bda31e19ef58aed79e10ff46 (patch)
tree042068d5908316b18713f746007d94525c5710bc /src/yawa.h
parent502734b615b728d1e01c028df5dc92827850068e (diff)
downloadyawa-04a926ec1e79eba4bda31e19ef58aed79e10ff46.tar.xz
parse_color: Use bool return-type, nuke PColor for Color*
Diffstat (limited to 'src/yawa.h')
-rw-r--r--src/yawa.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/yawa.h b/src/yawa.h
index e2b5d1b..38f15a4 100644
--- a/src/yawa.h
+++ b/src/yawa.h
@@ -5,13 +5,13 @@
typedef struct
{
int r, g, b, a;
-} Color, *PColor;
+} Color;
typedef enum
{ Full, Fill, Center, Tile } ImageMode;
int set_root_atoms (Pixmap pixmap);
-int parse_color (char *arg, PColor c, int a);
+bool parse_color (char *arg, Color *c, int a);
int load_image (ImageMode mode, const char *arg, int rootW, int rootH, int alpha,
Imlib_Image rootimg);