/****************************************************************
**
** Attal : Lords of Doom
**
** ressourceWin.h
** show ressources of the player (gold, ...)
**
** Version : $Id: ressourceWin.h,v 1.1 2004/07/21 11:30:30 lusum Exp $
**
** Author(s) : Pascal Audoux - Carlo Sardi
**
** Date : 06/09/2000
**
** Licence :    
**	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, 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.
**
****************************************************************/

 
#ifndef RESSOURCEWIN_H
#define RESSOURCEWIN_H
 
 
// generic include files
// include files for QT
#include <qwidget.h>
#include <qlabel.h>
#include <qlayout.h>
// application specific includes
#include "libCommon/genericPlayer.h"
 
 
/*              ------------------------------
 *                         RessourceWin
 *              ------------------------------ */


/** comment for the class */
class RessourceWin : public QWidget
{
 
public:
	/** Construtcor */
	RessourceWin( QWidget * parent = 0, const char * name = 0 );

	/** Initialize player */
	void setPlayer( GenericPlayer * );
	
	/** Reinit info displayed */
	void reinit();
	
private:
	GenericPlayer * _player;
	QLabel * _labRessource[MAX_RESS];
	//QHBoxLayout * _layh[MAX_RESS/2];
};
 
#endif // RESSOURCEWIN_H   
