1 extern void init_img_info(image_information *i);
2 extern int main(int argc, char **argv);
3 extern void handle_exposure(register image_information *img, int x, int y, int width, int height, int img_h);
4 extern image_information *action_flip_forward(image_information *img, image_information *img_info, int flip_book_udelay, int n, unsigned long mask, XEvent *event, Boolean *found_event);
5 extern image_information *action_flip_backward(image_information *img, image_information *img_info, int flip_book_udelay, int n, unsigned long mask, XEvent *event, Boolean *found_event);
6 extern image_information *action_flip_book_cycle(image_information *img, image_information *img_info, int n, Boolean flip_forward, int flip_book_udelay);
7 extern int resize_window(image_information *img, int new_w, int new_h);
8 extern void set_watch_cursor(Window window);
9 extern void set_circle_cursor(Window window);
10 extern void set_left_ptr_cursor(Window window);
11 extern void get_cursors(Window window);
12 extern XImage *get_X_image(image_information *img, int width, int height, Boolean share);
13 extern void destroy_X_image(image_information *img, XImage *image);
14 extern void check_pixmap_allocation(image_information *img);
15 extern int allocate_ximage(image_information *img, Boolean reallocate);
16 extern void allocate_pixmap(image_information *img, Boolean reallocate);
17 extern void free_X_pixmap(image_information *img, Pixmap pix);
18 extern void put_X_image(image_information *img, Drawable d, GC gc, XImage *image, int src_x, int src_y, int dest_x, int dest_y, unsigned int width, unsigned int height);
19 extern void determine_icon_size(int image_width, int image_height, int *icon_width, int *icon_height, int *icon_factor);
20 extern void get_x_colormap(image_information *img);
21 extern void open_x_display(char *display_name);
22 extern void calc_view_origin(image_information *img);
23 extern void create_windows(register image_information *img, char *window_geometry);
24 extern void init_color(register image_information *img);
25 extern void free_unique_colors(image_information *img, Pixel *pixels, int npixels);
26 extern void free_image_colors(image_information *img);
27 extern void find_appropriate_visual(register image_information *img);
28 extern void MapPixWindow(image_information *img, int use_top);
29 extern void DrawPixWindow(image_information *img, int x, int y);
30 extern void DrawSpeedWindow(image_information *img, int s);
31 extern void UnmapPixWindow(image_information *img);
32 extern void set_timer(unsigned n);
33 extern void wait_timer(void);
34 extern void choose_scanline_converter(image_information *img);
35 extern void map_rgb_to_bw(image_information *img, rle_pixel **rows, register rle_pixel *bw_row);
36 extern void map_rgb_to_rgb(image_information *img, rle_pixel **in_rows, rle_pixel **out_rows);
37 extern void get_dither_arrays(register image_information *img);
38 extern int shift_match_left(Pixel mask, int high_bit_index);
39 extern int shift_match_right(Pixel mask);
40 extern void check_mono_color(image_information *img, rle_hdr *img_hdr);
41 extern void get_dither_colors(register image_information *img, rle_hdr *img_hdr);
42 extern int eq_cmap(register rle_pixel **cm1, int len1, register rle_pixel **cm2, int len2);
43 extern int XCopyImage(XImage *image, int src_x, int src_y, int width, int height, int dst_x, int dst_y);
44