diff options
author | Ash Wolf <ninji@wuffs.org> | 2023-07-09 20:59:16 +0100 |
---|---|---|
committer | Ash Wolf <ninji@wuffs.org> | 2023-07-09 20:59:16 +0100 |
commit | c920fe38a19013b99f3f74e48da9724fb053c212 (patch) | |
tree | 6bb036fd3f61b85daceb26f74378eadcdd977db1 /src/DbgEventList.h | |
parent | 96a63139221587c6be9659c1e07eacd3a8e7f048 (diff) | |
download | t2win-c920fe38a19013b99f3f74e48da9724fb053c212.tar.gz t2win-c920fe38a19013b99f3f74e48da9724fb053c212.zip |
support building from VC++ IDE, add resources
Diffstat (limited to '')
-rw-r--r-- | src/DbgEventList.h | 24 |
1 files changed, 17 insertions, 7 deletions
diff --git a/src/DbgEventList.h b/src/DbgEventList.h index d6ae2cb..7a7e6ed 100644 --- a/src/DbgEventList.h +++ b/src/DbgEventList.h @@ -1,19 +1,29 @@ #pragma once #include "common.h" +#include "resource.h" class DbgEventList : public CDialog { - DECLARE_MESSAGE_MAP() - public: - DbgEventList(CWnd *pParentWnd); + DbgEventList(CWnd *pParent = NULL); + + //{{AFX_DATA(DbgEventList) + enum { IDD = IDD_DBG_EVENT_LIST }; + CListCtrl mList; + T2TowerEvent *mTowerEvent; + //}}AFX_DATA + + //{{AFX_VIRTUAL(DbgEventList) + public: virtual BOOL OnInitDialog(); + protected: + virtual void DoDataExchange(CDataExchange *pDX); protected: - virtual void DoDataExchange(CDataExchange *pDX); void RefreshEvents(); void AddEvents(LArray &array, const char *mode); - afx_msg void OnEventStart(); - CListCtrl mList; - T2TowerEvent *mTowerEvent; + //{{AFX_MSG(DbgEventList) + afx_msg void OnEventStart(); + //}}AFX_MSG +DECLARE_MESSAGE_MAP() }; |