Main Page   Class Hierarchy   Data Structures   File List   Data Fields   Globals  

mcd.c File Reference

#include <stdio.h>
#include <stdlib.h>
#include <time.h>

Go to the source code of this file.

Data Structures

struct  _mcdwin

Defines

#define MAXPOINTS   16000
#define MAXCOLOR   16
#define DEFAULT_CM   0
#define FILE_CM   1
#define SCREEN_SIZE_FRACTION   0.4
#define SCREEN_XPOS_FRACTION   0.3
#define SCREEN_YPOS_FRACTION   0.05
#define REASONABLE_WAIT_TIME   50000

Typedefs

typedef struct _mcdwin  mcdwin

Functions

unsigned long lux_get_bgcolor ()
unsigned long lux_get_fgcolor ()
unsigned long lux_rgb_pixel ()
unsigned long lux_lookup_color ()
 mcdxinit (aspect, nxpix, nypix, ncolor, ierr) float *aspect

Variables

int* nxpix
int * nypix
int * ncolor
int* ierr
s
int* n
unsigned long* ic
a
char* string
int* nc
int* ier


Define Documentation

#define DEFAULT_CM   0
 

Definition at line 15 of file mcd.c.

#define FILE_CM   1
 

Definition at line 16 of file mcd.c.

#define MAXCOLOR   16
 

Definition at line 13 of file mcd.c.

#define MAXPOINTS   16000
 

Definition at line 12 of file mcd.c.

#define REASONABLE_WAIT_TIME   50000
 

#define SCREEN_SIZE_FRACTION   0.4
 

Definition at line 52 of file mcd.c.

#define SCREEN_XPOS_FRACTION   0.3
 

Definition at line 53 of file mcd.c.

#define SCREEN_YPOS_FRACTION   0.05
 

Definition at line 54 of file mcd.c.


Typedef Documentation

typedef struct _mcdwin mcdwin
 


Function Documentation

unsigned long lux_get_bgcolor ( )
 

unsigned long lux_get_fgcolor ( )
 

unsigned long lux_lookup_color ( )
 

unsigned long lux_rgb_pixel ( )
 

mcdxinit ( aspect,
nxpix,
nypix,
ncolor,
ierr )
 

Referenced by ierr().


Variable Documentation

* a
 

Definition at line 635 of file mcd.c.

unsigned long* ic
 

Definition at line 622 of file mcd.c.

int* ier
 

Definition at line 697 of file mcd.c.

int* ierr
 

Definition at line 572 of file mcd.c.

int* n
 

Definition at line 629 of file mcd.c.

int* nc
 

Definition at line 696 of file mcd.c.

int * ncolor
 

Definition at line 571 of file mcd.c.

int* nxpix
 

Definition at line 571 of file mcd.c.

int * nypix
 

Definition at line 571 of file mcd.c.

* s
 

Definition at line 628 of file mcd.c.

char* string
 

Definition at line 636 of file mcd.c.


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