/*********************************************************************//**
*	\brief HUD Level report
*	Okno zobrazuje vysledky hrani levelu po jeho dokonceni.	
*
*	\author Michal Jirous
*	\date 24.11.2008
*	\file HUD_level_report.h
**********************************************************************/

#ifndef __HUD_LEVEL_REPORT_H__
#define __HUD_LEVEL_REPORT_H__

#include "HUD.h"

const float HUD_LEVEL_REPORT_WIDTH		 = 500.0f;
const float HUD_LEVEL_REPORT_HEIGHT		 = 368.0f + HUD::WINDOW_HEIGHT_ADDING_CONSTANT;
const float HUD_LEVEL_REPORT_BORDER		 = 1.0f;
const Color4I HUD_LEVEL_REPORT_COLOR		 = Color4I(255,255,0,160);
const Color4I HUD_LEVEL_REPORT_HIGHLIGHTED = Color4I(247,51,23,255);
const Color4I HUL_LEVEL_REPORT_GAME_OVER( 128,0,0,255 ); 

class LevelReportWindow : public HUD::HUDBaseWindow
{
	float m_fAnimation;
	bool m_bAnimation;
	fontLibrary::DString m_dsDeadMessage;
	fontLibrary::DString m_dsReport;
	bool m_bReportCreated;
	virtual void onInit();
	void componentDraw( ScissorBox &scissorBox );
public:
	void onDefault();
	void onCancel();
	void onSave();
	void onRun();
	LevelReportWindow();
};


#endif
