/*****************************************************
 * LookAndFeel.js
 * 04.20.2003
 * Eddie Lim <elim@eecs.harvard.edu>
 * www.netsymbiosis.com
 *****************************************************/

// this class needs some work. should probably be tied into ColorScheme.js somehow. super-tired right now though.
LookAndFeel.MENU_DEFAULT = 1;
LookAndFeel.MENU_READONLY = 2;

function LookAndFeel(type, fontStyle, fontSize, fontFamily, fontColor)
{
	this.type = type;
	this.fontStyle = fontStyle;
	this.fontSize = fontSize;
	this.fontFamily = fontFamily;
	this.fontColor = fontColor;
}

LookAndFeel.getMenuDefaultLookAndFeel = function()
{
	return new LookAndFeel(LookAndFeel.MENU_DEFAULT, Preferences.getMenuFontStyle(), Preferences.getMenuFontSize(), Preferences.getMenuFontFamily(), Preferences.getMenuFontColor());
}

LookAndFeel.getMenuReadOnlyLookAndFeel = function()
{
	return new LookAndFeel(LookAndFeel.MENU_READONLY, Preferences.getMenuFontStyle(), Preferences.getMenuFontSize(), Preferences.getMenuFontFamily(), Preferences.getMenuReadOnlyFontColor());
}