#ifndef GLCD_TYPES_H
#define GLCD_TYPES_H

typedef struct TRect
{
	int xA;
	int yA;
	int xC;
	int yC;
}TRect;

typedef struct TElipse
{
	int x;
	int y;
	int a;
	int b;
}TElipse;

typedef struct TCircle
{
	int x;
	int y;
	int r;
}TCircle;


typedef enum RGB_COLORS
{
	RGB_BLACK,
	RGB_RED,
	RGB_GREEN,
	RGB_BLUE,
	RGB_YELLOW,
	RGB_ORANGE,
	RGB_WIN_BLUE,
	RGB_VIOLET,
	RGB_LILA,
	RGB_CYAN,
	RGB_BROWN,
	RGB_DARK_GRAY,
	RGB_LIGHT_GRAY,
	RGB_WHITE,
	RGB_BEIGE,
	RGB_DARK_RED,
	RGB_DARK_GREEN,
	RGB_DARK_BLUE,
	RGB_LIGHT_RED,
	RGB_LIGHT_GREEN,
	RGB_LIGHT_BLUE,
	MAX_COLORS,
}RGB_COLORS;

typedef enum FONT_SIZE
{
	FONT_MINIMAL,
	FONT_SMALL,
	FONT_MEDIUM,
	FONT_BIG,
	FONT_HUGE,
}FONT_SIZE;

typedef struct FONT
{
	RGB_COLORS color;
	FONT_SIZE size;
	RGB_COLORS bg_color;
}FONT;



typedef enum TEXT_ATTRIBUTE_BIT
{
	ATTR_NONE = 0,
	ATTR_BOLD = 1,
	ATTR_UNDER = 4,
	ATTR_BLINK = 5,
	ATTR_INVERSE = 6,
	ATTR_CONCEALED = 7,
}TEXT_ATTRIBUTE_BIT;


#ifdef PCSIM

typedef struct TColor
{
	unsigned char R;
	unsigned char G;
	unsigned char B;
} TColor;

#else
typedef unsigned short TColor;
#endif



#endif