Functions | |
int | GrOpen (void) |
Open a connection to the graphics server. | |
void | GrClose (void) |
Close the graphics device. | |
void | GrFlush (void) |
Flush the message buffer of any messages it may contain. | |
void | GrDefaultErrorHandler (GR_EVENT *ep) |
The default error handler. | |
GR_FNCALLBACKEVENT | GrSetErrorHandler (GR_FNCALLBACKEVENT fncb) |
Sets an error handling routine that will be called on any errors from the server (assuming the client has asked to receive them). | |
void | GrGetScreenInfo (GR_SCREEN_INFO *sip) |
Fills in the specified GR_SCREEN_INFO structure. |
|
Close the graphics device. Flushes any waiting messages. |
|
The default error handler. This is called when the server reports an error event and the client hasn't set up a handler of it's own. Generates a human readable error message describing what error occurred and what function it occured in, then exits.
|
|
Fills in the specified GR_SCREEN_INFO structure.
|
|
Open a connection to the graphics server.
|
|
Sets an error handling routine that will be called on any errors from the server (assuming the client has asked to receive them). If zero is used as the argument, errors will be returned as regular events instead.
|