1 /* Fo 2 * fo-property-background-color.h: 'background-color' property 3 * 4 * Copyright (C) 2001 Sun Microsystems 5 * Copyright (C) 2007 Menteith Consulting Ltd 6 * 7 * See COPYING for the status of this software. 8 */ 9 10 #ifndef __FO_PROPERTY_BACKGROUND_COLOR_H__ 11 #define __FO_PROPERTY_BACKGROUND_COLOR_H__ 12 13 #include <libfo/fo-utils.h> 14 #include <libfo/property/fo-property.h> 15 16 G_BEGIN_DECLS 17 18 /* background-color */ 19 /* Inherited: FALSE */ 20 /* Shorthand: FALSE */ 21 /* <color> | transparent | inherit */ 22 /* Initial value: transparent */ 23 24 #define FO_TYPE_PROPERTY_BACKGROUND_COLOR (fo_property_background_color_get_type ()) 25 #define FO_PROPERTY_BACKGROUND_COLOR(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_BACKGROUND_COLOR, FoPropertyBackgroundColor)) 26 #define FO_PROPERTY_BACKGROUND_COLOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_BACKGROUND_COLOR, FoPropertyBackgroundColorClass)) 27 #define FO_IS_PROPERTY_BACKGROUND_COLOR(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_BACKGROUND_COLOR)) 28 #define FO_IS_PROPERTY_BACKGROUND_COLOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_BACKGROUND_COLOR)) 29 #define FO_PROPERTY_BACKGROUND_COLOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_BACKGROUND_COLOR, FoPropertyBackgroundColorClass)) 30 31 32 typedef struct _FoPropertyBackgroundColor FoPropertyBackgroundColor; 33 typedef struct _FoPropertyBackgroundColorClass FoPropertyBackgroundColorClass; 34 35 GType fo_property_background_color_get_type (void) G_GNUC_CONST; 36 FoProperty * fo_property_background_color_new (void); 37 FoProperty * fo_property_background_color_get_initial (void); 38 39 G_END_DECLS 40 41 #endif /* !__FO_PROPERTY_BACKGROUND_COLOR_H__ */ 42