1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- #ifndef Maus_H
- #define Maus_H
- #define WIN32_LEAN_AND_MEAN
- #include <Windows.h>
- namespace Framework
- {
- class Bild;
- class Maus;
- namespace MausId
- {
- const int nichts = 0;
- const int normal = 1;
- const int hand = 2;
- const int warten = 3;
- const int verschieben = 4;
- const int text = 5;
- const int wahgerecht = 6;
- const int senkrecht = 7;
- const int diagonal1 = 8;
- const int diagonal2 = 9;
- const int verboten = 10;
- }
- class Maus
- {
- private:
- HCURSOR hMaus;
- int ref;
- public:
-
- Maus();
-
- ~Maus();
-
- void ladeMaus( int mausId );
- void ladeMaus( Bild *maus );
- void update();
-
- HCURSOR getMausHandle();
-
- Maus *getThis();
- Maus *release();
- };
- }
- #endif
|