diff options
Diffstat (limited to 'src/definition.cpp')
-rw-r--r-- | src/definition.cpp | 25 |
1 files changed, 20 insertions, 5 deletions
diff --git a/src/definition.cpp b/src/definition.cpp index bdc6af0..6b42428 100644 --- a/src/definition.cpp +++ b/src/definition.cpp @@ -563,12 +563,18 @@ void Definition::writeSourceRefList(OutputList &ol,const char *scopeName, void Definition::writeSourceReffedBy(OutputList &ol,const char *scopeName) { - writeSourceRefList(ol,scopeName,theTranslator->trReferencedBy(),m_sourceRefByDict,FALSE); + if (Config_getBool("REFERENCED_BY_RELATION")) + { + writeSourceRefList(ol,scopeName,theTranslator->trReferencedBy(),m_sourceRefByDict,FALSE); + } } void Definition::writeSourceRefs(OutputList &ol,const char *scopeName) { - writeSourceRefList(ol,scopeName,theTranslator->trReferences(),m_sourceRefsDict,TRUE); + if (Config_getBool("REFERENCES_RELATION")) + { + writeSourceRefList(ol,scopeName,theTranslator->trReferences(),m_sourceRefsDict,TRUE); + } } bool Definition::hasDocumentation() const @@ -758,7 +764,6 @@ void Definition::writePathFragment(OutputList &ol) const if (m_outerScope && m_outerScope!=Doxygen::globalScope) { m_outerScope->writePathFragment(ol); - ol.writeString(" "); if (m_outerScope->definitionType()==Definition::TypeClass || m_outerScope->definitionType()==Definition::TypeNamespace) { @@ -773,11 +778,21 @@ void Definition::writePathFragment(OutputList &ol) const } else { + ol.writeString(" "); ol.writeString("/"); + ol.writeString(" "); } - ol.writeString(" "); } - ol.writeObjectLink(getReference(),getOutputFileBase(),0,m_localName); + if (isLinkable()) + { + ol.writeObjectLink(getReference(),getOutputFileBase(),0,m_localName); + } + else + { + ol.startBold(); + ol.docify(m_localName); + ol.endBold(); + } } void Definition::writeNavigationPath(OutputList &ol) const |