summaryrefslogtreecommitdiff
path: root/src/cr-rgb.h
diff options
context:
space:
mode:
authorDodji Seketeli <dodji@src.gnome.org>2004-04-18 15:26:47 +0000
committerDodji Seketeli <dodji@src.gnome.org>2004-04-18 15:26:47 +0000
commit6d08258366de84957200071d2ec6aef2c027529c (patch)
tree41690fa2b005f166f6ee92e2915ef48f28d8b925 /src/cr-rgb.h
parent5d0671c2a41511e78b60f52ad25ac9748fbfd28a (diff)
downloadlibcroco-6d08258366de84957200071d2ec6aef2c027529c.tar.gz
Changes from arch/CVS synchronization
Diffstat (limited to 'src/cr-rgb.h')
-rw-r--r--src/cr-rgb.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/cr-rgb.h b/src/cr-rgb.h
index 2918a4c..e61169a 100644
--- a/src/cr-rgb.h
+++ b/src/cr-rgb.h
@@ -26,6 +26,7 @@
#include <stdio.h>
#include <glib.h>
#include "cr-utils.h"
+#include "cr-parsing-location.h"
G_BEGIN_DECLS
@@ -43,6 +44,8 @@ struct _CRRgb
glong green ;
glong blue ;
gboolean is_percentage ;
+ gboolean inherit ;
+ CRParsingLocation location ;
} ;
CRRgb * cr_rgb_new (void) ;
@@ -58,7 +61,11 @@ enum CRStatus cr_rgb_compute_from_percentage (CRRgb *a_this) ;
enum CRStatus cr_rgb_set (CRRgb *a_this, gulong a_red,
gulong a_green, gulong a_blue,
gboolean a_is_percentage) ;
-
+
+enum CRStatus cr_rgb_set_to_inherit (CRRgb *a_this) ;
+
+gboolean cr_rgb_is_set_to_inherit (CRRgb *a_this) ;
+
enum CRStatus cr_rgb_set_from_rgb (CRRgb *a_this, CRRgb *a_rgb) ;
enum CRStatus cr_rgb_set_from_name (CRRgb *a_this, const guchar *a_color_name) ;