3 #ifndef _APIInputEvent_H_
4 #define _APIInputEvent_H_
8 namespace AnyCAD{
namespace API
24 void SetLButtonDown () ;
29 bool IsLButtonDown ()
const;
33 void SetRButtonDown () ;
38 bool IsRButtonDown ()
const;
42 void SetMButtonDown () ;
47 bool IsMButtonDown ()
const;
52 int GetDelta ()
const;
57 void SetDelta (
int zDelta) ;
61 void SetShiftKeyDown () ;
66 bool IsShiftKeyDown ()
const;
70 void SetCtrlKeyDown () ;
75 bool IsCtrlKeyDown ()
const;
79 void SetAltKeyDown () ;
84 bool IsAltKeyDown ()
const;
89 bool IsTableKeyDown ()
const;
94 bool IsKeyESC ()
const;
99 Vector2 GetMousePosition ()
const;
104 void SetMousePosition (
const Vector2& pos) ;
114 void SetKey (
int nChar) ;
119 int GetFlag ()
const;
124 void SetFlag (
int nFlag) ;
128 #endif //_APIInputEvent_H_
Point or vector.
Definition: APIMath.h:16
#define DECLARE_APIOBJECT(className)
Definition: APIObjectDef.h:10