Details | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 244 | chris | 1 | #ifndef __CURSORWIDGET_H__ |
| 2 | #define __CURSORWIDGET_H__ |
||
| 3 | |||
| 4 | #include "Widget.h" |
||
| 5 | #include "Point.h" |
||
| 6 | |||
| 7 | namespace Sexy |
||
| 8 | { |
||
| 9 | |||
| 10 | class Image; |
||
| 11 | |||
| 12 | class CursorWidget : public Widget |
||
| 13 | { |
||
| 14 | public: |
||
| 15 | Image* mImage; |
||
| 16 | |||
| 17 | public: |
||
| 18 | CursorWidget(); |
||
| 19 | |||
| 20 | virtual void Draw(Graphics* g); |
||
| 21 | void SetImage(Image* theImage); |
||
| 22 | Point GetHotspot(); |
||
| 23 | |||
| 24 | }; |
||
| 25 | |||
| 26 | } |
||
| 27 | |||
| 28 | #endif //__CURSORWIDGET_H__ |