X-Git-Url: http://pileus.org/git/?p=grits;a=blobdiff_plain;f=src%2Fgis-opengl.h;h=72d7b13bdf0fe62050ad28a4bbc190e06fce401e;hp=a77b5a43d6f289cdae4fed3de6bf9725fa504ca0;hb=5e97f4c0721a5481afbb2d005538e896ac8baf5a;hpb=e1c0182c49c7899345b6e0e3de5fd0eae69764df diff --git a/src/gis-opengl.h b/src/gis-opengl.h index a77b5a4..72d7b13 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 @@ -39,9 +39,11 @@ struct _GisOpenGL { /* instance members */ GTree *objects; + GMutex *objects_lock; RoamSphere *sphere; GMutex *sphere_lock; guint sm_source[2]; + guint ue_source; /* for testing */ gboolean wireframe; @@ -56,6 +58,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