/***************************************************************************
 *   Copyright (C) 2004-2005 by                                            *
 *     Paolo Sacconier   <axa1981@tin.it>                                  *
 *     Francesco Tamagni <minchiahead@hacari.org>                          *
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 *   This program is distributed in the hope that it will be useful,       *
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
 *   GNU General Public License for more details.                          *
 *                                                                         *
 *   You should have received a copy of the GNU General Public License     *
 *   along with this program; if not, write to the                         *
 *   Free Software Foundation, Inc.,                                       *
 *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
 ***************************************************************************/
#ifndef GILLOOVERLAY_H
#define GILLOOVERLAY_H

#include "main.h"
#include "rect.h"
#include "img.h"

namespace gillo {

class Overlay {
	list<Rect*> rects;
	Overlay(Overlay& o);
	Overlay& operator=(Overlay& o);
	
public:
	Overlay();
	~Overlay();
	inline void add(Rect* r) { this->rects.remove(r), this->rects.push_back(r); }
	inline void rem(Rect* r) { this->rects.remove(r); }
	void draw(int width, int height);
};

}

#endif
