[GRASS-dev] wxGUI: add color selector drop-down list to Settings?

Markus Neteler neteler at osgeo.org
Mon Feb 10 09:56:02 PST 2014


Hi,

in wxGUI -> Settings -> Preferences -> Layer tab
there is the "Default color table" text color list, could this be
switched to the nice graphical one as used/generated here:

    case G_OPT_M_COLR:
        Opt->key = "color";
        Opt->key_desc = "style";
        Opt->type = TYPE_STRING;
        Opt->required = NO;
        Opt->options = G_color_rules_options();
        Opt->description = _("Name of color table");
        Opt->descriptions = G_color_rules_descriptions();
        Opt->gisprompt = "old,colortable,colortable";
        break;

(used in r.colors/v.colors)

thanks
Markus


More information about the grass-dev mailing list