/*********************************************************************//**
*	\brief HUD Fps
*	Okno zobrazuje pocet fps.	
*
*	\author Michal Jirous
*	\date 24.11.2008
*	\file HUD_fps.h
**********************************************************************/

#ifndef __HUD_FPS_H__
#define __HUD_FPS_H__

#include "HUD.h"

#define		HUD_FPS_WIDTH			110.0f
#define		HUD_FPS_BORDER			10.0f
#define		HUD_FPS_CRITICAL_VALUE	60

const float		HUD_FPS_HEIGHT		 = 64.0f + HUD::WINDOW_HEIGHT_ADDING_CONSTANT;
const Color4I	HUD_FPS_COLOR		 = Color4I(255,255,0,160);



class FpsWindow : public HUD::HUDBaseWindow
{
	virtual void onInit();
	void componentDraw( ScissorBox &scissorBox );
public:
	void onDefault();
	void onCancel();
	void onSave();
	void onRun();
	FpsWindow();
};


#endif /*__HUD_FPS_H__*/
