author | Tero Marttila <terom@fixme.fi> |
Wed, 21 Jan 2009 01:57:24 +0200 | |
branch | new_graphics |
changeset 410 | 41fd46cffc52 |
permissions | -rw-r--r-- |
#include "Console.hh" namespace graphics { Console::Console (const CL_Rect& pos, CL_Component* parent) : CL_Component(pos, parent), messages(), input(getInputPosition(), this) { // hide by default show(false); } CL_Rect Console::getInputPosition (void) { CL_Rect pos = get_position(); return CL_Rect(pos.left, pos.bottom - 30, pos.right, pos.bottom); } }