summaryrefslogtreecommitdiffstats
path: root/src/definition.cpp
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2004-12-21 21:03:59 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2004-12-21 21:03:59 (GMT)
commit04a4eddbeaa2fef70fe87a790efabe074062fadf (patch)
tree4cba2cc60a5a2a7a7965944fa0bd64213bdfa9f0 /src/definition.cpp
parentd048df9811a8686d93dc28f275a1c5c575833669 (diff)
downloadDoxygen-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.cpp25
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("&nbsp;");
if (m_outerScope->definitionType()==Definition::TypeClass ||
m_outerScope->definitionType()==Definition::TypeNamespace)
{
@@ -773,11 +778,21 @@ void Definition::writePathFragment(OutputList &ol) const
}
else
{
+ ol.writeString("&nbsp;");
ol.writeString("/");
+ ol.writeString("&nbsp;");
}
- ol.writeString("&nbsp;");
}
- 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