Catch and forward the following mouse related events:

mouseMoved, mouseEntered, mouseExited
mouseDown, mouseDragged, mouseUp
rightMouseDown, rightMouseDragged, rightMouseUp
otherMouseDown, otherMouseDragged, oterMouseUp


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
David Elliott
2003-04-14 03:51:59 +00:00
parent b67d3706d9
commit fe802fc2ed
2 changed files with 108 additions and 0 deletions

View File

@@ -30,6 +30,18 @@ protected:
public:
virtual void Cocoa_FrameChanged(void) = 0;
virtual bool Cocoa_drawRect(const NSRect &rect) = 0;
virtual bool Cocoa_mouseDown(WX_NSEvent theEvent) = 0;
virtual bool Cocoa_mouseDragged(WX_NSEvent theEvent) = 0;
virtual bool Cocoa_mouseUp(WX_NSEvent theEvent) = 0;
virtual bool Cocoa_mouseMoved(WX_NSEvent theEvent) = 0;
virtual bool Cocoa_mouseEntered(WX_NSEvent theEvent) = 0;
virtual bool Cocoa_mouseExited(WX_NSEvent theEvent) = 0;
virtual bool Cocoa_rightMouseDown(WX_NSEvent theEvent) = 0;
virtual bool Cocoa_rightMouseDragged(WX_NSEvent theEvent) = 0;
virtual bool Cocoa_rightMouseUp(WX_NSEvent theEvent) = 0;
virtual bool Cocoa_otherMouseDown(WX_NSEvent theEvent) = 0;
virtual bool Cocoa_otherMouseDragged(WX_NSEvent theEvent) = 0;
virtual bool Cocoa_otherMouseUp(WX_NSEvent theEvent) = 0;
};
#endif // _WX_COCOA_NSVIEW_H_