From c920fe38a19013b99f3f74e48da9724fb053c212 Mon Sep 17 00:00:00 2001 From: Ash Wolf Date: Sun, 9 Jul 2023 20:59:16 +0100 Subject: support building from VC++ IDE, add resources --- src/DbgEquipInfo.h | 38 +++++++++++++++++++++++++------------- 1 file changed, 25 insertions(+), 13 deletions(-) (limited to 'src/DbgEquipInfo.h') diff --git a/src/DbgEquipInfo.h b/src/DbgEquipInfo.h index 719fd43..5d16a23 100644 --- a/src/DbgEquipInfo.h +++ b/src/DbgEquipInfo.h @@ -1,26 +1,38 @@ #pragma once #include "common.h" +#include "resource.h" class DbgEquipInfo : public CDialog { - DECLARE_MESSAGE_MAP() - public: - DbgEquipInfo(CWnd *pParentWnd); + DbgEquipInfo(CWnd *pParent = NULL); + + //{{AFX_DATA(DbgEquipInfo) + enum { IDD = IDD_DBG_EQUIP_INFO }; + CButton mDebugInfoButton; + CListCtrl mDebugInfoList; + CStatic mEquipName; + CStatic mEquipID; + CListCtrl mCrossEquipList; + //}}AFX_DATA + + T2Equip *mEquip; + T2TowerDoc *mDocument; + T2TowerMainView *mTowerMainView; + void SetEquip(T2Equip *inEquip); void SetDocument(T2TowerDoc *inDoc); void SetTowerMainView(T2TowerMainView *inView); + + //{{AFX_VIRTUAL(DbgEquipInfo) + public: virtual BOOL OnInitDialog(); + protected: + virtual void DoDataExchange(CDataExchange *pDX); + //}}AFX_VIRTUAL protected: + //{{AFX_MSG(DbgEquipInfo) afx_msg void OnListClick(NMHDR *inHdr, LRESULT *outResult); - virtual void DoDataExchange(CDataExchange *pDX); - - CButton mButton; - CListCtrl mList1; - CStatic mStatic1; - CStatic mStatic2; - CListCtrl mList2; - T2Equip *mEquip; - T2TowerDoc *mDocument; - T2TowerMainView *mTowerMainView; + //}}AFX_MSG + DECLARE_MESSAGE_MAP() }; -- cgit v1.2.3