[GRASS-SVN] r33067 - grass/trunk/display/d.grid
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Aug 25 11:37:18 EDT 2008
Author: martinl
Date: 2008-08-25 11:37:18 -0400 (Mon, 25 Aug 2008)
New Revision: 33067
Modified:
grass/trunk/display/d.grid/main.c
Log:
d.grid: more guisections...
(merge from devbr6, r33066)
Modified: grass/trunk/display/d.grid/main.c
===================================================================
--- grass/trunk/display/d.grid/main.c 2008-08-25 15:28:04 UTC (rev 33066)
+++ grass/trunk/display/d.grid/main.c 2008-08-25 15:37:18 UTC (rev 33067)
@@ -1,4 +1,3 @@
-
/****************************************************************
*
* MODULE: d.grid
@@ -9,7 +8,7 @@
* PURPOSE: Draw the coordinate grid the user wants displayed on
* top of the current image
*
- * COPYRIGHT: (C) 1999, 2005 by the GRASS Development Team
+ * COPYRIGHT: (C) 1999-2008 by the GRASS Development Team
*
* This program is free software under the
* GNU General Public License (>=v2).
@@ -74,15 +73,18 @@
opt1 = G_define_standard_option(G_OPT_C_FG);
opt1->answer = "gray";
opt1->label = _("Grid color");
+ opt1->guisection = _("Color");
opt4 = G_define_standard_option(G_OPT_C_FG);
opt4->key = "bordercolor";
opt4->label = _("Border color");
+ opt4->guisection = _("Color");
tcolor = G_define_standard_option(G_OPT_C_FG);
tcolor->key = "textcolor";
tcolor->answer = "gray";
tcolor->label = _("Text color");
+ tcolor->guisection = _("Color");
fsize = G_define_option();
fsize->key = "fontsize";
@@ -113,16 +115,18 @@
nogrid = G_define_flag();
nogrid->key = 'n';
nogrid->description = _("Disable grid drawing");
+ nogrid->guisection = _("Disable");
noborder = G_define_flag();
noborder->key = 'b';
noborder->description = _("Disable border drawing");
+ noborder->guisection = _("Disable");
notext = G_define_flag();
notext->key = 't';
notext->description = _("Disable text drawing");
+ notext->guisection = _("Disable");
-
/* Check command line */
if (G_parser(argc, argv))
exit(EXIT_FAILURE);
More information about the grass-commit
mailing list