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/T2SysInfoDlg.cpp | |
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/T2SysInfoDlg.cpp | 23 |
1 files changed, 15 insertions, 8 deletions
diff --git a/src/T2SysInfoDlg.cpp b/src/T2SysInfoDlg.cpp index 04377a6..a9db052 100644 --- a/src/T2SysInfoDlg.cpp +++ b/src/T2SysInfoDlg.cpp @@ -1,5 +1,6 @@ -#include "T2PluginLoader.h" -#include "T2PluginSpecifier.h" +#include "StdAfx.h" +#include "T2DLL/T2PluginLoader.h" +#include "T2DLL/T2PluginSpecifier.h" #include "T2SysInfoDlg.h" #include "T2TowerDoc.h" @@ -9,20 +10,26 @@ static char THIS_FILE[] = __FILE__; #endif -T2SysInfoDlg::T2SysInfoDlg(CWnd *pParentWnd) - : CDialog(159, pParentWnd) +T2SysInfoDlg::T2SysInfoDlg(CWnd *pParent) + : CDialog(IDD, pParent) { + //{{AFX_DATA_INIT(T2SysInfoDlg) + //}}AFX_DATA_INIT } /*virtual*/ void T2SysInfoDlg::DoDataExchange(CDataExchange *pDX) { CWnd::DoDataExchange(pDX); - DDX_Control(pDX, 1009, mUsedMemory); - DDX_Control(pDX, 1008, mFreeMemory); - DDX_Control(pDX, 1007, mPluginList); + //{{AFX_DATA_MAP(T2SysInfoDlg) + DDX_Control(pDX, IDC_USED_MEMORY, mUsedMemory); + DDX_Control(pDX, IDC_FREE_MEMORY, mFreeMemory); + DDX_Control(pDX, IDC_PLUGIN_LIST, mPluginList); + //}}AFX_DATA_MAP } BEGIN_MESSAGE_MAP(T2SysInfoDlg, CDialog) - ON_NOTIFY(LVN_COLUMNCLICK, 1007, OnColumnClick) + //{{AFX_MSG_MAP(T2SysInfoDlg) + ON_NOTIFY(LVN_COLUMNCLICK, IDC_PLUGIN_LIST, OnColumnClick) + //}}AFX_MSG_MAP END_MESSAGE_MAP() void T2SysInfoDlg::SetDocument(T2TowerDoc *inDoc) { |