blob: 5befce181b50aac132a6a08ec317d612da6689f1 (
plain)
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
|
#ifndef APPLICATION_H
#define APPLICATION_H
#include "pattern.h"
#include <AR/gsub_lite.h>
#include <AR/ar.h>
#include <SDL/SDL.h>
class Application {
private:
ARParam cparam;
ARGL_CONTEXT_SETTINGS_REF argl_ctx;
SDL_Surface *surface;
int count;
bool please_quit;
public:
Pattern* patt;
Application();
~Application();
void run();
void quit();
protected:
virtual void event_keypress(SDLKey key);
void main_loop(void);
};
#endif
|