summaryrefslogtreecommitdiff
path: root/src/cr-rgb.h
diff options
context:
space:
mode:
authorDodji Seketeli <dodji@src.gnome.org>2003-03-15 19:02:11 +0000
committerDodji Seketeli <dodji@src.gnome.org>2003-03-15 19:02:11 +0000
commit913912133b6a91c361d1c332175425623b86905f (patch)
tree14be087dd61e3e4450ddeaaccd3ee703c8eee6f4 /src/cr-rgb.h
parent189522e07f90cc58a1f7a94836ae99bf6d7150a2 (diff)
downloadlibcroco-913912133b6a91c361d1c332175425623b86905f.tar.gz
revisited the way the CRTerm and CRNum classes were handling their types and
especially numeric types. Did also the necessary modifs in all the impacted code.
Diffstat (limited to 'src/cr-rgb.h')
-rw-r--r--src/cr-rgb.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cr-rgb.h b/src/cr-rgb.h
index 2bfc9cd..e5b6c60 100644
--- a/src/cr-rgb.h
+++ b/src/cr-rgb.h
@@ -48,7 +48,7 @@ extern "C"
*Either NO_UNIT (integer) or
*UNIT_PERCENTAGE (percentage).
*/
- enum TermUnit unit ;
+ gboolean is_percentage ;
glong red ;
glong green ;
glong blue ;
@@ -59,7 +59,7 @@ extern "C"
CRRgb *
cr_rgb_new_with_vals (glong a_red, glong a_green,
- glong a_blue, enum TermUnit a_unit) ;
+ glong a_blue, gboolean a_is_percentage) ;
void
cr_rgb_dump (CRRgb *a_this, FILE *a_fp) ;