- Timestamp:
- Dec 22, 2009, 2:07:44 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.