diff options
Diffstat (limited to 'src/T2DLL/T2DlgItemListBox.h')
-rw-r--r-- | src/T2DLL/T2DlgItemListBox.h | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/src/T2DLL/T2DlgItemListBox.h b/src/T2DLL/T2DlgItemListBox.h index ac69209..5c1bf48 100644 --- a/src/T2DLL/T2DlgItemListBox.h +++ b/src/T2DLL/T2DlgItemListBox.h @@ -1,19 +1,23 @@ #pragma once #include "common.h" +#include "T2DlgItem.h" -class T2DlgItemListBox { +class AFX_EXT_CLASS T2DlgItemListBox : public T2DlgItem { public: - T2DlgItemListBox(T2TowerDoc*, T2ImageObj*, CPalette*); + T2DlgItemListBox(T2TowerDoc* inDoc, T2ImageObj* inImageObj, CPalette* inPalette); virtual ~T2DlgItemListBox(); virtual void SetFont(HFONT); virtual void CreateSubItem(); virtual int GetCount(); virtual int ResetContent(); - virtual int AddString(CString&); - virtual int DeleteString(unsigned int); + virtual int AddString(CString& inString); + virtual int DeleteString(unsigned int inIndex); virtual int GetCurSel(); - virtual int SetItemData(int, unsigned long); - virtual unsigned long GetItemData(int); - virtual int SetItemDataPtr(int, void*); - virtual void* GetItemDataPtr(int); + virtual int SetItemData(int inIndex, DWORD inData); + virtual DWORD GetItemData(int inIndex); + virtual int SetItemDataPtr(int inIndex, void* inData); + virtual void* GetItemDataPtr(int inIndex); + +protected: + CListBox *mListBox; }; |