#ifndef _STYLE_
#define _STYLE_

struct Style
{
	Style *next;
	long mask;
	long flags;
	int pad_wd; // pad_wd width
	int border; // border width
	char *pattern;

	Style ();
	~Style ();

	int match (char *);
	int enable (long);
	int disable (long);
};

struct StyleList
{
	Style *first, *last;

	StyleList ();
	~StyleList ();

	int add (Style *);
};

extern StyleList style_list;

#endif
