#include <stdio.h>
#include <sys/ioctl.h>
#include <sys/file.h>
#include <sys/types.h>
#include <sys/time.h>
#include <sys/times.h>
#include "Xlib.h"
#include </usr/openwin/include/X11/Xutil.h>
#include </usr/openwin/include/X11/Xos.h>
|
| #define | SC(c, r, g, b) red_a[c]=r;green_a[c]=g;blue_a[c]=b; |
| |
|
| void | opengfxwndw (int wn, int hsr, int vsr, int bgcolor, int fgcolor, int argc, char **argv) |
| |
| void | handleExpose (void(*expose)()) |
| |
| void | handleResize (void(*resize)()) |
| |
| void | eventloop (void(*expose)(), void(*resize)(), void(*buttonpress)()) |
| |
| void | handleEvents (void) |
| |
| void | OpenGraphics (INT hres, INT vres, INT bg_col, INT fg_col, INT ltx, INT lty) |
| |
| void | CloseGraphics (void) |
| |
| void | SetBgCol (INT col) |
| |
| void | SetFgCol (int col) |
| |
| void | PlotDot (INT i, INT j) |
| |
| void | MoveTo (INT i, INT j) |
| |
| void | LineTo (INT i, INT j) |
| |
| void | Crcl (INT i, INT j, INT r) |
| |
| void | FillRct (RCT *r, INT pattern, INT color) |
| |
| void | DrawStrng (const char *txt) |
| |
| int | Button (void) |
| |
| void | GetMouse (PXL *pt) |
| |
| DREAL | Clock (void) |
| |
| DREAL | RClock (void) |
| |
| void | Beep (INT freq, INT t) |
| |
| char * | datetime (void) |
| |
| int | GetKey (void) |
| |