aboutsummaryrefslogtreecommitdiff
path: root/fractal-gen.h
diff options
context:
space:
mode:
authorDavid Phillips <dbphillipsnz@gmail.com>2016-05-31 12:54:16 +1200
committerDavid Phillips <dbphillipsnz@gmail.com>2016-05-31 12:54:16 +1200
commitf2371dcb179928b8b36587d822daeb919b7d2d84 (patch)
tree3b23b4913f3d9f4db3400bf2bd5822daff9c6157 /fractal-gen.h
parent7e946fd9d958c505c21a2206141256967616614c (diff)
parent7c3082e934b79f26afaa53c8b72cfbaaa76bdae4 (diff)
downloadfractal-gen-f2371dcb179928b8b36587d822daeb919b7d2d84.tar.xz
Merge branch 'pos'
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();