blob: 21332029c933666415b884b0f157c9bbca7ce9c9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#ifndef T2DLL_T2DLGITEMSTIMETBL_H
#define T2DLL_T2DLGITEMSTIMETBL_H
#include "../common.h"
#include "T2DlgItem.h"
class AFX_CLASS_EXPORT T2DlgItemSTimeTbl : public T2DlgItem {
public:
T2DlgItemSTimeTbl(T2TowerDoc* inDoc, T2ImageObj* inImageObj, CPalette* inPalette);
virtual ~T2DlgItemSTimeTbl();
virtual BOOL Create(const char* windowName, DWORD style, const RECT& rect, CWnd* parentWnd, UINT nId);
void SetGrade(int inGrade);
protected:
virtual BOOL OnT2DlgItemEraseBkgnd(CDC* pDC);
private:
void DrawTime(CDC* pDC, unsigned int inArriveTime, BOOL isGrade, CRect& inRect);
CFont *mCFont;
int mGrade;
};
#endif
|