| 1 |
pcg |
1.1 |
/* |
| 2 |
|
|
* $Id: grxlib.h,v 1.1 2003/11/18 14:22:19 root Exp $ |
| 3 |
|
|
*/ |
| 4 |
|
|
#include "rxvtgrx.h" /* text alignment */ |
| 5 |
|
|
|
| 6 |
|
|
/*function pointer to either StartLine or StartPoint */ |
| 7 |
|
|
typedef void (*LineFunction) (long id); |
| 8 |
|
|
|
| 9 |
|
|
#ifdef __cplusplus |
| 10 |
|
|
extern "C" { |
| 11 |
|
|
#endif |
| 12 |
|
|
extern void StartLine (long id); |
| 13 |
|
|
extern void StartPoint (long id); |
| 14 |
|
|
extern void Extend (int x, int y); |
| 15 |
|
|
extern void StartFill (long id); |
| 16 |
|
|
extern void FillArea (int x1, int y1, int x2, int y2); |
| 17 |
|
|
extern void Done (void); |
| 18 |
|
|
extern void PlaceText (long id, int x, int y, int mode, char *text); |
| 19 |
|
|
|
| 20 |
|
|
extern void ClearWindow (long id); |
| 21 |
|
|
extern long CreateWin (int x, int y, int w, int h); |
| 22 |
|
|
extern void QueryWin (long id, int *nfwidth, int *nfheight); |
| 23 |
|
|
extern void ForeColor (int color); |
| 24 |
|
|
extern void DefaultRendition (void); |
| 25 |
|
|
extern int WaitForCarriageReturn (long *win, int *x, int *y); |
| 26 |
|
|
extern int InitializeGraphics (int scroll_text_up); |
| 27 |
|
|
extern void CloseGraphics (void); |
| 28 |
|
|
#ifdef __cplusplus |
| 29 |
|
|
} |
| 30 |
|
|
#endif |
| 31 |
|
|
/*----------------------- end-of-file (C header) -----------------------*/ |