Main Page   Class Hierarchy   Data Structures   File List   Data Fields   Globals  

ximage.c File Reference

#include "win.h"
#include "Xnames.h"

Go to the source code of this file.

Defines

#define USAGE   "[nx] [ny] [-c colormapfile] [-o xo [yo]] [-s nx [ny]]"
#define DEBUG   0
#define NX_DEFAULT   128
#define NY_DEFAULT   128
#define COLORMAP_DIR   "/src/gfx/palettes/"
#define COLORMAP_FILE   "Standard"
#define NDIR   3

Functions

lux_winsget_currentwin ()
void get_cmapfilename (char *name)
void read_colormap (char *filename)
int get_data (unsigned char *data, int n, int nr)
 main (int argc, char *argv[])


Define Documentation

#define COLORMAP_DIR   "/src/gfx/palettes/"
 

Definition at line 22 of file ximage.c.

#define COLORMAP_FILE   "Standard"
 

Definition at line 23 of file ximage.c.

#define DEBUG   0
 

Definition at line 18 of file ximage.c.

#define NDIR   3
 

Definition at line 25 of file ximage.c.

#define NX_DEFAULT   128
 

Definition at line 20 of file ximage.c.

#define NY_DEFAULT   128
 

Definition at line 21 of file ximage.c.

#define USAGE   "[nx] [ny] [-c colormapfile] [-o xo [yo]] [-s nx [ny]]"
 

Definition at line 9 of file ximage.c.


Function Documentation

void get_cmapfilename ( char * name )
 

Definition at line 32 of file ximage.c.

lux_wins* get_currentwin ( )
 

int get_data ( unsigned char * data,
int n,
int nr )
 

Definition at line 85 of file ximage.c.

Referenced by main().

main ( int argc,
char * argv[] )
 

Definition at line 116 of file ximage.c.

void read_colormap ( char * filename )
 

Definition at line 69 of file ximage.c.


Generated at Sun Feb 24 09:57:32 2002 for STARLAB by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001