X-Git-Url: http://git.euphorik.ch/index.cgi?a=blobdiff_plain;f=WCudaMSE%2FAPI_Bilat_Displayable%2FINC%2FMouseListener_I.h;fp=WCudaMSE%2FAPI_Bilat_Displayable%2FINC%2FMouseListener_I.h;h=0b460b1a642d4bf7cc1c8cb23e8983b27dd94fc0;hb=8d08c12b29c2a14684f35c023ee39e694bb80d25;hp=0000000000000000000000000000000000000000;hpb=226de81f7e1f1fbf4ac79d0d089e8a05ec7159a0;p=GPU.git diff --git a/WCudaMSE/API_Bilat_Displayable/INC/MouseListener_I.h b/WCudaMSE/API_Bilat_Displayable/INC/MouseListener_I.h new file mode 100755 index 0000000..0b460b1 --- /dev/null +++ b/WCudaMSE/API_Bilat_Displayable/INC/MouseListener_I.h @@ -0,0 +1,32 @@ +#ifndef MOUSE_LISTENER_I_H +#define MOUSE_LISTENER_I_H + +/*----------------------------------------------------------------------*\ + |* Declaration *| + \*---------------------------------------------------------------------*/ + +#include "MouseEvent.h" +#include "MouseWheelEvent.h" +/*--------------------------------------*\ + |* Public *| + \*-------------------------------------*/ + +class CBI_DISPLAYABLE MouseListener_I + { + public: + virtual ~MouseListener_I() + { + //Nothing + } + + virtual void onMouseMoved(const MouseEvent& event)=0; + virtual void onMousePressed(const MouseEvent& event)=0; + virtual void onMouseReleased(const MouseEvent& event)=0; + virtual void onMouseWheel(const MouseWheelEvent& event)=0; + }; + +#endif + +/*----------------------------------------------------------------------*\ + |* End *| + \*---------------------------------------------------------------------*/