![]() |
![]() |
![]() |
Grits Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces |
struct GritsPluginEnv; struct GritsPluginEnvClass; GritsPluginEnv * grits_plugin_env_new (GritsViewer *viewer
,GritsPrefs *prefs
);
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.
GritsPluginEnv * grits_plugin_env_new (GritsViewer *viewer
,GritsPrefs *prefs
);
Create a new instance of the environment plugin.
|
the GritsViewer to use for drawing |
|
the GritsPrefs for storing configurations |
Returns : |
the new GritsPluginEnv |