aboutsummaryrefslogtreecommitdiff
path: root/fractal-gen.h
diff options
context:
space:
mode:
Diffstat (limited to 'fractal-gen.h')
-rw-r--r--fractal-gen.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/fractal-gen.h b/fractal-gen.h
index 21d4ca5..a103d1f 100644
--- a/fractal-gen.h
+++ b/fractal-gen.h
@@ -28,8 +28,15 @@
#include <stdbool.h>
#include <pthread.h>
+struct frame {
+ double top;
+ double left;
+ double scale;
+};
+
typedef struct {
volatile unsigned long idx;
+ struct frame parent_frame;
unsigned long core;
unsigned long width;
unsigned long datasize;
@@ -48,6 +55,7 @@ char *argv0;
typedef void* (*generator_func)(void *);
+void defaultsd(double*, double);
int parse_args(int argc, char **argv);
generator_func select_generator(const char* name);
void show_help();