Changeset 9369 in orxonox.OLD for branches/proxy/src/util
- Timestamp:
- Jul 20, 2006, 9:16:39 PM (18 years ago)
- Location:
- branches/proxy/src/util
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/proxy/src/util/multiplayer_team_deathmatch.cc
r9357 r9369 87 87 this->input = new OrxGui::GLGuiInputLine(); 88 88 this->input->setAbsCoor2D(180, 5); 89 this->input-> connect(SIGNAL(input, enterPushed), this, SLOT(MultiplayerTeamDeathmatch, onInputEnter));89 this->input->enterPushed.connect(this, &MultiplayerTeamDeathmatch::onInputEnter); 90 90 } 91 91 … … 154 154 OrxGui::GLGuiPushButton * buttonSpectator = new OrxGui::GLGuiPushButton("Spectator"); 155 155 box->pack( buttonSpectator ); 156 buttonSpectator-> connect(SIGNAL(buttonSpectator, released), this, SLOT(MultiplayerTeamDeathmatch, onButtonSpectator));156 buttonSpectator->released.connect(this, &MultiplayerTeamDeathmatch::onButtonSpectator); 157 157 158 158 OrxGui::GLGuiPushButton * buttonRandom = new OrxGui::GLGuiPushButton("Random"); 159 159 box->pack( buttonRandom ); 160 buttonRandom-> connect(SIGNAL(buttonRandom, released), this, SLOT(MultiplayerTeamDeathmatch, onButtonRandom));160 buttonRandom->released.connect(this, &MultiplayerTeamDeathmatch::onButtonRandom); 161 161 162 162 OrxGui::GLGuiPushButton * buttonTeam0 = new OrxGui::GLGuiPushButton("Blue Team"); 163 163 box->pack( buttonTeam0 ); 164 buttonTeam0-> connect(SIGNAL(buttonTeam0, released), this, SLOT(MultiplayerTeamDeathmatch, onButtonTeam0));164 buttonTeam0->released.connect(this, &MultiplayerTeamDeathmatch::onButtonTeam0); 165 165 166 166 OrxGui::GLGuiPushButton * buttonTeam1 = new OrxGui::GLGuiPushButton("Red Team"); 167 167 box->pack( buttonTeam1 ); 168 buttonTeam1-> connect(SIGNAL(buttonTeam1, released), this, SLOT(MultiplayerTeamDeathmatch, onButtonTeam1));168 buttonTeam1->released.connect(this, &MultiplayerTeamDeathmatch::onButtonTeam1); 169 169 170 170 if ( bShowTeamChange ) … … 172 172 OrxGui::GLGuiPushButton * buttonCancel = new OrxGui::GLGuiPushButton("Cancel"); 173 173 box->pack( buttonCancel ); 174 buttonCancel-> connect(SIGNAL(buttonCancel, released), this, SLOT(MultiplayerTeamDeathmatch, onButtonCancel));174 buttonCancel->released.connect(this, &MultiplayerTeamDeathmatch::onButtonCancel); 175 175 } 176 176 177 177 OrxGui::GLGuiPushButton * buttonExit = new OrxGui::GLGuiPushButton("Exit"); 178 178 box->pack( buttonExit ); 179 buttonExit-> connect(SIGNAL(buttonExit, released), this, SLOT(MultiplayerTeamDeathmatch, onButtonExit));179 buttonExit->released.connect(this, &MultiplayerTeamDeathmatch::onButtonExit); 180 180 181 181 box->showAll(); -
branches/proxy/src/util/network_stats_widget.cc
r9347 r9369 17 17 18 18 #include "network_stats_widget.h" 19 20 #include "multi_type.h" 19 21 20 22 namespace OrxGui
Note: See TracChangeset
for help on using the changeset viewer.