Utah Raster Toolkit
9999-git
URT Development version (post-3.1b)
|
#include <errno.h>
#include <stdio.h>
#include <strings.h>
#include <signal.h>
#include <suntool/sunview.h>
#include <suntool/panel.h>
#include <suntool/canvas.h>
#include <sunwindow/win_cursor.h>
#include <sunwindow/notify.h>
#include <sys/types.h>
#include <sys/dir.h>
#include <sys/file.h>
#include <pwd.h>
#include "rle.h"
#include <sys/stat.h>
#include <taac1/taio.h>
#include "gettaac.icon"
Go to the source code of this file.
Macros | |
#define | MAX_FILE_NAME 1024 |
#define | FONT "/usr/lib/fonts/fixedwidthfonts/serif.r.14" |
#define | NCMAP 256 |
#define | X_PIXELS 512 /* number of x pixels */ |
#define | Y_PIXELS 480 /* number of y pixels */ |
#define | RGB 0 |
#define | GRAY 1 |
Functions | |
static void | init_panel () |
static void | doexit () |
static void | read_file () |
static void | format_select () |
static void | make_new_name () |
static void | init_color_map () |
static void | bw_init_colors () |
static void | init_canvas () |
DEFINE_ICON_FROM_IMAGE (gettaac_icon, icon_image) | |
static void | read_file_rgb () |
static void | read_file_gray () |
static void | read_file_bw () |
static Notify_value | taac_interposer () |
main (int argc, char **argv) | |
static void | init_panel (Frame base_frame) |
static void | read_file_rgb (rle_hdr *hdr) |
static void | read_file_gray (rle_hdr *hdr) |
static void | format_select (Panel_item item, int value, Event *event) |
static void | make_new_name (Panel_item item, Event *event) |
int | complete (char *template) |
get_full_path (template, full_path) | |
Variables | |
static char | sccsid [] |
static Frame | base_frame |
static Canvas | canvas |
static Pixwin * | pw |
static Cursor | cursor |
static Panel | panel |
static Panel_item | file_name |
static Panel_item | gamma_item |
static struct pixfont * | pixfont |
static unsigned int * | scan_line_buffer |
static char * | my_name |
static short | icon_image [] |
static unsigned char | red [256] |
static unsigned char | green [256] |
static unsigned char | blue [256] |
static int | display_mode = 0 |
TA_HANDLE * | tahandle |
static int | erase [512] |
|
static |
DEFINE_ICON_FROM_IMAGE | ( | gettaac_icon | , |
icon_image | |||
) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 226 of file gettaac.c.
References display_mode, rle_hdr::rle_file, rle_get_setup_ok(), and rle_hdr_init().
|
static |
|
static |
|
static |
Definition at line 322 of file gettaac.c.
|
static |
|
static |
Definition at line 264 of file gettaac.c.
|
static |
|
static |
Definition at line 91 of file gettaac.c.
Referenced by read_file().
|
static |