summaryrefslogtreecommitdiff
path: root/osframework/source/SexyAppFramework/CursorWidget.h
diff options
context:
space:
mode:
Diffstat (limited to 'osframework/source/SexyAppFramework/CursorWidget.h')
-rw-r--r--osframework/source/SexyAppFramework/CursorWidget.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/osframework/source/SexyAppFramework/CursorWidget.h b/osframework/source/SexyAppFramework/CursorWidget.h
new file mode 100644
index 0000000..8c4b7ed
--- /dev/null
+++ b/osframework/source/SexyAppFramework/CursorWidget.h
@@ -0,0 +1,28 @@
+#ifndef __CURSORWIDGET_H__
+#define __CURSORWIDGET_H__
+
+#include "Widget.h"
+#include "Point.h"
+
+namespace Sexy
+{
+
+class Image;
+
+class CursorWidget : public Widget
+{
+public:
+ Image* mImage;
+
+public:
+ CursorWidget();
+
+ virtual void Draw(Graphics* g);
+ void SetImage(Image* theImage);
+ Point GetHotspot();
+
+};
+
+}
+
+#endif //__CURSORWIDGET_H__ \ No newline at end of file