Hi,

Erik Johnson wrote:
...and also attached is the whole file, which seems to be the preferred method.

BTW, I didn't readily see anything on openscenegraph.org <http://openscenegraph.org> on how to submit code. If there is something written, you might consider making it more pronounced.

http://www.openscenegraph.org/projects/osg/wiki/MailingLists/SubmissionsProtocol

Maybe we can add a link to the list signature? I'm not sure how though.

jp


Thanks,
Erik


On Mon, Feb 22, 2010 at 2:48 PM, Erik Johnson <[email protected] <mailto:[email protected]>> wrote:

    Hi,

    There is an issue on win32 if the application hides the cursor
    using GraphicsWindowWin32::useCursor(false).  The cursor has a habit
    of re-showing itself.

    To reproduce, on win32:

    -Run osgViewer in a windowed mode, with the cursor off, as such:
        osgViewer::Viewer::Windows windows;
        viewer.getWindows(windows);
        for(osgViewer::Viewer::Windows::iterator itr = windows.begin();
           itr != windows.end();
           ++itr)
        {
           (*itr)->useCursor( false );
        }

    -Quickly move the cursor into the window  (cursor it should be hidden)
    -Resize the window by dragging the border (notice the cursor changes
    to "resize" cursor)
    -Move the cursor back to the inside of the window (notice the cursor
    is not hidden anymore)

    The attached SVN patch will set the cursor to a "NoCursor" during
    useCursor(false).  This correctly stores the no cursor state, so it
    can be rejuvenated after a future cursor change.  This patch also
    fixes a couple instances where a hidden cursor should show itself,
    like when it's on the title bar, or the window close button.

    Thanks much,
    Erik Johnson



------------------------------------------------------------------------

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

--
This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard. The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html.

This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks Transtec Computers for their support.

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

Reply via email to