diff options
author | Kevin Chabowski <der.pc222@googlemail.com> | 2010-07-28 23:03:16 +0200 |
---|---|---|
committer | Kevin Chabowski <der.pc222@googlemail.com> | 2010-07-28 23:03:16 +0200 |
commit | 054a617a9375b835492368c3773315b09d3851ce (patch) | |
tree | 231d5e4a57e994e3cc3c0b005fea6fe2a4a9fcc9 /paledit.h | |
download | Another-mandelbrot-viewer-054a617a9375b835492368c3773315b09d3851ce.tar.gz Another-mandelbrot-viewer-054a617a9375b835492368c3773315b09d3851ce.tar.bz2 Another-mandelbrot-viewer-054a617a9375b835492368c3773315b09d3851ce.zip |
Initial commit for mandelbrot.
Diffstat (limited to 'paledit.h')
-rw-r--r-- | paledit.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/paledit.h b/paledit.h new file mode 100644 index 0000000..63ac78f --- /dev/null +++ b/paledit.h @@ -0,0 +1,29 @@ +#ifndef _paledit_h_ +#define _paledit_h_ + +#include <allegro.h> +#include "common_types.h" +#include "graymap.h" + +extern struct +{ + BITMAP* gradient; + int n; + color_t pal_cols[30]; + double pal_grays[30]; + BOOL pal_change; + char palname_buffer[41 * 4]; +} paledit_data; + +extern void save_palette(char* name); + +extern void load_palette(char* name); +extern void load_palette_cc(const char* name); + +extern void init_paledit(int canvas_w, int canvas_h); + +extern void exec_paledit(); + +extern void destroy_paledit(); + +#endif |