Hi Michael,

On 29 November 2012 06:25, michael kapelko <[email protected]> wrote:

> Hi.
> My osgViewer::Viewer only has my custom handler attached
> (getEventHandlers() call returns only mine) which does nothing about
> resize, but somehow the window is still resizeable with the mouse.
>
> Can anyone tell me what part of osgViewer does it?
>

The GraphicsWindow implementation (Win32, X11, Cocoa etc.) handle all the
window resizing in response to underlying windowing system signaling a
resize.  All the GraphicsWindow implementations allow one to configure the
window decoration such that this is no resize.  See the osgcamera example
and the include/osg/GraphicsContext header for it's GraphicsContext::Traits
structure for details of how to use Traits to control window decoration of
the windows created.

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to