## GritsPluginEnv GritsPluginEnv — Environment plugin |

## Synopsis

    struct              GritsPluginEnv;
    struct              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

### struct GritsPluginEnv

    struct GritsPluginEnv;

### struct GritsPluginEnvClass

    struct GritsPluginEnvClass {
    	GObjectClass parent_class;
    };

### 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