Main Page   Class Hierarchy   Data Structures   File List   Data Fields   Globals  

draw.c File Reference

#include "win.h"

Go to the source code of this file.

Defines

#define RESIZED   1
#define ONE_MORE_EXPOSE   2
#define ABORT_REDRAW   3
#define DEBUG   0
#define MAX_LINE_STYLE   11
#define SHORT_DASHED_LIST_LENGTH   2
#define LONG_DASHED_LIST_LENGTH   2
#define DOTTED_LIST_LENGTH   2
#define DOT_DASHED_LIST_LENGTH   4
#define ODD_DASHED_LIST_LENGTH   3

Functions

lux_winsget_currentwin ()
unsigned long lux_get_bgcolor ()
Bool lux_expose_pred (display, event, msg) Display *display
 lux_set_linestyle (win, style) Window win
void lux_set_nobuffer ()
 lux_draw_string (win, fx, fy, fh, s, position) Window win

Variables

GC redrawgc
GC defaultgc
int pmpallocflag
XFontStruct* font_info
XEvent* event
char* msg
Window win
float fxorg
float fyorg
float fxsize
float fysize
float xmin
float xmax
float ymin
float ymax
int lnx
int lny
int x1
int y1
int x2
int y2
float* fx
float * fy
int* x
int * y
unsigned int n
int ix
int iy
unsigned int width
int style
float fh
char* s
char position
int status


Define Documentation

#define ABORT_REDRAW   3
 

Definition at line 15 of file draw.c.

#define DEBUG   0
 

Definition at line 18 of file draw.c.

#define DOTTED_LIST_LENGTH   2
 

#define DOT_DASHED_LIST_LENGTH   4
 

#define LONG_DASHED_LIST_LENGTH   2
 

#define MAX_LINE_STYLE   11
 

#define ODD_DASHED_LIST_LENGTH   3
 

#define ONE_MORE_EXPOSE   2
 

Definition at line 14 of file draw.c.

#define RESIZED   1
 

Definition at line 13 of file draw.c.

#define SHORT_DASHED_LIST_LENGTH   2
 


Function Documentation

lux_wins* get_currentwin ( )
 

lux_draw_string ( win,
fx,
fy,
fh,
s,
position )
 

Bool lux_expose_pred ( display,
event,
msg )
 

unsigned long lux_get_bgcolor ( )
 

lux_set_linestyle ( win,
style )
 

void lux_set_nobuffer ( )
 

Definition at line 1127 of file draw.c.


Variable Documentation

GC defaultgc
 

Definition at line 7 of file draw.c.

XEvent* event
 

Definition at line 23 of file draw.c.

float fh
 

Definition at line 1348 of file draw.c.

XFontStruct* font_info
 

Definition at line 9 of file draw.c.

float fx
 

Definition at line 1348 of file draw.c.

float fxorg
 

Definition at line 303 of file draw.c.

float fxsize
 

Definition at line 303 of file draw.c.

float fy
 

Definition at line 1348 of file draw.c.

float fyorg
 

Definition at line 303 of file draw.c.

float fysize
 

Definition at line 303 of file draw.c.

int ix
 

Definition at line 779 of file draw.c.

int iy
 

Definition at line 779 of file draw.c.

int lnx
 

Definition at line 465 of file draw.c.

int lny
 

Definition at line 465 of file draw.c.

char* msg
 

Definition at line 24 of file draw.c.

unsigned int n
 

Definition at line 633 of file draw.c.

int pmpallocflag
 

Definition at line 8 of file draw.c.

char position
 

Definition at line 1349 of file draw.c.

GC redrawgc
 

Definition at line 7 of file draw.c.

char* s
 

Definition at line 1349 of file draw.c.

int status
 

Definition at line 1670 of file draw.c.

int style
 

Definition at line 1038 of file draw.c.

unsigned int width
 

Definition at line 948 of file draw.c.

Window win
 

Definition at line 78 of file draw.c.

int* x
 

Definition at line 710 of file draw.c.

float x1
 

Definition at line 879 of file draw.c.

float x2
 

Definition at line 805 of file draw.c.

float xmax
 

Definition at line 375 of file draw.c.

float xmin
 

Definition at line 375 of file draw.c.

int * y
 

Definition at line 710 of file draw.c.

float y1
 

Definition at line 879 of file draw.c.

float y2
 

Definition at line 805 of file draw.c.

float ymax
 

Definition at line 375 of file draw.c.

float ymin
 

Definition at line 375 of file draw.c.


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