Fix run length encoding of marked image, bump to version 0.8
[colorize.git] / gui / image.h
1 extern GdkPixbuf *img_pixbuf;
2 extern int img_width, img_height;
3 extern char img_name[];
4 extern unsigned short *img_grey_buffer, *img_preview_buffer;
5 extern unsigned char *img_mark_buffer;
6 extern int img_scale_x, img_scale_y;
7 extern int anything_modified;
8
9 void create_image(const char *filename, int resize);
10 void create_preview();
11 void create_rendered(const char *filename);
12 void create_or_reset_pixbuf(int resize);
13 void destroy_image(void);
14 void destroy_preview(void);
15 void draw_image(int x, int y, int w, int h);
16 void paint_brush(int x, int y, int size, int paint);
17 void erase_mark(int index);
18 void move_mark(int x, int y);
19 void copy_mark_to_undo(void);
20 void copy_undo_to_mark(int redo);
21 void copy_color(int index);
22 void paste_color(void);