Changeset 9642 in orxonox.OLD for branches/proxy/src/lib/network/monitor/network_stats_widget.h
- Timestamp:
- Jul 31, 2006, 10:32:46 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/proxy/src/lib/network/monitor/network_stats_widget.h
r9640 r9642 16 16 class NetworkMonitor; 17 17 class NetworkNode; 18 18 class PeerInfo; 19 19 20 20 class HostWidget : public OrxGui::GLGuiBox … … 22 22 public: 23 23 HostWidget(const std::string& name, const IP& ip); 24 HostWidget(const PeerInfo* peerInfo); 24 25 25 26 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; }; 27 28 28 29 void setNameWidth(float width) { this->_name.setLineWidth(width); }; … … 35 36 virtual void hiding(); 36 37 38 private: 39 void init(); 37 40 private: 38 41 OrxGui::GLGuiText _name; //!< The Name of the Proxy server to be displayed. … … 127 130 static NetworkStatsWidget* _statsWidget; 128 131 132 133 float _passedTime; 129 134 //OrxGui::GLGuiText _valueText; 130 135 //OrxGui::GLGuiBar _bar;
Note: See TracChangeset
for help on using the changeset viewer.