MCPcopy Create free account
hub / github.com/ddnet/ddnet / SelectImage

Method SelectImage

src/game/editor/mapitems/map.cpp:891–901  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

889}
890
891void CEditorMap::SelectImage(const std::shared_ptr<CEditorImage> &pImage)
892{
893 for(size_t i = 0; i < m_vpImages.size(); ++i)
894 {
895 if(m_vpImages[i] == pImage)
896 {
897 m_SelectedImage = i;
898 break;
899 }
900 }
901}
902
903void CEditorMap::SelectNextImage()
904{

Callers 2

ReplaceImageMethod · 0.80
AddImageMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected