Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


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

more gui work

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

Legend:

Unmodified
Added
Removed
  • branches/proxy/src/lib/network/monitor/network_stats_widget.cc

    r9567 r9569  
    179179
    180180
    181   this->pack(&this->_masterBox);
    182   this->pack(&this->_proxyBox);
     181  this->pack(&this->_serverBox);
    183182
    184183
     
    214213}
    215214
     215
     216void NetworkStatsWidget::addProxy(const std::string& name, const IP& proxy)
     217{
     218}
     219
     220void clearProxies();
     221
     222
    216223void NetworkStatsWidget::rebuild()
    217224{
     225  while (!this->_proxies.empty())
     226  {
     227    delete this->_proxies.back();
     228    this->_proxies.pop_back();
     229  }
     230
     231
    218232
    219233}
  • branches/proxy/src/lib/network/monitor/network_stats_widget.h

    r9567 r9569  
    8484
    8585    void addProxy(const std::string& name, const IP& proxy);
     86    void clearProxies();
    8687
    8788    void rebuild();
     
    108109    OrxGui::GLGuiText      _downstreamText;
    109110
    110     OrxGui::GLGuiWidget    _masterBox;
    111     OrxGui::GLGuiBox       _proxyBox;
     111    OrxGui::GLGuiWidget    _serverBox;
    112112
    113     std::vector<HostWidget*>_connectedProxies;
     113    std::vector<HostWidget*> _proxies;
    114114
    115115
Note: See TracChangeset for help on using the changeset viewer.