Logo Search packages:      
Sourcecode: blender version File versions

GHOST_IEvent * GHOST_EventManager::popEvent (  )  [protected, virtual]

Returns the event at the top of the stack and removes it. Delete the event after use!

Returns:
The event at the top of the stack.

Definition at line 244 of file GHOST_EventManager.cpp.

References m_events, and peekEvent().

Referenced by dispatchEvent().

{
      GHOST_IEvent* event = peekEvent();
      if (event) {
            m_events.pop_back();
      }
      return event;
}


Generated by  Doxygen 1.6.0   Back to index