blob: 78386ae71bfc450f60e26c0d213b4cf47654cde7 (
plain) (
tree)
|
|
#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_ */
|