
#ifndef __UIMESSAGEBOX_H
#define __UIMESSAGEBOX_H

#include "uipanel.h"

typedef enum EMessageBoxType {
	MB_TYPE_SETWHITE,
	MB_TYPE_RAMOVERFLOW,
	MB_TYPE_RAMOVERFLOWWRITE,
	MB_TYPE_LOSTCONNECTION,
	MB_TYPE_NOBLACKFRAME,
	MB_TYPE_LOADERROR,
	MB_TYPE_NONJUMBO,
	MB_TYPE_SMALLFILE,
	MB_TYPE_QUIT,
	MB_TYPE_DELETECLIP,
	MB_TYPE_QC_INIT,
	MB_TYPE_DIRECTORY_ERROR,
	MB_TYPE_MISSING_LOOK,
	MB_TYPE_OVERWRITE_CLIP,
	MB_TYPE_SAVE_IRIDAS,
	MB_TYPE_SAVE_PLAYER_LOOK,
	MB_TYPE_CHANGE_SYSTEM_TIME,
	MB_TYPE_NO_LTC_DEVICE,
	MB_TYPE_FILE_IO_ERROR,
	MB_TYPE_OPEN_GL_STATE,
	MB_TYPE_LAST
};



class CUIMessageBox : public CUIPanel  {

public:

	CUIMessageBox( EMessageBoxType type, float x, float y, float w, float h, char *name );
	~CUIMessageBox();

	void Render( void );
	void Init(char *text1, char *text2 = NULL, char *text3 = NULL, char *text4 = NULL );
	EMessageBoxType GetType( void ) { return mType; }
    char *text1() { return mText1; }

	//bool Init( void );
	//void OnClick( int x, int y );
	//void AddButton( CUIButton *button );

private:
	EMessageBoxType mType;

	char mText1[128];
	char mText2[128];
	char mText3[128];
	char mText4[128];

};





#endif 