[haiku-3rdparty-dev] Re: SetHighColor on BListView problem

  • From: hey68 you <hey68you@xxxxxxxxx>
  • To: haiku-3rdparty-dev@xxxxxxxxxxxxx
  • Date: Tue, 2 Nov 2010 16:39:08 +0200

Hi Rene,

I'm using a regular BStringItem like this:

for (int L=0; Remote.GetEntry(&E, L); ++L)
{

lstFound->AddItem(new BStringItem((char* )E.GetTitle()));

....

}


Thanks,
hey68you

On Tue, Nov 2, 2010 at 4:31 PM, Rene Gollent <anevilyak@xxxxxxxxx> wrote:

> On Tue, Nov 2, 2010 at 10:25 AM, hey68 you <hey68you@xxxxxxxxx> wrote:
> > However on Haiku R1A2 it seems that the SetHighColor is being ignored
> (the
> > letters of the list items are still black).
> > I searched in Trac for "SetHighColor" and didn't see any obvious ticket
> > related except maybe #3970?
>
> Are you using BStringItems or something custom? At least at a glance
> BStringItem's drawing code is using the list view's high and low
> colors as it should, and I don't see it being overridden anywhere.
>
> Regards,
>
> Rene
>
>

Other related posts: