blob: b767f93f750a9219a6f2318d08842687a8cd9d2b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
#pragma once
#include "common.h"
#include "T2DlgItemImageTable.h"
struct StflNotification {
int floorNumber;
T2FloorNumberTable *theTable;
};
class AFX_CLASS_EXPORT T2FloorNumberTable : public T2DlgItemImageTable {
public:
T2FloorNumberTable(T2TowerDoc* inDoc, T2ImageObj* inImageObj, CPalette* inPalette);
virtual ~T2FloorNumberTable();
virtual BOOL Create(const char* inWindowName, DWORD inStyle, const RECT& inRect, CWnd* inParentWnd, UINT inID);
void SetMover(T2Mover* inMover);
void SetMoverModuleTable(T2MoverModuleTable* inTable);
void ClickCell(const TableCellT& inCell, POINT inPt);
void RefreshCell(int inFloor);
protected:
virtual void DrawCellSelf(CDC* pDC, const TableCellT& inCell, BOOL inSelected);
virtual BOOL OnT2DlgItemEraseBkgnd(CDC* pDC);
virtual void OnT2DlgItemLButtonDown(UINT inFlags, CPoint inPt);
virtual void OnT2DlgItemLButtonUp(UINT inFlags, CPoint inPt);
virtual void OnT2DlgItemMouseMove(UINT inFlags, CPoint inPt);
int GetVScrValue();
RECT mRect;
int _10C;
COLORREF _110;
T2Mover *mMover;
T2MoverModuleTable *mMoverModuleTable;
};
|