new graphics code compiles... no, it doesn't work yet
#ifndef GRAPHICS_CONSOLE_HH
#define GRAPHICS_CONSOLE_HH
#include "GUI.hh"
#include <list>
namespace graphics
{
class Console : public CL_Component {
protected:
/** our list of messages */
std::list<std::string> messages;
/** our input dialog */
CL_InputBox input;
public:
/**
* Construct a new console, positioned in the given area, with the given parent
*/
Console (const CL_Rect& pos, CL_Component* parent);
private:
/**
* Calculate the position for the input box
*/
CL_Rect getInputPosition (void);
};
}
#endif