Browse Source

d.grid: more guisections...
(merge from devbr6, https://trac.osgeo.org/grass/changeset/33066)


git-svn-id: https://svn.osgeo.org/grass/grass/trunk@33067 15284696-431f-4ddb-bdfa-cd5b030d7da7

Martin Landa 17 years ago
parent
commit
f69e476d88
1 changed files with 7 additions and 3 deletions
  1. 7 3
      display/d.grid/main.c

+ 7 - 3
display/d.grid/main.c

@@ -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 @@ int main(int argc, char **argv)
     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,15 +115,17 @@ int main(int argc, char **argv)
     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))