Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9547 in orxonox.OLD for branches/proxy/src/lib/gui/gl


Ignore:
Timestamp:
Jul 28, 2006, 11:23:52 AM (18 years ago)
Author:
bensch
Message:

orxonox/proxy: linking problem, trying another tardis

Location:
branches/proxy/src/lib/gui/gl
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/proxy/src/lib/gui/gl/glgui_fixedposition_box.cc

    r9546 r9547  
    2626  */
    2727  GLGuiFixedpositionBox::GLGuiFixedpositionBox (OrxGui::Position position, OrxGui::Orientation orientation)
    28       GLGuiBox(orientation)
    29   {
    30   }
     28      : GLGuiBox(orientation)
     29  {}
    3130
    3231
     
    3837
    3938
     39
    4040  void GLGuiFixedpositionBox::setPosition(OrxGui::Position position)
    4141  {
    4242    this->_position = position;
    43     this->resize;
     43    this->resize();
    4444  }
    4545
     
    4949    GLGuiBox::resize();
    5050
    51     switch (this->position)
     51    switch (this->_position)
    5252    {
    5353      case OrxGui::Center:
    54         this->setAbsCoor2D(GuiHandler::getInstance()->resolution() - this->getSize2D() / 2.0);
     54        this->setAbsCoor2D(GLGuiHandler::getInstance()->resolution() - this->getSize2D() / 2.0);
    5555        break;
     56      default:
     57        printf("not done mode yet!!\n");
    5658
    5759    }
  • branches/proxy/src/lib/gui/gl/glgui_fixedposition_box.h

    r9546 r9547  
    77#define _GLGUI_FIXEDPOSITION_BOX_H
    88
    9 #include "glgui_container.h"
    10 #include "glgui_defs.h"
     9#include "glgui_box.h"
    1110
    1211namespace OrxGui
     
    1615   *
    1716   */
    18   class GLGuiFixedpositionBox : public GLGuiBox
     17  class GLGuiFixedpositionBox : public OrxGui::GLGuiBox
    1918  {
    2019
     
    2322    virtual ~GLGuiFixedpositionBox();
    2423
    25     inline OrxGui::Position position() const { return _position; };
     24    inline OrxGui::Position position() const { return this->_position; };
    2625    void setPosition(OrxGui::Position);
    2726
Note: See TracChangeset for help on using the changeset viewer.