RE: drawables

2002-04-09 Thread Robert Collins
> -Original Message- > From: Harold Hunt [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, April 09, 2002 3:11 PM > I hope that clarifies things. > > This may actually be documented in the Porting Layer > Definition, but I don't remember for sure. Yes it is sortof - some frameworks have d

RE: drawables

2002-04-08 Thread Harold Hunt
Rob, If you have a pDrawable and pDrawable->type == DRAWABLE_WINDOW then you actually have a pWindow already and pWindow == pDrawable. Just look at xc/programs/Xserver/include/windowstr.h/WindowRec and you'll see that the first member in a WindowRec is actually a DrawableRec, so the address of t