Martin Landa wrote:

> for wxGUI I would like to add gisprompt for 'layer' parameter (sure in
> menuform can be check parameter key, but it's not save, see the
> problem with color "none" and translations).
> 
> for layer (read-only)
> 
> layer,layer,existing
> 
> for layer (to be created new vector layer)
> 
> layer,layer,new
> 
> for column (to be created):
> 
> dbcolumn,dbcolumn,new
> 
> for column (existing -- read-only mode for combobox)
> 
> dbcolumn,dbcolumn,existing
> 
> for color (transparent allowed)
> 
> color,color,none
> 
> for color (transparent not allowed)
> 
> color,color,?

You will need to change gis_prompt() in lib/gis/parser.c to accept the
new values for the first field ("age"). I suggest making it silently
return -1 for all unknown values, rather than reporting an error.

-- 
Glynn Clements <[EMAIL PROTECTED]>
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to