X-Git-Url: http://pileus.org/git/?p=grits;a=blobdiff_plain;f=src%2Fgis-opengl.h;h=80e866ee8fb3920b2bd718d7cc50a81f254b5270;hp=c6aa5060d6bc20e63dad8d21ac2b8672d0b11f0f;hb=cd2b3c70807c914687f9051b34a8fe029de300ee;hpb=1ccb2426332856ef04f0bfb35716520a94e0d32c diff --git a/src/gis-opengl.h b/src/gis-opengl.h index c6aa506..80e866e 100644 --- a/src/gis-opengl.h +++ b/src/gis-opengl.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2009 Andy Spencer + * Copyright (C) 2009-2010 Andy Spencer * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -38,9 +38,11 @@ struct _GisOpenGL { GisViewer parent_instance; /* instance members */ - GList *objects; + GTree *objects; RoamSphere *sphere; + GMutex *sphere_lock; guint sm_source[2]; + guint ue_source; /* for testing */ gboolean wireframe; @@ -55,6 +57,6 @@ struct _GisOpenGLClass { GType gis_opengl_get_type(void); /* Methods */ -GisViewer *gis_opengl_new(GisPlugins *plugins); +GisViewer *gis_opengl_new(GisPlugins *plugins, GisPrefs *prefs); #endif