summaryrefslogtreecommitdiff
path: root/src/T2WorldSelectDlg.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/T2WorldSelectDlg.h
parent96a63139221587c6be9659c1e07eacd3a8e7f048 (diff)
downloadt2win-c920fe38a19013b99f3f74e48da9724fb053c212.tar.gz
t2win-c920fe38a19013b99f3f74e48da9724fb053c212.zip
support building from VC++ IDE, add resources
Diffstat (limited to 'src/T2WorldSelectDlg.h')
-rw-r--r--src/T2WorldSelectDlg.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/T2WorldSelectDlg.h b/src/T2WorldSelectDlg.h
index df75a94..039fcf2 100644
--- a/src/T2WorldSelectDlg.h
+++ b/src/T2WorldSelectDlg.h
@@ -1,6 +1,7 @@
#pragma once
#include "common.h"
-#include "T2Dialog.h"
+#include "T2DLL/T2Dialog.h"
+#include "resource.h"
struct PluginRecord {
T2BitImage *preview;
@@ -19,6 +20,14 @@ public:
void ShowWorldSelectDlg(T2TowerDoc *inDoc, T2PluginLoader *inPluginLoader, BOOL inShowCancelButton);
T2PluginSpecifier *GetSelectedPlugin();
+ enum { kDlgResID = ID_WORLD_SELECT_T2DLG };
+
+ enum {
+ kCmdOK = 100,
+ kCmdLeft = 101,
+ kCmdRight = 102
+ };
+
protected:
virtual BOOL PreCreateWindow(CREATESTRUCT &cs);
virtual BOOL OnT2PreEraseBkgnd(CDC *pDC);