Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 #ifndef EV_WIN32MOUSE_H
00024 #define EV_WIN32MOUSE_H
00025
00026 #include "ev_Mouse.h"
00027 #include "ev_EditBits.h"
00028
00029
00030
00031
00032
00033
00034 class AV_View;
00035
00036
00037 class ABI_EXPORT EV_Win32Mouse : public EV_Mouse
00038 {
00039 public:
00040 EV_Win32Mouse(EV_EditEventMapper * pEEM);
00041
00042 void reset(void);
00043
00044 void onButtonDown(AV_View * pView, HWND hWnd, EV_EditMouseButton emb, WPARAM fwKeys, WPARAM xPos, WPARAM yPos);
00045 void onButtonUp (AV_View * pView, HWND hWnd, EV_EditMouseButton emb, WPARAM fwKeys, WPARAM xPos, WPARAM yPos);
00046 void onButtonMove(AV_View * pView, HWND hWnd, WPARAM fwKeys, WPARAM xPos, WPARAM yPos);
00047 void onDoubleClick(AV_View * pView, HWND hWnd, EV_EditMouseButton emb, WPARAM fwKeys, WPARAM xPos, WPARAM yPos);
00048 void onButtonWheel(AV_View * pView, HWND hWnd, EV_EditMouseButton emb, WPARAM fwKeys, WPARAM xPos, WPARAM yPos);
00049
00050
00051 protected:
00052 UT_uint32 m_iCaptureCount;
00053 EV_EditMouseButton m_embCaptured;
00054 };
00055
00056 #endif