Utah Raster Toolkit  9999-git
URT Development version (post-3.1b)
prototypes.h
Go to the documentation of this file.
1 extern void init_img_info(image_information *i);
2 extern void 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);
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);
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 extern int XAllocColors(register Display *dpy, Colormap cmap, XColor *defs, int ndefs, int *statuses);
void allocate_pixmap(image_information *img, Boolean reallocate)
Definition: x11_stuff.c:325
void MapPixWindow(image_information *img, int use_top)
Definition: x11_stuff.c:1962
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)
Definition: XCopyImg.c:35
void free_X_pixmap(image_information *img, Pixmap pix)
Definition: x11_stuff.c:429
void UnmapPixWindow(image_information *img)
Definition: x11_stuff.c:2080
int eq_cmap(register rle_pixel **cm1, int len1, register rle_pixel **cm2, int len2)
void check_pixmap_allocation(image_information *img)
Definition: x11_stuff.c:293
void check_mono_color(image_information *img, rle_hdr *img_hdr)
Definition: in_cmap.c:32
void choose_scanline_converter(image_information *img)
Definition: map_scan.c:77
void get_cursors(Window window)
Definition: x11_stuff.c:84
void main(int argc, char **argv)
Definition: aliastorle.c:121
void open_x_display(char *display_name)
Definition: x11_stuff.c:532
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)
Definition: getx11.c:1350
void calc_view_origin(image_information *img)
Definition: x11_stuff.c:575
void init_img_info(image_information *i)
Definition: getx11.c:107
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)
Definition: map_scan.c:2139
void get_x_colormap(image_information *img)
Definition: x11_stuff.c:519
int shift_match_right(Pixel mask)
Definition: map_scan.c:2227
void wait_timer(void)
Definition: timer.c:72
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)
Definition: timer.c:46
int shift_match_left(Pixel mask, int high_bit_index)
Definition: map_scan.c:2205
void destroy_X_image(image_information *img, XImage *image)
Definition: x11_stuff.c:238
void get_dither_colors(register image_information *img, rle_hdr *img_hdr)
void set_circle_cursor(Window window)
Definition: x11_stuff.c:70
void set_watch_cursor(Window window)
Definition: x11_stuff.c:63
void determine_icon_size(int image_width, int image_height, int *icon_width, int *icon_height, int *icon_factor)
Definition: x11_stuff.c:466
void free_unique_colors(image_information *img, Pixel *pixels, int npixels)
Definition: x11_stuff.c:1259
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)
Definition: x11_stuff.c:2062
image_information * action_flip_book_cycle(image_information *img, image_information *img_info, int n, Boolean flip_forward, int flip_book_udelay)
Definition: getx11.c:1404
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)
Definition: x11_stuff.c:446
int allocate_ximage(image_information *img, Boolean reallocate)
Definition: x11_stuff.c:301
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)
Definition: getx11.c:1377
void DrawPixWindow(image_information *img, int x, int y)
Definition: x11_stuff.c:1997
void free_image_colors(image_information *img)
Definition: x11_stuff.c:1679
XImage * get_X_image(image_information *img, int width, int height, Boolean share)
Definition: x11_stuff.c:135
int resize_window(image_information *img, int new_w, int new_h)
Definition: getx11.c:1424
void set_left_ptr_cursor(Window window)
Definition: x11_stuff.c:77