#pragma once

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

#ifdef __cplusplus
extern "C" {
#endif

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

typedef struct s_VGUIBUTT VGUIBUTTON;
typedef enum
{
	VGUIBUTT_INACTIVE = 1 << 0,
	VGUIBUTT_APA = 1 << 1,
	VGUIBUTT_BPA = 1 << 2,
	VGUIBUTT_CPA = 1 << 3
} VGUIBUTTFLAGS;

struct s_VGUIBUTT
{
	VGUIBUTTFLAGS flags;
	int state;
};

// int vgui_isbutton (int x, int y);
void vguibutt_draw (int x1,int y1,int x2,int y2, char *caption);
void vguibutt_highlight (int x1,int y1,int x2,int y2, char *caption);
void vguibutt_select (int x1, int y1, int x2, int y2, char *caption);

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