#pragma once

#ifdef __WATCOMC__
#pragma library("vgui.lib")
#endif

#ifdef __cplusplus
extern "C" {
#endif

//---------------------------------------------------------------------------//

typedef struct s_VGUISBOX VGUISTRINGBOX;
typedef enum
{
	VGUISBOX_INACTIVE = 1 << 0,
	VGUISBOX_APA = 1 << 1,
	VGUISBOX_BPA = 1 << 2,
	VGUISBOX_CPA = 1 << 3
} VGUISBOXFLAGS;

struct s_VGUISBOX
{
	VGUISBOXFLAGS flags;
	int state;
	char string[256];
};

// int vgui_isbutton (int x, int y);
void vguisbox_draw (int x1,int y1,int x2,int y2, char *caption,char *);
void vguisbox_highlight (int x1,int y1,int x2,int y2, char *caption,char *);
void vguisbox_select (int x1, int y1, int x2, int y2, char *,char *);

//---------------------------------------------------------------------------//
#ifdef __cplusplus
}
#endif

