#ifndef CRUTAPI_H
#define CRUTAPI_H
#ifdef WINDOWS
#else
#define CRUT_APIENTRY
#endif
#include "cr_net.h"
#include "cr_protocol.h"
#ifdef __cplusplus
extern "C" {
#endif
/* Compile-time version tests */
#define CRUT_PATCH_VERSION 0
/* Display mode bit masks. */
#define CRUT_RGB 0
#define CRUT_SINGLE 0
/* Mouse buttons. */
/* CRUT_NO_BUTTON provided for menu definition. Not every menu will
have a button associated with it. */
#define CRUT_LEFT_BUTTON 0
/* Mouse button state. */
#define CRUT_DOWN 0
/* Visibility state. */
#define CRUT_NOT_VISIBLE 0
/* function keys */
/* directional keys */
/* event types */
#define CRUT_NO_EVENT 0
#define MENU_ITEM_REGULAR 0
/* CRUTMessage is just a placeholder to find the msg_type */
typedef struct
{
int msg_type;
} CRUTMessage;
typedef struct
{
int msg_type;
int button;
int state;
int x;
int y;
} CRUTMouseMsg;
typedef struct
{
int msg_type;
int width;
int height;
typedef struct
{
int msg_type;
int state;
typedef struct
{
int msg_type;
unsigned char key;
int x;
int y;
typedef struct
{
int msg_type;
int x;
int y;
typedef struct
{
int msg_type;
int x;
int y;
typedef struct
{
int msg_type;
int menuID;
int value;
} CRUTMenuMsg;
typedef struct
{
unsigned short tcpip_port;
int mtu;
typedef struct
{
int numclients;
int winX;
int winY;
int winWidth;
int winHeight;
int compositeAlpha;
int compositeDepth;
} CRUTAPI;
/* extern CRUTAPI crut_api;*/
#ifdef __cplusplus
}
#endif
#endif /* CRUTAPI_H */