// 4 september 2015 #define GLIB_VERSION_MIN_REQUIRED GLIB_VERSION_2_32 #define GLIB_VERSION_MAX_ALLOWED GLIB_VERSION_2_32 #define GDK_VERSION_MIN_REQUIRED GDK_VERSION_3_4 #define GDK_VERSION_MAX_ALLOWED GDK_VERSION_3_4 #include #include #define areaWidgetType (areaWidget_get_type()) #define areaWidget(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), areaWidgetType, areaWidget)) #define isAreaWidget(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), areaWidgetType)) #define areaWidgetClass(class) (G_TYPE_CHECK_CLASS_CAST((class), areaWidgetType, areaWidgetClass)) #define isAreaWidgetClass(class) (G_TYPE_CHECK_CLASS_TYPE((class), areaWidget)) #define getAreaWidgetClass(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), areaWidgetType, areaWidgetClass)) typedef struct areaWidget areaWidget; typedef struct areaWidgetClass areaWidgetClass; struct areaWidget { GtkDrawingArea parent_instance; struct areaPrivate *priv; }; struct areaWidgetClass { GtkDrawingAreaClass parent_class; }; extern GType areaWidget_get_type(void); #include "ui.h" extern GtkWidget *newArea(uiAreaHandler *ah);