#pragma once
#include <windows.h>
#include <iostream>
#include <string>
#include "C:\L\List\List.h"
using namespace std;
using std::string;

#define MaxExpandedView 10

class InScreenMsg
{
public:
				InScreenMsg		();
				~InScreenMsg	();
	void		Reset			();
	void		SetTimer		(int timeInFPS);
	int			GetTimer		() const;
	void		DecTimer		();
	void		SetMsgRect		(int L, int T, int R, int B);
	void		SetStartRect	(int L, int T, int R, int B);
	void		IncMsgIndex		();
	void		DecMsgIndex		();
	void		AddMessage		(string msg);
	void		IncExpand		();
	void		DecExpand		();
	int			GetExpand		();
	void		SetExpandBy		(int amount);
	int			GetExpandBy		() const;
	int			GetNumMsg		() const;
	void		SetExpandAmnt	(int data);
	int			GetExpandAmnt	() const;

	RECT		CurrentRect;
	RECT		StartRect;

	List<string> Messages;

private:
	int			MsgTimer;
	int			ExpandAmount;
	int			ExpandMulti;
	int			MsgIndex;
	int			NumMsg;
};