]> git.street.me.uk Git - andy/viking.git/blobdiff - src/uibuilder.h
Document Fix #1947260
[andy/viking.git] / src / uibuilder.h
index ba9eac0f46c071befead1a2dc38efaec8d12878d..f7a4b07d1d0a569c22ad9ea8b5bbe4351eccf69c 100644 (file)
@@ -56,6 +56,7 @@ VIK_LAYER_WIDGET_RADIOGROUP,
 VIK_LAYER_WIDGET_RADIOGROUP_STATIC,
 VIK_LAYER_WIDGET_SPINBUTTON,
 VIK_LAYER_WIDGET_ENTRY,
+VIK_LAYER_WIDGET_PASSWORD,
 VIK_LAYER_WIDGET_FILEENTRY,
 VIK_LAYER_WIDGET_HSCALE,
 VIK_LAYER_WIDGET_COLOR,
@@ -75,11 +76,14 @@ enum {
 VIK_LAYER_PARAM_DOUBLE=1,
 VIK_LAYER_PARAM_UINT,
 VIK_LAYER_PARAM_INT,
+
+/* in my_layer_set_param, if you want to use the string, you should dup it
+ * in my_layer_get_param, the string returned will NOT be free'd, you are responsible for managing it (I think) */
 VIK_LAYER_PARAM_STRING,
 VIK_LAYER_PARAM_BOOLEAN,
 VIK_LAYER_PARAM_COLOR,
 
-/* NOTE: string layer works auniquely: data.sl should NOT be free'd when
+/* NOTE: string list works uniquely: data.sl should NOT be free'd when
  * the internals call get_param -- i.e. it should be managed w/in the layer.
  * The value passed by the internals into set_param should also be managed
  * by the layer -- i.e. free'd by the layer.