

import java.awt.*;


public class ColorSelectionRectangle extends Object {
	
	Rectangle rect;
	Color c;
	int x,y,w,h;
	Color interfaceColor = new Color(30,30,90);

	boolean chosen = false;

	ColorSelectionRectangle(Color c, int x, int y, int w, int h) {

		this.rect = new Rectangle(x,y,w,h);
		this.c = c;
		this.x = x;
		this.y = y;
		this.w = w;
		this.h = h;

	}

	void drawColorSelectionRectangle(Graphics g) {
		
		g.setColor(c);
		g.fillRect(x, y+8, h-12, 8);

	//	if (chosen) g.setColor(interfaceColor);
	//	else g.setColor(Color.white);
	
	//	g.drawRect(x, y+2, 5, h-4);
	}


}

