Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9546 in orxonox.OLD for branches/proxy/src/lib/network/monitor


Ignore:
Timestamp:
Jul 28, 2006, 11:13:00 AM (18 years ago)
Author:
bensch
Message:

added a fixed positionBox, so that everything can be centered

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

Legend:

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

    r9494 r9546  
    169169  this->_bar.setChangedValueColor(Color::black);
    170170  */
    171   this->pack(&this->_thisHost);
     171  this->_thisHostIs.setText(std::string("I am ") + _monitor->getLocalNode()->getPeerInfo()->getNodeTypeString());
     172
     173  this->pack(&this->_thisHostIs);
     174
     175this->pack(&this->_thisHost);
    172176
    173177  this->pack(&this->_upstreamText);
  • branches/proxy/src/lib/network/monitor/network_stats_widget.h

    r9494 r9546  
    22 * @file network_stats_widget.h
    33 * @brief Definition of an EnergyWidget, that displays a bar and a Text
    4 */
     4 */
    55
    66#ifndef _NETWORK_STATS_WIDGET_H
     
    101101    const NetworkMonitor*  _monitor;
    102102
     103    OrxGui::GLGuiText      _thisHostIs;
    103104    HostWidget             _thisHost;
    104105
Note: See TracChangeset for help on using the changeset viewer.