Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 28, 2006, 12:18:58 PM (18 years ago)
Author:
bensch
Message:

resizing should work, but strangely it does not

File:
1 edited

Legend:

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

    r9556 r9558  
    4848    {
    4949      case OrxGui::Center:
    50         this->setAbsCoor2D(GLGuiHandler::getInstance()->resolution()/2.0 - this->getSize2D() / 2.0);
     50        printf("_----------------------- ");
     51        GLGuiHandler::getInstance()->resolution().debug();
     52        this->setAbsCoor2D((GLGuiHandler::getInstance()->resolution() - this->getSize2D()) / 2.0);
    5153        break;
    5254      default:
     
    5456
    5557    }
    56     // resize everything.
    57     //for (widget = this->children.begin(); widget != this->children.end(); ++widget)
    58     //{}
    5958  }
    6059
Note: See TracChangeset for help on using the changeset viewer.