1 |
#include "../String/String.h"
|
2 |
#include "../String/StringInput.h"
|
3 |
#include "../System/System.h"
|
4 |
#include "ScreenData.h"
|
5 |
#include "../System/SystemDefine.h"
|
6 |
|
7 |
|
8 |
ScreenData::ScreenData(){}
|
9 |
ScreenData::~ScreenData(){}
|
10 |
|
11 |
static int bitPlan;
|
12 |
static int width;
|
13 |
static int height;
|
14 |
static int *chunkyBuffer;
|
15 |
|
16 |
|
17 |
int ScreenData::getBitPlan()
|
18 |
{
|
19 |
return bitPlan;
|
20 |
}
|
21 |
|
22 |
int ScreenData::getWidth()
|
23 |
{
|
24 |
return width;
|
25 |
}
|
26 |
|
27 |
int ScreenData::getHeight()
|
28 |
{
|
29 |
return height;
|
30 |
}
|
31 |
|
32 |
int* ScreenData::getChunkyBuffer()
|
33 |
{
|
34 |
return chunkyBuffer;
|
35 |
}
|
36 |
|
37 |
void ScreenData::setBitPlan(int iBitPlan)
|
38 |
{
|
39 |
bitPlan=iBitPlan;
|
40 |
}
|
41 |
|
42 |
void ScreenData::setWidth(int iWidth)
|
43 |
{
|
44 |
width=iWidth;
|
45 |
}
|
46 |
|
47 |
void ScreenData::setHeight(int iHeight)
|
48 |
{
|
49 |
height=iHeight;
|
50 |
}
|
51 |
|
52 |
void ScreenData::setChunkyBuffer(int *iChunkyBuffer)
|
53 |
{
|
54 |
chunkyBuffer=iChunkyBuffer;
|
55 |
} |