Changeset 9567 in orxonox.OLD for branches/proxy/src
- Timestamp:
- Jul 28, 2006, 2:43:01 PM (18 years ago)
- Location:
- branches/proxy/src/lib
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/proxy/src/lib/gui/gl/glgui_fixedposition_box.cc
r9560 r9567 48 48 { 49 49 case OrxGui::Center: 50 printf("_----------------------- ");51 GLGuiHandler::getInstance()->resolution().debug();52 this->getSize2D().debug();53 50 this->setAbsCoor2D((GLGuiHandler::getInstance()->resolution() - this->getSize2D()) / 2.0); 54 51 break; -
branches/proxy/src/lib/network/monitor/network_stats_widget.cc
r9556 r9567 178 178 this->pack(&this->_downstreamText); 179 179 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); 181 188 } 182 189 … … 207 214 } 208 215 216 void NetworkStatsWidget::rebuild() 217 { 218 219 } 220 221 209 222 210 223 void NetworkStatsWidget::tick(float dt) -
branches/proxy/src/lib/network/monitor/network_stats_widget.h
r9552 r9567 10 10 #include "glgui_bar.h" 11 11 #include "glgui_text.h" 12 #include "glgui_pushbutton.h" 12 13 13 14 #include "network/ip.h" … … 84 85 void addProxy(const std::string& name, const IP& proxy); 85 86 87 void rebuild(); 86 88 87 89 //void rebuildConnectedHosts(std::vector<hosts> hosts); … … 106 108 OrxGui::GLGuiText _downstreamText; 107 109 110 OrxGui::GLGuiWidget _masterBox; 111 OrxGui::GLGuiBox _proxyBox; 112 108 113 std::vector<HostWidget*>_connectedProxies; 109 114 110 OrxGui::GLGuiText _serverIP;111 115 116 OrxGui::GLGuiPushButton _refreshButton; 112 117 113 118 //OrxGui::GLGuiText _valueText;
Note: See TracChangeset
for help on using the changeset viewer.