Ticket #31974: patch-includes_mac_MacHelpers.h.diff
File patch-includes_mac_MacHelpers.h.diff, 1.0 KB (added by marin.saric@…, 13 years ago) |
---|
-
includes/mac/MacHelpers.h
57 57 MAC_MOUSEMOVED, 58 58 MAC_MOUSESCROLL}; 59 59 typedef enum Mac_EventType MacEventType; 60 61 60 62 61 // only used by MacKeyboard 63 62 typedef class Mac_KeyStackEvent 64 63 { 65 64 friend class MacKeyboard; 66 67 65 68 66 private: 69 67 Mac_KeyStackEvent( KeyEvent event, MacEventType type ) : Event(event), Type(type) {} 70 68 71 69 MacEventType Type; 72 70 KeyEvent Event; 73 71 } MacKeyStackEvent; 74 75 76 77 // only used by MacMouse78 typedef class Mac_MouseStackEvent79 {80 friend class MacMouse;81 82 private:83 Mac_MouseStackEvent( MouseEvent event, MacEventType type, MouseButtonID button) : Event(event), Type(type), Button(button) {}84 85 MacEventType Type;86 MouseEvent Event;87 MouseButtonID Button;88 89 } MacMouseStackEvent;90 91 72 } 92 73 93 74