blob: 78386ae71bfc450f60e26c0d213b4cf47654cde7 (
plain) (
blame)
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
|
#ifndef _MANSDL_HH_
#define _MANSDL_HH_
#define WINDOW_WIDTH 512
#define WINDOW_HEIGHT 512
class mansdl;
/* Include libraries */
#include <SDL2/SDL.h>
/* Include header files */
#include "fractal.hh"
#include "fractData.hh"
#include "genf.hh"
class mansdl {
public:
int main(const int argc, const char** argv);
/* Variables needed by all members */
private:
bool doGenerate = true;
bool quit = false;
SDL_Window* window = NULL;
SDL_Renderer* renderer = NULL;
/* Functions */
bool applyArgs(fractData* fd, const int argc, const char** argv);
bool init(void);
void checkEvent(fractData* fd, SDL_Event* event);
void genF(fractData* fd);
};
#endif /* #ifndef _MANSDL_HH_ */
|