diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2004-12-21 21:03:59 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2004-12-21 21:03:59 (GMT) |
commit | 04a4eddbeaa2fef70fe87a790efabe074062fadf (patch) | |
tree | 4cba2cc60a5a2a7a7965944fa0bd64213bdfa9f0 /src/definition.cpp | |
parent | d048df9811a8686d93dc28f275a1c5c575833669 (diff) | |
download | Doxygen-04a4eddbeaa2fef70fe87a790efabe074062fadf.zip Doxygen-04a4eddbeaa2fef70fe87a790efabe074062fadf.tar.gz Doxygen-04a4eddbeaa2fef70fe87a790efabe074062fadf.tar.bz2 |
Release-1.3.9.1-20041221
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 |