/*********************************************************************//**
*	\brief HUD Targets
*	Okno zobrazuje pocet sebranych a celkovy pocet veci ve scene.
*
*	\author Michal Jirous
*	\date 24.11.2008
*	\file HUD_targets.h
**********************************************************************/

#ifndef __HUD_TARGETS_H__
#define __HUD_TARGETS_H__

#include "HUD.h"

const float HUD_TARGETS_WIDTH		 = 160.0f;
const float HUD_TARGETS_HEIGHT		 = 64.0f + HUD::WINDOW_HEIGHT_ADDING_CONSTANT;
const float HUD_TARGETS_BORDER		 = 10.0f;
const Color4I HUD_TARGETS_COLOR		 = Color4I(32,223,89,160);
const Color4I HUD_TARGETS_HIGHLIGHTED = Color4I(151,240,177,255);

class TargetsWindow : public HUD::HUDBaseWindow
{
	fontLibrary::DString m_dsFinnishMessage;
	float m_fAnimation;
	bool m_bAnimationUp;
	int m_iZeroCharSize;
	float m_fLetterhalfHeight;
	Uint32 m_uiCurrentTotalTargets;
	fontLibrary::DString m_dsTotalTargets;
	virtual void onInit();
	void componentDraw( ScissorBox &scissorBox );
public:
	void onDefault();
	void onCancel();
	void onSave();
	void onRun();
	TargetsWindow();
};

#endif
