[openbeosmediakit] Re: media pref parameter web panel

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: openbeosmediakit@xxxxxxxxxxxxx
  • Date: Wed, 02 Jul 2003 16:42:33 +0200 CEST

Jérôme Duval <korli@xxxxxxxx> wrote:
> Selon Axel Dörfler <axeld@xxxxxxxxxxxxxxxx>:
> > That seems to be pretty simple: when there is more than one top 
> > group 
> > (groups directly in the web), it will not show the divider - and I 
> > guess that's just because it will look better because of the 
> > BTabView 
> > which contains the different groups in this case.
> Ok you are right. Are you suggesting to test the class of the top 
> view of the 
> parameter web view ?
> Is it with "instanceof<BTabView*>" ? I'm not very used to this one.

No, a simple:
        if (web->CountGroups() < 2)

should do.


Other related posts: