Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9560 in orxonox.OLD for branches/proxy/src/lib


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

resizing works perfectly :)… man there were little bugs…

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

Legend:

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

    r9558 r9560  
    5050        printf("_----------------------- ");
    5151        GLGuiHandler::getInstance()->resolution().debug();
     52        this->getSize2D().debug();
    5253        this->setAbsCoor2D((GLGuiHandler::getInstance()->resolution() - this->getSize2D()) / 2.0);
    5354        break;
    5455      default:
    5556        printf("not done mode yet!!\n");
    56 
    5757    }
    5858  }
  • branches/proxy/src/lib/network/monitor/network_monitor.cc

    r9554 r9560  
    203203  if (this->box == NULL)
    204204  {
    205     this->box = new OrxGui::GLGuiBox(OrxGui::Vertical);
    206     {
    207       NetworkStatsWidget* netStats = new NetworkStatsWidget(this);
    208       this->box->pack(netStats);
    209 
    210     }
    211 
     205    this->box = new NetworkStatsWidget(this);
    212206    this->box->showAll();
    213     //this->box->setAbsCoor2D(300, 40);
    214207  }
    215208  else
Note: See TracChangeset for help on using the changeset viewer.