This repository was archived by the owner on Mar 8, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathCMyViewFrame.h
More file actions
61 lines (45 loc) · 1.58 KB
/
CMyViewFrame.h
File metadata and controls
61 lines (45 loc) · 1.58 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
#pragma once
#include "FA2PP.h"
#include "CMinimap.h"
class CIsoView;
class CTileSetBrowserFrame;
class CViewObjects : public CTreeView
{
public:
void Update() { JMP_THIS(0x51CD20); }
int Unknown_48;
BOOL IsInitialUpdated;
};
class CRightFrame : public ppmfc::CFrameWnd
{
public:
static constexpr reference<ppmfc::CRuntimeClass, 0x595A88> RuntimeClass{};
virtual ppmfc::CRuntimeClass* GetRuntimeClass() const override { return reinterpret_cast<ppmfc::CRuntimeClass*>(0x595A88); }
virtual const ppmfc::AFX_MSGMAP* GetMessageMap() const override
{ JMP_THIS(0x4D3E40); }
virtual BOOL PreCreateWindow(CREATESTRUCT& cs) override
{ JMP_THIS(0x4D3F50); }
virtual void RecalcLayout(BOOL bNotify = TRUE) override
{ JMP_THIS(0x4D3F80); }
virtual BOOL OnCreateClient(LPCREATESTRUCT lpcs, ppmfc::CCreateContext* pContext) override
{ JMP_THIS(0x4D3E50); }
public:
ppmfc::CSplitterWnd CSplitter;
};
class CMyViewFrame : public ppmfc::CFrameWnd
{
public:
virtual ppmfc::CRuntimeClass* GetRuntimeClass() const override { return reinterpret_cast<ppmfc::CRuntimeClass*>(0x595A88); }
virtual const ppmfc::AFX_MSGMAP* GetMessageMap() const override
{ JMP_THIS(0x4D2670); }
virtual BOOL OnCreateClient(LPCREATESTRUCT lpcs, ppmfc::CCreateContext* pContext) override
{ JMP_THIS(0x4D2680); }
public:
CMinimap Minimap;
ppmfc::CStatusBar StatusBar;
CViewObjects* pViewObjects;
CIsoView* pIsoView;
ppmfc::CSplitterWnd SplitterWnd;
CTileSetBrowserFrame* pTileSetBrowserFrame;
CRightFrame* pRightFrame;
};