]> Dogcows Code - chaz/openbox/blobdiff - render/color.c
remove the ob_root var, its redundant of what Xlib already provides
[chaz/openbox] / render / color.c
index 46f81161e1defaf86e43602538e1a0c13757ccaa..dfdd092c56062046206835eb53ce84bd46717c36 100644 (file)
@@ -242,3 +242,23 @@ void RrIncreaseDepth(const RrInstance *inst, RrPixel32 *data, XImage *im)
         g_message("this image bit depth is currently unhandled\n");
     }
 }
+
+int RrColorRed(const RrColor *c)
+{
+    return c->r;
+}
+
+int RrColorGreen(const RrColor *c)
+{
+    return c->g;
+}
+
+int RrColorBlue(const RrColor *c)
+{
+    return c->b;
+}
+
+gulong RrColorPixel(const RrColor *c)
+{
+    return c->pixel;
+}
This page took 0.022952 seconds and 4 git commands to generate.