Changeset 9547 in orxonox.OLD for branches/proxy/src/lib/gui/gl/glgui_fixedposition_box.cc
- Timestamp:
- Jul 28, 2006, 11:23:52 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/proxy/src/lib/gui/gl/glgui_fixedposition_box.cc
r9546 r9547 26 26 */ 27 27 GLGuiFixedpositionBox::GLGuiFixedpositionBox (OrxGui::Position position, OrxGui::Orientation orientation) 28 GLGuiBox(orientation) 29 { 30 } 28 : GLGuiBox(orientation) 29 {} 31 30 32 31 … … 38 37 39 38 39 40 40 void GLGuiFixedpositionBox::setPosition(OrxGui::Position position) 41 41 { 42 42 this->_position = position; 43 this->resize ;43 this->resize(); 44 44 } 45 45 … … 49 49 GLGuiBox::resize(); 50 50 51 switch (this-> position)51 switch (this->_position) 52 52 { 53 53 case OrxGui::Center: 54 this->setAbsCoor2D(G uiHandler::getInstance()->resolution() - this->getSize2D() / 2.0);54 this->setAbsCoor2D(GLGuiHandler::getInstance()->resolution() - this->getSize2D() / 2.0); 55 55 break; 56 default: 57 printf("not done mode yet!!\n"); 56 58 57 59 }
Note: See TracChangeset
for help on using the changeset viewer.