Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9567 in orxonox.OLD for branches/proxy/src


Ignore:
Timestamp:
Jul 28, 2006, 2:43:01 PM (18 years ago)
Author:
bensch
Message:

more around the network statistics gui

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

Legend:

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

    r9560 r9567  
    4848    {
    4949      case OrxGui::Center:
    50         printf("_----------------------- ");
    51         GLGuiHandler::getInstance()->resolution().debug();
    52         this->getSize2D().debug();
    5350        this->setAbsCoor2D((GLGuiHandler::getInstance()->resolution() - this->getSize2D()) / 2.0);
    5451        break;
  • branches/proxy/src/lib/network/monitor/network_stats_widget.cc

    r9556 r9567  
    178178  this->pack(&this->_downstreamText);
    179179
    180   this->pack(&this->_serverIP);
     180
     181  this->pack(&this->_masterBox);
     182  this->pack(&this->_proxyBox);
     183
     184
     185  this->_refreshButton.setLabel("refresh");
     186  this->_refreshButton.released.connect(this, &NetworkStatsWidget::rebuild);
     187  this->pack(&this->_refreshButton);
    181188}
    182189
     
    207214}
    208215
     216void NetworkStatsWidget::rebuild()
     217{
     218
     219}
     220
     221
    209222
    210223void NetworkStatsWidget::tick(float dt)
  • branches/proxy/src/lib/network/monitor/network_stats_widget.h

    r9552 r9567  
    1010#include "glgui_bar.h"
    1111#include "glgui_text.h"
     12#include "glgui_pushbutton.h"
    1213
    1314#include "network/ip.h"
     
    8485    void addProxy(const std::string& name, const IP& proxy);
    8586
     87    void rebuild();
    8688
    8789    //void rebuildConnectedHosts(std::vector<hosts> hosts);
     
    106108    OrxGui::GLGuiText      _downstreamText;
    107109
     110    OrxGui::GLGuiWidget    _masterBox;
     111    OrxGui::GLGuiBox       _proxyBox;
     112
    108113    std::vector<HostWidget*>_connectedProxies;
    109114
    110     OrxGui::GLGuiText       _serverIP;
    111115
     116    OrxGui::GLGuiPushButton _refreshButton;
    112117
    113118    //OrxGui::GLGuiText       _valueText;
Note: See TracChangeset for help on using the changeset viewer.