[interfacekit] Re: Clipping - what to do, what to do?

Pahtz <pahtz@xxxxxxxxxxxx> wrote:
> Treat everthing as a rectangular area. What is a rounded window 
> corner? 
> It's a square corner with a alpha-transparent paint to soften the 
> corner.
> 
> It's then up to the window compositing algorithm to lay the windows 
> on top 
> of each other so the stuff under the corner shows through.

Sounds good.

> Then comes the hack, which is for the app_server to pass mouse clicks 
> on 
> fully transparent areas on to a lower window. One pixel check per 
> click is 
> low overhead. [but what about MOUSE_MOVED?]

I don't think it'll be too expensive.

> There are two versions, one runs in a BWindow,  the other a full-
> screen 
> BDirectWindow using the real frame-buffer. You should be running in 
> 16 or 32-bit color, iirc.
> 
> [I'm having trouble uploading (too many hops?) and Freelists will 
> remove 
> the attachment so I've cc'd Axel, Adi, Gabe, and DarkWyrm via

Thanks, it looks nice!

> @users.sourceforge.net. E-mail me pahtz@xxxxxxxx if you
> want it also.]

SF currently doesn't like zips...

Bye,
   Axel.


Other related posts: