summaryrefslogtreecommitdiff
path: root/common/preview.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/preview.h')
-rw-r--r--common/preview.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/common/preview.h b/common/preview.h
new file mode 100644
index 0000000..21ff3a8
--- /dev/null
+++ b/common/preview.h
@@ -0,0 +1,23 @@
+#ifndef _PREVIEW_H_
+#define _PREVIEW_H_
+
+#include "glwindow.h"
+
+class PieceInfo;
+
+class PiecePreview : public GLWindow
+{
+ public:
+ PiecePreview (GLWindow *share);
+ virtual ~PiecePreview ();
+
+ void OnDraw ();
+
+ void SetCurrentPiece (PieceInfo *pInfo);
+
+ private:
+ PieceInfo* m_pPieceInfo;
+};
+
+#endif // _PREVIEW_H_
+