Top | ![]() |
![]() |
![]() |
![]() |
void a_layer_defaults_register (VikLayerParam *vlp
,VikLayerParamData defaultval
,const gchar *layername
);
Call this function on to set the default value for the particular parameter
gboolean a_layer_defaults_show_window (GtkWindow *parent
,const gchar *layername
);
This displays a Window showing the default parameter values for the selected layer It allows the parameters to be changed.
VikLayerParamData a_layer_defaults_get (const gchar *layername
,const gchar *param_name
,VikLayerParamType param_type
);
Call this function to get the default value for the parameter requested
gboolean a_layer_defaults_save ();
Call this function to save the current layer defaults Normally should only be performed if any layer defaults have been changed via direct manipulation of the layer rather than the user changing the preferences via the dialog window above
This must only be performed once all layer parameters have been initialized