]> git.street.me.uk Git - andy/viking.git/blobdiff - src/viklayer.h
Half-drawn hack
[andy/viking.git] / src / viklayer.h
index 37e478add736ed67e556ada09de8dfe5550e5485..cfb5a5ee52ff0abb2c54e61db2ae5fb2edb5b045 100644 (file)
@@ -129,6 +129,7 @@ VIK_LAYER_GROUP_NONE=-1
 enum {
 VIK_LAYER_WIDGET_CHECKBUTTON=0,
 VIK_LAYER_WIDGET_RADIOGROUP,
+VIK_LAYER_WIDGET_RADIOGROUP_STATIC,
 VIK_LAYER_WIDGET_SPINBUTTON,
 VIK_LAYER_WIDGET_ENTRY,
 VIK_LAYER_WIDGET_FILEENTRY,
@@ -195,7 +196,6 @@ typedef const gchar * (*VikLayerFuncSublayerRenameRequest) (VikLayer *,const gch
                                                             gint,VikViewport *,GtkTreeIter *); /* first gpointer is a VikLayersPanel */
 typedef gboolean      (*VikLayerFuncSublayerToggleVisible) (VikLayer *,gint,gpointer);
 
-typedef VikLayer *    (*VikLayerFuncCopy)                  (VikLayer *,VikViewport *);
 typedef void          (*VikLayerFuncMarshall)              (VikLayer *, guint8 **, gint *);
 typedef VikLayer *    (*VikLayerFuncUnmarshall)            (guint8 *, gint, VikViewport *);
 
@@ -266,7 +266,6 @@ struct _VikLayerInterface {
   VikLayerFuncSublayerRenameRequest sublayer_rename_request;
   VikLayerFuncSublayerToggleVisible sublayer_toggle_visible;
 
-  VikLayerFuncCopy                  copy;
   VikLayerFuncMarshall              marshall;
   VikLayerFuncUnmarshall            unmarshall;
 
@@ -325,4 +324,8 @@ gboolean vik_layer_sublayer_toggle_visible ( VikLayer *l, gint subtype, gpointer
 /* TODO: put in layerspanel */
 GdkPixbuf *vik_layer_load_icon ( gint type );
 
+VikLayer *vik_layer_get_and_reset_trigger();
+void vik_layer_emit_update_secondary ( VikLayer *vl ); /* to be called by aggregate layer only. doesn't set the trigger */
+void vik_layer_emit_update_although_invisible ( VikLayer *vl );
+
 #endif