X-Git-Url: http://pileus.org/git/?p=grits;a=blobdiff_plain;f=src%2Fobjects%2Fgis-object.h;h=3060c64332a2d55366502859a9c598d0c0b10194;hp=6763a5fd18a4425763712b27028fa7089cc27585;hb=72643f9bd6c87e08670eb1a0aad2da5573b99774;hpb=2be8bbde8f465947d364b28c5e156631caed6d25 diff --git a/src/objects/gis-object.h b/src/objects/gis-object.h index 6763a5f..3060c64 100644 --- a/src/objects/gis-object.h +++ b/src/objects/gis-object.h @@ -40,12 +40,19 @@ struct _GisObject { gdouble lod; }; +#include "gis-opengl.h" struct _GisObjectClass { GObjectClass parent_class; + + /* Move some of these to GObject? */ + void (*draw) (GisObject *object, GisOpenGL *opengl); }; GType gis_object_get_type(void); +/* Implemented by sub-classes */ +void gis_object_draw(GisObject *object, GisOpenGL *opengl); + /** * gis_object_center: * @object: The #GisObject to get the center of