/* agblock.h */ #ifndef __AG_BLOCK_H #define __AG_BLOCK_H #include #include #ifdef __cplusplus extern "C" { #endif #define AG_BLOCK(obj) \ GTK_CHECK_CAST(obj,ag_block_get_type(),AgBlock) #define AG_BLOCK_CLASS(klass) GTK_CHECK_CLASS_CAST(klass, \ ag_block_get_type(),AgBlockClass) #define AG_IS_BLOCK(obj) \ GTK_CHECK_TYPE(obj,ag_block_get_type()) typedef struct _AgBlock AgBlock; typedef struct _AgBlockClass AgBlockClass; struct _AgBlock { GtkWidget widget; GdkColor *color; }; struct _AgBlockClass { GtkWidgetClass parent_class; }; GtkWidget *ag_block_new(void); guint ag_block_get_type(void); #ifdef __cplusplus } #endif #endif /* __AG_BLOCK_H */