From c4b5e0a48835b6bdbf4d3d92fd42b29a22662ed4 Mon Sep 17 00:00:00 2001 From: Leonard Kugis Date: Tue, 16 Jan 2018 01:21:27 +0100 Subject: Mandelbrot drawing possible --- src/mandelbrot-zoom.h | 22 +++++----------------- 1 file changed, 5 insertions(+), 17 deletions(-) (limited to 'src/mandelbrot-zoom.h') 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 -#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; -- cgit v1.2.1