Re: void Gdk::Colormap::freeColors(Color& colors, int ncolors)



>> what is meant with "ncolors The number of colors in colors" at
>> >http://www.gtkmm.org/docs/gtkmm-2.4/docs/reference/html/classGdk_1_1Colormap.html#a6

>>
>>
>> how can one Color& stand for, let's say three colors ?
>
>Yes, that doesn't make any sense to me. Please file a bug.

Oh sure, now I get it... So this should actually read like this:

void Gdk::Colormap::free_colors(ArrayHandle_Color& colors, int ncolors);

Right?
I'm sorry if my previous answer caused any confusion, I just searched for the
first "ncolors" which came up in Gdk::Colormap::alloc_colors(...). My fault.


Best regards,

DJ



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]