summaryrefslogtreecommitdiff
path: root/common/preview.h
blob: 21ff3a84313092d154540f35c3a742d1a6cdc851 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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_