/* Prefernces file format */

struct Event {
	BOOL used;
	int type;	/* Type of event */
	int hours;	/* Time of event */
	int minutes;
	int timecode;
	char message[256];
	int day;
	int month;
	int year;
	int freq;
};

struct Language {
	struct Language *next;
	char name[50];
};


struct Prefs {
/* Prefs structure used for preferences file format */

	char header[10];  /* I.D. Header */
	int vers;         /* Version of preferences file */
	struct Language planguage;    /* Language selected (menu) when saved, low pri */
	int just;         /* Justification of text, 0=Left, 1=Centre */
	short date;       /* Display date?, 0 = No, 1=Yes */
	short wtf;	     /* Window to front? */
	int time_col[9];
	int date_col[9];
	short autoadjust;       /* Auto adjust ? */
	char backdrop[256];
	char pub[139];
	char accent[256];		/* Language file for tRanslate */
	char tkey[100];
	char hkey[100];
	char fontname[50];		/* Font to use in window */
	long fontstyle;  			/* Style of font to use */
	long fontsize;
	struct Event events[11];  /* For the alarm! */ 

};

