From c0c336500955a23e344651e5412c9d9d441ef4ee Mon Sep 17 00:00:00 2001 From: Ash Wolf Date: Wed, 28 Jun 2023 22:22:32 +0100 Subject: first pass of T2DLL --- src/T2DLL/T2MovieTable.h | 30 ++++++++++++++++-------------- 1 file changed, 16 insertions(+), 14 deletions(-) (limited to 'src/T2DLL/T2MovieTable.h') 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; }; -- cgit v1.2.3