Clone of Akilla's ac2d @ https://github.com/deregtd/AC2D

MouseEventsAbstractor.h 920B

1234567891011121314151617181920
  1. #ifndef MOUSEEVENTSABSTRACTOR_H
  2. #define MOUSEEVENTSABSTRACTOR_H
  3. #include "Interfaces/IMouseEvents.h"
  4. template< class T >
  5. class MouseEventsAbstractor : public IMouseEvents
  6. {
  7. public:
  8. virtual bool OnClick( IWindow &Window, float X, float Y, unsigned long Button ) = 0;
  9. virtual bool OnDoubleClick( IWindow &Window, float X, float Y, unsigned long Button ) = 0;
  10. virtual bool OnMouseWheel( IWindow &Window, float X, float Y, unsigned long Button ) = 0;
  11. virtual bool OnMouseDown( IWindow &Window, float X, float Y, unsigned long Button ) = 0;
  12. virtual bool OnMouseUp( IWindow &Window, float X, float Y, unsigned long Button ) = 0;
  13. virtual bool OnMouseMove( IWindow &Window, float X, float Y, unsigned long Button ) = 0;
  14. virtual bool OnMouseEnter( IWindow &Window, float X, float Y, unsigned long Button ) = 0;
  15. virtual bool OnMouseExit( IWindow &Window, float X, float Y, unsigned long Button ) = 0;
  16. };
  17. #endif