12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182 |
- #ifndef MausEreignis_H
- #define MausEreignis_H
- #include <functional>
- #include "Vec3.h"
- namespace Framework
- {
- const int M_Links = 0;
- const int M_Mitte = 1;
- const int M_Rechts = 2;
- const int ME_PLinks = 0;
- const int ME_PRechts = 1;
- const int ME_PMitte = 2;
- const int ME_RLinks = 3;
- const int ME_RRechts = 4;
- const int ME_RMitte = 5;
- const int ME_DKLinks = 6;
- const int ME_DKRechts = 7;
- const int ME_DKMitte = 8;
- const int ME_Betritt = 9;
- const int ME_Leaves = 10;
- const int ME_Bewegung = 11;
- const int ME_UScroll = 12;
- const int ME_DScroll = 13;
- const int ME_RScroll = 14;
- const int ME_LScroll = 15;
-
- struct MausEreignis
- {
-
- int id;
-
- int mx;
-
- int my;
-
- bool verarbeitet;
-
-
- bool insideParent;
-
- int originalX;
-
- int originalY;
- };
-
- struct MausEreignis3D
- {
-
- int id;
-
- Vec3<float> pos;
-
- Vec3<float> dir;
-
- bool verarbeitet;
- };
- typedef std::function<bool(void*, void*, MausEreignis)> MausAktion;
-
-
-
-
-
-
- DLLEXPORT bool _ret1ME(void* param, void* obj, MausEreignis me);
-
-
-
-
-
-
-
- DLLEXPORT bool _closeFensterME(void* param, void* obj, MausEreignis me);
- }
- #endif
|