aboutsummaryrefslogtreecommitdiff
path: root/src/mandelbrot-zoom.h
diff options
context:
space:
mode:
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;