Hi Sascha,

On 1/9/07, Sascha Seewald <[EMAIL PROTECTED]> wrote:
Ok, got it now. I was thinking a GraphicsWindow would *own* a
GraphicsContext object. Actually it *is* a GraphicsContext object.

"is a" and vs "has as" ... a long time OO quandry.

I went for GraphicsWindow "is a" GraphicsContext to simplify the
management of graphics contexts/graphis window.  Toolkits like QT,
WxWindows, FLTK also go for "is a" for their graphics windows so the
way its done in osgViewer fits in well with this.

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to