Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 31, 2006, 10:32:46 AM (18 years ago)
Author:
bensch
Message:

node-widget

File:
1 edited

Legend:

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

    r9640 r9642  
    1616class NetworkMonitor;
    1717class NetworkNode;
    18 
     18class PeerInfo;
    1919
    2020class HostWidget : public OrxGui::GLGuiBox
     
    2222  public:
    2323    HostWidget(const std::string& name, const IP& ip);
     24    HostWidget(const PeerInfo* peerInfo);
    2425
    2526    void setName(const std::string& name) { this->_name.setText(name); };
    26     void setIP(const IP& ip) { this->_ip.setText(ip.ipString()); this->_storedIP = ip; };
     27    void setIP(const IP& ip) { this->_ip.setText(std::string("at ") + ip.ipString()); this->_storedIP = ip; };
    2728
    2829    void setNameWidth(float width) { this->_name.setLineWidth(width); };
     
    3536    virtual void hiding();
    3637
     38  private:
     39    void init();
    3740  private:
    3841    OrxGui::GLGuiText _name;           //!< The Name of the Proxy server to be displayed.
     
    127130    static NetworkStatsWidget*    _statsWidget;
    128131
     132
     133    float                   _passedTime;
    129134    //OrxGui::GLGuiText       _valueText;
    130135    //OrxGui::GLGuiBar        _bar;
Note: See TracChangeset for help on using the changeset viewer.