blob: 733015d31d9ff4bc40592bae6ebaa1a07a2e930a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#pragma once
#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;
};
|