[GRASS-dev] wxGUI: add color selector drop-down list to Settings?
Markus Neteler
neteler at osgeo.org
Mon Feb 10 14:01:49 PST 2014
On Mon, Feb 10, 2014 at 10:56 PM, Anna Petrášová <kratochanna at gmail.com> wrote:
> Hi,
> On Mon, Feb 10, 2014 at 12:56 PM, Markus Neteler <neteler at osgeo.org> wrote:
>> 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)
>
> done in r58981
Wonderful, works nicely.
Thanks for the real-time enhancement, Anna.
Markus
More information about the grass-dev
mailing list