summaryrefslogtreecommitdiff
path: root/src/DbgEquipInfo.h
diff options
context:
space:
mode:
authorAsh Wolf <ninji@wuffs.org>2023-07-09 20:59:16 +0100
committerAsh Wolf <ninji@wuffs.org>2023-07-09 20:59:16 +0100
commitc920fe38a19013b99f3f74e48da9724fb053c212 (patch)
tree6bb036fd3f61b85daceb26f74378eadcdd977db1 /src/DbgEquipInfo.h
parent96a63139221587c6be9659c1e07eacd3a8e7f048 (diff)
downloadt2win-c920fe38a19013b99f3f74e48da9724fb053c212.tar.gz
t2win-c920fe38a19013b99f3f74e48da9724fb053c212.zip
support building from VC++ IDE, add resources
Diffstat (limited to '')
-rw-r--r--src/DbgEquipInfo.h38
1 files changed, 25 insertions, 13 deletions
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()
};