/* orxonox - the future of 3D-vertical-scrollers Copyright (C) 2004 orx This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. ### File Specific: main-programmer: Benjamin Grauer co-programmer: ... */ #define DEBUG_SPECIAL_MODULE DEBUG_MODULE_GUI #include "glgui_textfield.h" namespace OrxGui { /** * standard constructor */ GLGuiTextfield::GLGuiTextfield () { this->init(); } /** * standard deconstructor */ GLGuiTextfield::~GLGuiTextfield() { } /** * initializes the GUI-element */ void GLGuiTextfield::init() { this->setClassID(CL_GLGUI_TEXTFIELD, "GLGuiTextfield"); } /** * @brief draws the GLGuiTextfield */ void GLGuiTextfield::draw() const { this->beginDraw(); GLGuiWidget::draw(); this->frontMaterial().select(); this->drawRect(this->frontRect()); this->endDraw(); } }