Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/trunk/src/lib/gui/gl/glgui_textfield.cc @ 8668

Last change on this file since 8668 was 8448, checked in by bensch, 19 years ago

merged gui back to the trunk
merged with command
merge -r8377:HEAD https://svn.orxonox.net/orxonox/branches/gui .

File size: 1.0 KB
RevLine 
[4744]1/*
[1853]2   orxonox - the future of 3D-vertical-scrollers
3
4   Copyright (C) 2004 orx
5
6   This program is free software; you can redistribute it and/or modify
7   it under the terms of the GNU General Public License as published by
8   the Free Software Foundation; either version 2, or (at your option)
9   any later version.
[1855]10
11   ### File Specific:
[5360]12   main-programmer: Benjamin Grauer
[1855]13   co-programmer: ...
[1853]14*/
15
[5360]16#define DEBUG_SPECIAL_MODULE DEBUG_MODULE_GUI
[1853]17
[7919]18#include "glgui_textfield.h"
[7779]19namespace OrxGui
[3365]20{
[4320]21
[7779]22  /**
23   * standard constructor
24  */
25  GLGuiTextfield::GLGuiTextfield ()
26  {
27    this->init();
[1853]28
[7779]29  }
[1853]30
[5360]31
[7779]32  /**
33   * standard deconstructor
34  */
35  GLGuiTextfield::~GLGuiTextfield()
36  {
37  }
[5360]38
[7779]39  /**
40   * initializes the GUI-element
41   */
42  void GLGuiTextfield::init()
43  {
[7919]44    this->setClassID(CL_GLGUI_TEXTFIELD, "GLGuiTextfield");
[7779]45  }
[5360]46
[7779]47  /**
[8035]48   * @brief draws the GLGuiTextfield
[7779]49   */
[7919]50  void GLGuiTextfield::draw() const
[7779]51  {
[8035]52    this->beginDraw();
53    GLGuiWidget::draw();
54
[8448]55/*    this->frontMaterial().select();
56    this->drawRect(this->frontRect());*/
[8035]57    this->endDraw();
[7779]58  }
[5360]59}
Note: See TracBrowser for help on using the repository browser.