3 extern void main(
int argc,
char **argv);
4 extern void handle_exposure(
register image_information *img,
int x,
int y,
int width,
int height,
int img_h);
8 extern int resize_window(image_information *img,
int new_w,
int new_h);
18 extern void allocate_pixmap(image_information *img, Boolean reallocate);
19 extern void free_X_pixmap(image_information *img, Pixmap pix);
20 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);
21 extern void determine_icon_size(
int image_width,
int image_height,
int *icon_width,
int *icon_height,
int *icon_factor);
25 extern void create_windows(
register image_information *img,
char *window_geometry);
26 extern void init_color(
register image_information *img);
30 extern void MapPixWindow(image_information *img,
int use_top);
31 extern void DrawPixWindow(image_information *img,
int x,
int y);
39 extern void map_rgb_to_bw(image_information *img, rle_pixel **rows,
register rle_pixel *bw_row);
40 extern void map_rgb_to_rgb(image_information *img, rle_pixel **in_rows, rle_pixel **out_rows);
47 extern int eq_cmap(
register rle_pixel **cm1,
int len1,
register rle_pixel **cm2,
int len2);
49 extern int XCopyImage(XImage *image,
int src_x,
int src_y,
int width,
int height,
int dst_x,
int dst_y);
51 extern int XAllocColors(
register Display *dpy, Colormap cmap, XColor *defs,
int ndefs,
int *statuses);
void allocate_pixmap(image_information *img, Boolean reallocate)
void MapPixWindow(image_information *img, int use_top)
void get_dither_arrays(register image_information *img)
int XCopyImage(XImage *image, int src_x, int src_y, int width, int height, int dst_x, int dst_y)
void free_X_pixmap(image_information *img, Pixmap pix)
void UnmapPixWindow(image_information *img)
int eq_cmap(register rle_pixel **cm1, int len1, register rle_pixel **cm2, int len2)
void check_pixmap_allocation(image_information *img)
void check_mono_color(image_information *img, rle_hdr *img_hdr)
void choose_scanline_converter(image_information *img)
void get_cursors(Window window)
void main(int argc, char **argv)
void open_x_display(char *display_name)
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)
void calc_view_origin(image_information *img)
void init_img_info(image_information *i)
void init_color(register image_information *img)
void find_appropriate_visual(register image_information *img)
void map_rgb_to_rgb(image_information *img, rle_pixel **in_rows, rle_pixel **out_rows)
void get_x_colormap(image_information *img)
int shift_match_right(Pixel mask)
void create_windows(register image_information *img, char *window_geometry)
void handle_exposure(register image_information *img, int x, int y, int width, int height, int img_h)
void set_timer(unsigned n)
int shift_match_left(Pixel mask, int high_bit_index)
void destroy_X_image(image_information *img, XImage *image)
void get_dither_colors(register image_information *img, rle_hdr *img_hdr)
void set_circle_cursor(Window window)
void set_watch_cursor(Window window)
void determine_icon_size(int image_width, int image_height, int *icon_width, int *icon_height, int *icon_factor)
void free_unique_colors(image_information *img, Pixel *pixels, int npixels)
int XAllocColors(register Display *dpy, Colormap cmap, XColor *defs, int ndefs, int *statuses)
void map_rgb_to_bw(image_information *img, rle_pixel **rows, register rle_pixel *bw_row)
void DrawSpeedWindow(image_information *img, int s)
image_information * action_flip_book_cycle(image_information *img, image_information *img_info, int n, Boolean flip_forward, int flip_book_udelay)
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)
int allocate_ximage(image_information *img, Boolean reallocate)
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)
void DrawPixWindow(image_information *img, int x, int y)
void free_image_colors(image_information *img)
XImage * get_X_image(image_information *img, int width, int height, Boolean share)
int resize_window(image_information *img, int new_w, int new_h)
void set_left_ptr_cursor(Window window)