forked from YutaTachibana0310/SankouGoudou2019Summer
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BaseEditWindow.h
46 lines (36 loc) · 915 Bytes
/
BaseEditWindow.h
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
//=====================================
//
//ベースエディットウィンドウヘッダ[BaseEditWindow.h]
//Author:GP12B332 21 立花雄太
//
//=====================================
#ifndef _BASEEDITWINDOW_H_
#define _BASEEDITWINDOW_H_
#include "main.h"
#include "DataEditWindow.h"
#include <map>
#include "picojson\picojson.h"
/**************************************
マクロ定義
***************************************/
/**************************************
クラス定義
***************************************/
class BaseEditWindow
{
public:
BaseEditWindow();
BaseEditWindow(int id, int frame, std::string type, picojson::object data);
BaseEditWindow(BaseEditWindow* src);
~BaseEditWindow();
bool Draw();
picojson::value Serialize(int& sumFrame);
int id;
int frame;
std::string type;
private:
std::map<std::string, DataEditWindow*> dataWindow;
void CreateEditWindow();
static UINT instanceCount;
};
#endif