summaryrefslogtreecommitdiffstats
path: root/src/dot.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2004-12-21 21:03:59 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2004-12-21 21:03:59 (GMT)
commitf1dfb258b6a6e29e267bcf2e5dcf77168af52cf3 (patch)
tree4cba2cc60a5a2a7a7965944fa0bd64213bdfa9f0 /src/dot.cpp
parenta17029cb0765fc41b79b3c94a28d734071f13176 (diff)
downloadDoxygen-f1dfb258b6a6e29e267bcf2e5dcf77168af52cf3.zip
Doxygen-f1dfb258b6a6e29e267bcf2e5dcf77168af52cf3.tar.gz
Doxygen-f1dfb258b6a6e29e267bcf2e5dcf77168af52cf3.tar.bz2
Release-1.3.9.1-20041221
Diffstat (limited to 'src/dot.cpp')
-rw-r--r--src/dot.cpp32
1 files changed, 29 insertions, 3 deletions
diff --git a/src/dot.cpp b/src/dot.cpp
index bb2eb92..ae34fb1 100644
--- a/src/dot.cpp
+++ b/src/dot.cpp
@@ -543,6 +543,20 @@ static void writeBoxMemberList(QTextStream &t,char prot,MemberList &ml,ClassDef
t << "\\l";
}
}
+ // write member groups within the memberlist
+ MemberGroupList *mgl = ml.getMemberGroupList();
+ if (mgl)
+ {
+ MemberGroupListIterator mgli(*mgl);
+ MemberGroup *mg;
+ for (mgli.toFirst();(mg=mgli.current());++mgli)
+ {
+ if (mg->members())
+ {
+ writeBoxMemberList(t,prot,*mg->members(),scope);
+ }
+ }
+ }
}
void DotNode::writeBox(QTextStream &t,
@@ -582,6 +596,18 @@ void DotNode::writeBox(QTextStream &t,
writeBoxMemberList(t,'-',m_classDef->priMethods,m_classDef);
writeBoxMemberList(t,'-',m_classDef->priStaticMethods,m_classDef);
writeBoxMemberList(t,'-',m_classDef->priSlots,m_classDef);
+ if (m_classDef->memberGroupSDict)
+ {
+ MemberGroupSDict::Iterator mgdi(*m_classDef->memberGroupSDict);
+ MemberGroup *mg;
+ for (mgdi.toFirst();(mg=mgdi.current());++mgdi)
+ {
+ if (mg->members())
+ {
+ writeBoxMemberList(t,'*',*mg->members(),m_classDef);
+ }
+ }
+ }
t << "}";
}
else // old look
@@ -2851,7 +2877,7 @@ void DotGroupCollaboration::addCollaborationMember(
QCString DotGroupCollaboration::writeGraph( QTextStream &t, GraphOutputFormat format,
- const char *path, const char *,
+ const char *path, const char *relPath,
bool writeImageMap)
{
QDir d(path);
@@ -2922,11 +2948,11 @@ QCString DotGroupCollaboration::writeGraph( QTextStream &t, GraphOutputFormat fo
if (writeImageMap)
{
QCString mapLabel = convertNameToFile(baseName);
- t << "<center><table><tr><td><img src=\"" << imgName
+ t << "<center><table><tr><td><img src=\"" << relPath << imgName
<< "\" border=\"0\" alt=\"\" usemap=\"#"
<< mapLabel << "_map\">" << endl;
t << "<map name=\"" << mapLabel << "_map\">" << endl;
- convertMapFile(t,mapName,"");
+ convertMapFile(t,mapName,relPath);
t << "</map></td></tr></table></center>" << endl;
thisDir.remove(mapName);
}