[haiku-appserver] Re: r14841 - haiku/trunk/src/servers/app

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: "Haiku app_server" <haiku-appserver@xxxxxxxxxxxxx>
  • Date: Fri, 11 Nov 2005 12:05:07 +0100 CET

Hi Adi,

Adi Oanca <adioanca@xxxxxxxxx> wrote:
> > Not that it should generally happen, but I guess it could happen if 
> > we
> > have a non-rectangular shaped window - so the fix should probably 
> > stay
> > with future API extensions in mind :)
>    Yes, yes, I thought of that ever since I began working on clipping 
> stuff.
>    But, this is not because of a rectangular area. Axel, you forgot 
> to
> tell me if you have a test case?

No, I haven't. Maybe Stefano has one?

>    BTW, you know there's nothing stopping us from not having
> non-rectangular shaped windows? :) This can be done if you pass a
> shaped region to a WinBorder by
> Layer::SetUserClippingRegion(regionFromShape).
>    I never tried this, but I'm 99% sure it works. We can have the
> rounded decorators from Stubear's mockups! :-)
>   (Note this does not apply to decorators only, but to the whole
> surface of a window. ;-) )

Well, sure it should work - otherwise it's a bug in the code.


Other related posts:

  • » [haiku-appserver] Re: r14841 - haiku/trunk/src/servers/app