Show
Ignore:
Timestamp:
04/14/14 18:16:22 (5 days ago)
Author:
robert
Message:

Fixed comment

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/src/osgGA/EventQueue.cpp

    r13277 r13376  
    133133} 
    134134 
     135void EventQueue::syncWindowRectangleWithGraphcisContext() 
     136{ 
     137    const osg::GraphicsContext::Traits* traits = (getGraphicsContext()!=0) ? getGraphicsContext()->getTraits() : 0; 
     138    if (traits) _accumulateEventState->setWindowRectangle(traits->x, traits->y, traits->width, traits->height, !_useFixedMouseInputRange); 
     139} 
    135140 
    136141void EventQueue::windowResize(int x, int y, int width, int height, double time) 
     
    491496    event->setEventType(GUIEventAdapter::FRAME); 
    492497    event->setTime(time); 
     498     
     499    OSG_NOTICE<<"frame("<<time<<"), event->getX()="<<event->getX()<<", event->getY()="<<event->getY()<<", event->getXmin()="<<event->getXmin()<<", event->getYmin()="<<event->getYmin()<<", event->getXmax()="<<event->getXmax()<<", event->getYmax()="<<event->getYmax()<<std::endl; 
    493500 
    494501    addEvent(event);