[GRASS5] Wishes and GUI code cleanup patch

Hamish hamish_nospam at yahoo.com
Mon Mar 13 19:54:11 EST 2006


> I'm also planning on hijacking some of those nice icons from
> Michael's work to use for some open existing prompts instead of  ">".

Are all icons from other GPL or BSD/MIT projects fair game?


> I'm already considering adding something like $(GISBASE)/etc/icon

If you do, please make that something like $(GISBASE)/etc/gui/icons
It is already confusing that the vector point symbols are often called
icons ($GISBASE/etc/symbol). Let's not make it any worse.


> > Also, it would be nice to have all optional parameters at the end of
> > the list

This should already be the case in most modules. It is controlled by the
order in which the options are defined in the source code. Sometimes it
happens this way out of oversight or modification*, other times it is on
purpose or conforming to a more import design consideration**.

[*] e.g. g.filename. I've just moved the newly optional mapset= option
to appear last.

[**] e.g. 'v.in.ascii [in=] out=' is best I think.


> having the parser still parse the  options when the gui command line
> switches are used seems like a compelling idea and would make it easy
> for third party utilities to open the gui with  specific options
> selected already.

careful, often a flag is the only command line option desired. Or none.

d.barscale -m
d.erase


Hamish




More information about the grass-dev mailing list