-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathApplication.h
33 lines (26 loc) · 874 Bytes
/
Application.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
// Application.h: interface for the Application class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_APPLICATION_H__3387B79A_B69F_491D_B782_81D9CAFAAB0F__INCLUDED_)
#define AFX_APPLICATION_H__3387B79A_B69F_491D_B782_81D9CAFAAB0F__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "Gz.h"
#include "disp.h"
#include "rend.h"
class Application
{
public:
Application();
virtual ~Application();
public:
GzDisplay* m_pDisplay; // the display
GzRender* m_pRender; // the renderer
GzInput* m_pUserInput;
char* m_pFrameBuffer; // Frame Buffer
int m_nWidth; // width of Frame Buffer
int m_nHeight; // height of Frame Buffer
virtual int Render()=0; // Pass user input data and call renderer
};
#endif // !defined(AFX_APPLICATION_H__3387B79A_B69F_491D_B782_81D9CAFAAB0F__INCLUDED_)