Changeset 6394 for code/branches/presentation2/src/orxonox/pickup
- Timestamp:
- Dec 22, 2009, 2:07:44 PM (15 years ago)
- Location:
- code/branches/presentation2/src/orxonox/pickup
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation2/src/orxonox/pickup/DroppedItem.cc
r5929 r6394 83 83 if (this->item_) 84 84 { 85 COUT(3) << "Delete DroppedItem with '" << this->item_->getPickupIdentifier() << "'"<< std::endl;85 COUT(3) << "Delete DroppedItem with '" << this->item_->getPickupIdentifier() << '\'' << std::endl; 86 86 this->item_->destroy(); 87 87 } … … 112 112 drop->createTimer(); 113 113 114 COUT(3) << "Created DroppedItem for '" << item->getPickupIdentifier() << "' at (" << position.x << "," << position.y << ","<< position.z << ")." << std::endl;114 COUT(3) << "Created DroppedItem for '" << item->getPickupIdentifier() << "' at (" << position.x << ',' << position.y << ',' << position.z << ")." << std::endl; 115 115 116 116 return drop; -
code/branches/presentation2/src/orxonox/pickup/PickupInventory.cc
r6150 r6394 196 196 return ""; 197 197 198 std::stringname = "pickup_" + item->getGUIImage();198 const std::string& name = "pickup_" + item->getGUIImage(); 199 199 200 200 if(!CEGUI::ImagesetManager::getSingletonPtr()->isImagesetPresent(name)) … … 203 203 } 204 204 205 return "set:" + name + " image:full_image";205 return ("set:" + name + " image:full_image"); 206 206 } 207 207 … … 332 332 txt->setVisible(true); 333 333 txt->setProperty("Text", item->getGUIText()); 334 txt->setProperty("TextColours", "tl:" + textColour + " tr:" + textColour + " bl:" + textColour + " br:" + textColour + "");335 336 std::stringimage = PickupInventory::getImageForItem(item);334 txt->setProperty("TextColours", "tl:" + textColour + " tr:" + textColour + " bl:" + textColour + " br:" + textColour); 335 336 const std::string& image = PickupInventory::getImageForItem(item); 337 337 btn->setVisible(true); 338 338 btn->setProperty("NormalImage", image);
Note: See TracChangeset
for help on using the changeset viewer.