Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'intern/ghost/intern/GHOST_EventCursor.h')
-rw-r--r--intern/ghost/intern/GHOST_EventCursor.h46
1 files changed, 24 insertions, 22 deletions
diff --git a/intern/ghost/intern/GHOST_EventCursor.h b/intern/ghost/intern/GHOST_EventCursor.h
index 431c26e2e49..7947b134f4b 100644
--- a/intern/ghost/intern/GHOST_EventCursor.h
+++ b/intern/ghost/intern/GHOST_EventCursor.h
@@ -30,28 +30,30 @@
/**
* Cursor event.
*/
-class GHOST_EventCursor : public GHOST_Event
-{
-public:
- /**
- * Constructor.
- * \param msec The time this event was generated.
- * \param type The type of this event.
- * \param x The x-coordinate of the location the cursor was at at the time of the event.
- * \param y The y-coordinate of the location the cursor was at at the time of the event.
- */
- GHOST_EventCursor(GHOST_TUns64 msec, GHOST_TEventType type, GHOST_IWindow *window, GHOST_TInt32 x, GHOST_TInt32 y)
- : GHOST_Event(msec, type, window)
- {
- m_cursorEventData.x = x;
- m_cursorEventData.y = y;
- m_data = &m_cursorEventData;
- }
+class GHOST_EventCursor : public GHOST_Event {
+ public:
+ /**
+ * Constructor.
+ * \param msec The time this event was generated.
+ * \param type The type of this event.
+ * \param x The x-coordinate of the location the cursor was at at the time of the event.
+ * \param y The y-coordinate of the location the cursor was at at the time of the event.
+ */
+ GHOST_EventCursor(GHOST_TUns64 msec,
+ GHOST_TEventType type,
+ GHOST_IWindow *window,
+ GHOST_TInt32 x,
+ GHOST_TInt32 y)
+ : GHOST_Event(msec, type, window)
+ {
+ m_cursorEventData.x = x;
+ m_cursorEventData.y = y;
+ m_data = &m_cursorEventData;
+ }
-protected:
- /** The x,y-coordinates of the cursor position. */
- GHOST_TEventCursorData m_cursorEventData;
+ protected:
+ /** The x,y-coordinates of the cursor position. */
+ GHOST_TEventCursorData m_cursorEventData;
};
-
-#endif // __GHOST_EVENTCURSOR_H__
+#endif // __GHOST_EVENTCURSOR_H__