#ifndef GR_TYPES_H
#define GR_TYPES_H


typedef enum SCREEN_OBJECT_TYPE
{
	BUTTON,
	KEYBOARD_BUTTON,
	KEYBOARD_SPECIAL_BUTTON,
	KEYBOARD_TEXT_BOX,
	TEXT_BOX,
	TEXT_AREA,
	ICON,
	BACKGROUND,
}SCREEN_OBJECT_TYPE;

typedef enum SCREEN_OBJECT_STATE
{
	OBJECT_DISABLED,
	OBJECT_ENABLED,
}SCREEN_OBJECT_STATE;

typedef enum ANSWER
{
	NO,
	YES,
	I_KNOW,
	ANSWER_ERROR,
	NOT_ANSWERED,
}ANSWER;

typedef struct POSITION
{
	short x;
	short y;
	ANSWER isFresh;
}POSITION;



typedef enum OBJECT_MESSAGE
{
	MSG_CLICK,
	MSG_ADD_CHAR,
	MSG_NONE,
	MSG_COMPLETE,
	MSG_NO_BACKGROUND,
	MSG_UPPER_RIGHT,
	MSG_LOWER_RIGHT,
}OBJECT_MESSAGE;

typedef struct FORMATED_CHAR
{
	char data;
	char dataAttrs;
	char dataColors;
}FORMATED_CHAR;


#endif