summaryrefslogtreecommitdiff
path: root/src/T2DLL/T2MovieTable.h
diff options
context:
space:
mode:
authorAsh Wolf <ninji@wuffs.org>2023-06-28 22:22:32 +0100
committerAsh Wolf <ninji@wuffs.org>2023-06-28 22:22:32 +0100
commitc0c336500955a23e344651e5412c9d9d441ef4ee (patch)
tree790769c748db307cf3314f6e896e2f61c68561a2 /src/T2DLL/T2MovieTable.h
parent37e364b2c6cc7487a1c888d256a73e5337bb7189 (diff)
downloadt2win-c0c336500955a23e344651e5412c9d9d441ef4ee.tar.gz
t2win-c0c336500955a23e344651e5412c9d9d441ef4ee.zip
first pass of T2DLL
Diffstat (limited to '')
-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;
};