// $Id: GLConsole.hh,v 1.15 2005/01/24 19:33:03 m9710797 Exp $

#ifndef __GLCONSOLE_HH__
#define __GLCONSOLE_HH__

#include "OSDConsoleRenderer.hh"
#include "GLUtil.hh"

namespace openmsx {

class GLConsole : public OSDConsoleRenderer
{
public:
	GLConsole(Console& console);
	virtual ~GLConsole();

	virtual void loadFont(const std::string& filename);
	virtual void loadBackground(const std::string& filename);

	virtual void paint();
	virtual const std::string& getName();

private:
	GLuint backgroundTexture;
	GLfloat backTexCoord[4];
};

} // namespace openmsx

#endif // __GLCONSOLE_HH__
