Please tell me friends why the hell DisplayString is "?" in error message and why this isn't obviously called as void setParamValue(unsigned int, const ? &)
Code: Select all
mDetailsPanel->setParamValue(9, "Bilinear");
Code: Select all
----- error ----
Invalid arguments 'Candidates are:
void setParamValue(const ? &, const ? &)
void setParamValue(unsigned int, const ? &)
---- reality ----
-- /usr/incude/OGRE/SdkTrays.h
void setParamValue(const Ogre::DisplayString& paramName, const Ogre::DisplayString& paramValue)
void setParamValue(unsigned int index, const Ogre::DisplayString& paramValue)
---- what's DisplayString ----
#if OGRE_UNICODE_SUPPORT // in my case this is true
typedef UTFString DisplayString;
# define OGRE_DEREF_DISPLAYSTRING_ITERATOR(it) it.getCharacter()
#else // this isn't my case
typedef String DisplayString;
# define OGRE_DEREF_DISPLAYSTRING_ITERATOR(it) *it
#endif
Code: Select all
/usr/include/OGRE
/usr/include/OGRE/Overlay
/usr/include/OIS
Code: Select all
OgreOverlay
OgreMain
OIS
boost_system