aboutsummaryrefslogtreecommitdiff
path: root/src/mandelbrot-zoom.h
diff options
context:
space:
mode:
authorLeonard Kugis <leonardkugis@gmail.com>2018-01-16 01:21:27 +0100
committerLeonard Kugis <leonardkugis@gmail.com>2018-01-16 01:21:27 +0100
commitc4b5e0a48835b6bdbf4d3d92fd42b29a22662ed4 (patch)
tree807f2c1ac0010ce91f5560d6bf852ecca45a221a /src/mandelbrot-zoom.h
parent9d46c7e44b0c8e0625894dbb688e9b2804d83c9d (diff)
Mandelbrot drawing possible
Diffstat (limited to 'src/mandelbrot-zoom.h')
-rw-r--r--src/mandelbrot-zoom.h22
1 files changed, 5 insertions, 17 deletions
diff --git a/src/mandelbrot-zoom.h b/src/mandelbrot-zoom.h
index 5032087..80d3259 100644
--- a/src/mandelbrot-zoom.h
+++ b/src/mandelbrot-zoom.h
@@ -9,24 +9,12 @@
#define MANDELBROT_ZOOM_H_
#include <gtk/gtk.h>
-#include "defs.h"
#include "settings.h"
#include "conversion.h"
+#include "render.h"
+#include "sets.h"
-typedef struct config {
- u32 iterations;
- bool video;
- u8 filetype;
- u16 width;
- u16 height;
- u8 renderFPS;
- u8 videoFPS;
- u32 bitrate;
- const char *path;
- // TODO: key mapping als option in die struct
-} Config;
-
-typedef struct ui_settings {
+typedef struct Ui_settings {
GtkWindow *settings;
GtkSpinButton *iterationsSp;
GtkButton *colorFromBtn;
@@ -42,9 +30,9 @@ typedef struct ui_settings {
GtkButton *startBtn;
GtkButton *exitBtn;
GtkColorSelectionDialog *colorDialog;
-} ui_settings;
+} Ui_settings;
-ui_settings ui;
+Ui_settings ui_settings;
Config config;
u8 currentColor;