Main Page   Class Hierarchy   Data Structures   File List   Data Fields   Globals  

win.c File Reference

#include "win.h"
#include <X11/keysym.h>
#include <X11/cursorfont.h>
#include <string.h>

Go to the source code of this file.

Defines

#define REPORT_EVENT   0
#define DOUBLECLICKLENGTH   300L
#define X_CreatePixmap   53
#define icon_bitmap_width   40
#define icon_bitmap_height   40

Functions

 redraw (), lux_setup_region(), lux_setup_axis(), lux_reconvert_coord()
Colormap lux_setup_colormap ()
unsigned long lux_rgb_pixel ()
unsigned long lux_lookup_color ()
 set_default_font (char *font)
int lux_handler (display, lux_err) Display *display
void set_wait_time (i) int i

Variables

Display* display
Visual* visual
char* display_name = NULL
unsigned int display_width
unsigned int display_height
unsigned int default_depth
Pixmap default_icon_pixmap
int pmpallocflag = 1
int screen
lux_winswindows = (lux_wins *)NULL
XStandardColormap map_info
int colormap_size
char* colorfile = (char *)NULL
Colormap colormap
Window popup
Atom protocols
XFontStruct* font_info
GC defaultgc
GC redrawgc
Cursor cursor
int lux_colors = 0
int lux_colormap
Window focus
int revert
long XMAXREQUESTSIZE
XErrorEvent* lux_err
XEvent* event
char* arg
char key
char * shift
char * control
char function [20]
int* x
int * y
Drawable pixmap
GC gc
unsigned int width
unsigned int height
float* fx
float * fy
char* name


Define Documentation

#define DOUBLECLICKLENGTH   300L
 

Definition at line 43 of file win.c.

#define REPORT_EVENT   0
 

Definition at line 42 of file win.c.

#define X_CreatePixmap   53
 

Definition at line 67 of file win.c.

#define icon_bitmap_height   40
 

#define icon_bitmap_width   40
 


Function Documentation

int lux_handler ( display,
lux_err )
 

unsigned long lux_lookup_color ( )
 

unsigned long lux_rgb_pixel ( )
 

Colormap lux_setup_colormap ( )
 

redraw ( )
 

set_default_font ( char * font )
 

Definition at line 54 of file win.c.

void set_wait_time ( i )
 


Variable Documentation

long XMAXREQUESTSIZE
 

Definition at line 65 of file win.c.

char* arg
 

Definition at line 408 of file win.c.

char* colorfile = (char *)NULL
 

Definition at line 22 of file win.c.

Colormap colormap
 

Definition at line 23 of file win.c.

int colormap_size
 

Definition at line 21 of file win.c.

char * control
 

Definition at line 320 of file win.c.

Cursor cursor
 

Definition at line 29 of file win.c.

unsigned int default_depth
 

Definition at line 15 of file win.c.

Pixmap default_icon_pixmap
 

Definition at line 16 of file win.c.

GC defaultgc
 

Definition at line 28 of file win.c.

Display* display
 

Definition at line 12 of file win.c.

unsigned int display_height
 

Definition at line 15 of file win.c.

char* display_name = NULL
 

Definition at line 14 of file win.c.

unsigned int display_width
 

Definition at line 15 of file win.c.

XEvent* event
 

Definition at line 407 of file win.c.

Window focus
 

Definition at line 61 of file win.c.

XFontStruct* font_info
 

Definition at line 27 of file win.c.

char function[20]
 

Definition at line 320 of file win.c.

float* fx
 

Definition at line 1851 of file win.c.

float * fy
 

Definition at line 1851 of file win.c.

GC gc
 

Definition at line 451 of file win.c.

* height
 

Definition at line 1883 of file win.c.

char* key
 

Definition at line 320 of file win.c.

int lux_colormap
 

Definition at line 31 of file win.c.

int lux_colors = 0
 

Definition at line 30 of file win.c.

XErrorEvent* lux_err
 

Definition at line 71 of file win.c.

XStandardColormap map_info
 

Definition at line 20 of file win.c.

char* name
 

Definition at line 1870 of file win.c.

Drawable pixmap
 

Definition at line 450 of file win.c.

int pmpallocflag = 1
 

Definition at line 17 of file win.c.

Window popup
 

Definition at line 24 of file win.c.

Atom protocols
 

Definition at line 25 of file win.c.

GC redrawgc
 

Definition at line 28 of file win.c.

int revert
 

Definition at line 62 of file win.c.

int screen
 

Definition at line 18 of file win.c.

char * shift
 

Definition at line 320 of file win.c.

Visual* visual
 

Definition at line 13 of file win.c.

width
 

Definition at line 709 of file win.c.

lux_wins* windows = (lux_wins *)NULL
 

Definition at line 19 of file win.c.

unsigned int x
 

Definition at line 452 of file win.c.

y
 

Definition at line 709 of file win.c.

Referenced by main().


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