Utah Raster Toolkit
9999-git
URT Development version (post-3.1b)
|
#include "getx11.h"
#include <sys/errno.h>
#include <errno.h>
#include "circle.bitmap"
#include "circle_mask.bitmap"
Go to the source code of this file.
Macros | |
#define | DESIRED_ICON_WIDTH 48 |
#define | DESIRED_ICON_HEIGHT 48 |
#define | IS_BINARY 1 |
#define | IS_MONO 2 |
#define | WANT_READ_WRITE 4 |
#define | NOT_BINARY 0 |
#define | NOT_MONO 0 |
#define | WANT_READ_ONLY 0 |
#define | BINARY_TABLE_INDEX 0 |
#define | MONOCHROME_TABLE_INDEX 1 |
#define | COLOR_TABLE_INDEX 2 |
Variables | |
static Cursor | circle_cursor = ((void *)0) |
static Cursor | left_ptr_cursor = ((void *)0) |
static Cursor | watch_cursor = ((void *)0) |
static int | specified_screen = -1 |
static image_information * | wait_img = ((void *)0) |
static int | log2_levels |
static int | desired_class_table [][6] |
static XFontStruct * | pixel_font_info = ((void *)0) |
#define BINARY_TABLE_INDEX 0 |
Definition at line 1703 of file x11_stuff.c.
#define COLOR_TABLE_INDEX 2 |
Definition at line 1705 of file x11_stuff.c.
#define DESIRED_ICON_HEIGHT 48 |
#define DESIRED_ICON_WIDTH 48 |
#define IS_BINARY 1 |
Definition at line 838 of file x11_stuff.c.
#define IS_MONO 2 |
Definition at line 839 of file x11_stuff.c.
#define MONOCHROME_TABLE_INDEX 1 |
Definition at line 1704 of file x11_stuff.c.
#define NOT_BINARY 0 |
Definition at line 841 of file x11_stuff.c.
#define NOT_MONO 0 |
Definition at line 842 of file x11_stuff.c.
#define WANT_READ_ONLY 0 |
Definition at line 843 of file x11_stuff.c.
#define WANT_READ_WRITE 4 |
Definition at line 840 of file x11_stuff.c.
void allocate_pixmap | ( | image_information * | img, |
Boolean | reallocate | ||
) |
Definition at line 325 of file x11_stuff.c.
int allocate_ximage | ( | image_information * | img, |
Boolean | reallocate | ||
) |
Definition at line 301 of file x11_stuff.c.
void calc_view_origin | ( | image_information * | img | ) |
Definition at line 575 of file x11_stuff.c.
void check_pixmap_allocation | ( | image_information * | img | ) |
Definition at line 293 of file x11_stuff.c.
void create_windows | ( | image_information * | img, |
char * | window_geometry | ||
) |
Definition at line 587 of file x11_stuff.c.
void destroy_X_image | ( | image_information * | img, |
XImage * | image | ||
) |
Definition at line 238 of file x11_stuff.c.
void determine_icon_size | ( | int | image_width, |
int | image_height, | ||
int * | icon_width, | ||
int * | icon_height, | ||
int * | icon_factor | ||
) |
Definition at line 466 of file x11_stuff.c.
void DrawPixWindow | ( | image_information * | img, |
int | x, | ||
int | y | ||
) |
Definition at line 1997 of file x11_stuff.c.
void DrawSpeedWindow | ( | image_information * | img, |
int | s | ||
) |
Definition at line 2062 of file x11_stuff.c.
void find_appropriate_visual | ( | image_information * | img | ) |
Definition at line 1721 of file x11_stuff.c.
void free_image_colors | ( | image_information * | img | ) |
Definition at line 1679 of file x11_stuff.c.
void free_unique_colors | ( | image_information * | img, |
Pixel * | pixels, | ||
int | npixels | ||
) |
Definition at line 1259 of file x11_stuff.c.
void free_X_pixmap | ( | image_information * | img, |
Pixmap | pix | ||
) |
Definition at line 429 of file x11_stuff.c.
void get_cursors | ( | Window | window | ) |
Definition at line 84 of file x11_stuff.c.
|
static |
Definition at line 757 of file x11_stuff.c.
void get_x_colormap | ( | image_information * | img | ) |
Definition at line 519 of file x11_stuff.c.
XImage* get_X_image | ( | image_information * | img, |
int | width, | ||
int | height, | ||
Boolean | share | ||
) |
Definition at line 135 of file x11_stuff.c.
|
static |
Definition at line 258 of file x11_stuff.c.
void init_color | ( | image_information * | img | ) |
Definition at line 845 of file x11_stuff.c.
static Boolean init_color_ro | ( | ) |
|
static |
Definition at line 1293 of file x11_stuff.c.
static Boolean init_color_rw | ( | ) |
|
static |
Definition at line 1056 of file x11_stuff.c.
static Boolean init_mono_ro | ( | ) |
|
static |
Definition at line 1541 of file x11_stuff.c.
static Boolean init_mono_rw | ( | ) |
|
static |
Definition at line 1422 of file x11_stuff.c.
static Boolean init_separate_color_ro | ( | ) |
|
static |
Definition at line 1182 of file x11_stuff.c.
|
static |
|
static |
Definition at line 950 of file x11_stuff.c.
void MapPixWindow | ( | image_information * | img, |
int | use_top | ||
) |
Definition at line 1962 of file x11_stuff.c.
void open_x_display | ( | char * | display_name | ) |
Definition at line 532 of file x11_stuff.c.
Definition at line 1253 of file x11_stuff.c.
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 at line 446 of file x11_stuff.c.
void set_circle_cursor | ( | Window | window | ) |
Definition at line 70 of file x11_stuff.c.
void set_left_ptr_cursor | ( | Window | window | ) |
Definition at line 77 of file x11_stuff.c.
void set_watch_cursor | ( | Window | window | ) |
Definition at line 63 of file x11_stuff.c.
|
static |
Definition at line 793 of file x11_stuff.c.
void UnmapPixWindow | ( | image_information * | img | ) |
Definition at line 2080 of file x11_stuff.c.
|
static |
|
static |
Definition at line 1687 of file x11_stuff.c.
|
static |
Definition at line 55 of file x11_stuff.c.
|
static |
Definition at line 1714 of file x11_stuff.c.
|
static |
Definition at line 56 of file x11_stuff.c.
|
static |
Definition at line 823 of file x11_stuff.c.
|
static |
Definition at line 1959 of file x11_stuff.c.
|
static |
Definition at line 59 of file x11_stuff.c.
|
static |
Definition at line 61 of file x11_stuff.c.
|
static |
Definition at line 57 of file x11_stuff.c.