SCV  4.2.1
Simple Components for Visual
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
SCVCallbacks.h
Go to the documentation of this file.
1 
7 #ifndef __SCV_CALLBACKS_H__
8 #define __SCV_CALLBACKS_H__
9 
10 #include "MouseEvent.h"
11 #include "KeyEvent.h"
12 
13 namespace scv {
14 
15 class SCVCallbacks {
16 public:
17  virtual ~SCVCallbacks() {};
18 
19  //SCVCallbacks
20  virtual void onMouseClick(const scv::MouseEvent &evt) {}
21  virtual void onMouseHold (const scv::MouseEvent &evt) {}
22  virtual void onMouseOver (const scv::MouseEvent &evt) {}
23  virtual void onMouseUp (const scv::MouseEvent &evt) {}
24  virtual void onMouseWheel(const scv::MouseEvent &evt) {}
25  virtual void onKeyPressed(const scv::KeyEvent &evt) {}
26  virtual void onKeyUp (const scv::KeyEvent &evt) {}
27  virtual void onSizeChange(void) {}
28  virtual void onPositionChange(void) {}
29 };
30 
31 } //namespace scv
32 
33 #endif //__SCV_CALLBACKS_H__