GritsPluginEnv

GritsPluginEnv — Environment plugin

Synopsis

                    GritsPluginEnv;
                    GritsPluginEnvClass;
GritsPluginEnv *    grits_plugin_env_new                (GritsViewer *viewer,
                                                         GritsPrefs *prefs);

Object Hierarchy

  GObject
   +----GritsPluginEnv

Implemented Interfaces

GritsPluginEnv implements GritsPlugin.

Description

GritsPluginEnv provides environmental information such as sky images. It can also paint a blank overlay on the surface so that other plugins can draw transparent overlays nicely.

Details

GritsPluginEnv

typedef struct _GritsPluginEnv GritsPluginEnv;


GritsPluginEnvClass

typedef struct {
	GObjectClass parent_class;
} GritsPluginEnvClass;


grits_plugin_env_new ()

GritsPluginEnv *    grits_plugin_env_new                (GritsViewer *viewer,
                                                         GritsPrefs *prefs);

Create a new instance of the environment plugin.

viewer :

the GritsViewer to use for drawing

prefs :

the GritsPrefs for storing configurations

Returns :

the new GritsPluginEnv