summaryrefslogtreecommitdiff
path: root/src/T2DLL/T2MovieTable.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/T2DLL/T2MovieTable.h')
-rw-r--r--src/T2DLL/T2MovieTable.h30
1 files changed, 16 insertions, 14 deletions
diff --git a/src/T2DLL/T2MovieTable.h b/src/T2DLL/T2MovieTable.h
index 4ea9416..fe3c9ae 100644
--- a/src/T2DLL/T2MovieTable.h
+++ b/src/T2DLL/T2MovieTable.h
@@ -1,21 +1,23 @@
#pragma once
#include "common.h"
+#include "T2VerticalTable.h"
-class T2MovieTable {
-protected:
- virtual int OnT2DlgItemCreate(CREATESTRUCTA*);
+class AFX_EXT_CLASS T2MovieTable : public T2VerticalTable {
public:
- T2MovieTable(T2TowerDoc*, T2ImageObj*, CPalette*);
- void SetMovieType(int);
- void Add(T2MoviePlugin*);
- void Add(CFilePluginList*);
+ T2MovieTable(T2TowerDoc* inDoc, T2ImageObj* inImageObj, CPalette* inPalette);
+ virtual ~T2MovieTable() {}
+
+ void SetMovieType(int inType);
+ void Add(T2MoviePlugin* inPlugin);
+ void Add(CFilePluginList* inList);
+
protected:
- virtual void DrawCellSelf(CDC*, const TableCellT&, int);
- virtual void DrawCell(CDC*, const TableCellT&);
- void ClickCell(const TableCellT&, const CPoint&);
- virtual void OnT2DlgItemLButtonDown(unsigned int, CPoint);
- virtual int OnT2DlgItemEraseBkgnd(CDC*);
+ virtual int OnT2DlgItemCreate(CREATESTRUCT* cs);
+ virtual void DrawCellSelf(CDC* pDC, const TableCellT& inCell, BOOL inSelected);
+ virtual void DrawCell(CDC* pDC, const TableCellT& inCell);
+ void ClickCell(const TableCellT& inCell, const CPoint& inPt);
+ virtual void OnT2DlgItemLButtonDown(UINT inFlags, CPoint inPt);
+ virtual BOOL OnT2DlgItemEraseBkgnd(CDC* pDC);
-public:
- virtual ~T2MovieTable() {}
+ int mMovieType;
};