~sil2100/nux/revert_640

« back to all changes in this revision

Viewing changes to NuxGraphics/Events.h

  • Committer: Łukasz 'sil2100' Zemczak
  • Date: 2012-08-08 12:58:24 UTC
  • Revision ID: lukasz.zemczak@canonical.com-20120808125824-12o0md3gbv5jrawm
Reverting revision 640, as it was causing many serious regressions. The direct cause seems to be libgeis, not the nux changes themselves - but this is the easiest way of resolving the problem. This code can be re-added once geis is fixed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
230
230
    EVENT_DND_LEAVE,  //!< Synthetic event generated when the dnd action leaves an InputArea. This is not the event sent when the dnd action leaves the window.
231
231
    EVENT_DND_ENTER_WINDOW,  //!< Emitted when the DND action goes inside(XdndLeave) a window.
232
232
    EVENT_DND_LEAVE_WINDOW,   //!< Emitted when the DND action goes outside(XdndEnter) a window.
233
 
    EVENT_GESTURE_BEGIN, //!< Emitted when a gesture begins. Event class is GestureEvent.
234
 
    EVENT_GESTURE_UPDATE, //!< Emitted when a gesture is updated. Event class is GestureEvent.
235
 
    EVENT_GESTURE_END, //!< Emitted when a gesture ends. Event class is GestureEvent.
236
 
    EVENT_GESTURE_LOST, //!< Emitted when a gesture target loses a gesture. Event class is GestureEvent.
237
233
 
238
234
 
239
235
    // The following values are deprecated. Use the ones above.
310
306
 
311
307
    // Because an event is save in event_type instead of calling immediately the handling function,
312
308
    // we must clear the previous event each time before we test for new event in Gfx_OpenGLImpl::get_event.
313
 
    /*virtual*/ void Reset();
 
309
    void Reset();
314
310
 
315
311
    int GetX() const;
316
312
    int GetY() const;