diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2011-03-28 14:10:48 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2011-03-28 14:10:48 (GMT) |
commit | da2223bed0d63aef0bb6b9e583b90f7319363586 (patch) | |
tree | 586c86db1de8495083071cb415bddb31c7e9cacb /src/diagram.cpp | |
parent | ffce2dce60901da5cf765d6452b8e8d505b80754 (diff) | |
download | Doxygen-da2223bed0d63aef0bb6b9e583b90f7319363586.zip Doxygen-da2223bed0d63aef0bb6b9e583b90f7319363586.tar.gz Doxygen-da2223bed0d63aef0bb6b9e583b90f7319363586.tar.bz2 |
Release-1.7.4
Diffstat (limited to 'src/diagram.cpp')
-rw-r--r-- | src/diagram.cpp | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/diagram.cpp b/src/diagram.cpp index 9e6a933..487e44a 100644 --- a/src/diagram.cpp +++ b/src/diagram.cpp @@ -164,7 +164,17 @@ static void writeMapArea(FTextStream &t,ClassDef *cd,QCString relPath, } t << "href=\""; t << externalRef(relPath,ref,TRUE); - t << cd->getOutputFileBase() << Doxygen::htmlFileExtension << "\" "; + t << cd->getOutputFileBase() << Doxygen::htmlFileExtension; + if (!cd->anchor().isEmpty()) + { + t << "#" << cd->anchor(); + } + t << "\" "; + QCString tooltip = cd->briefDescriptionAsTooltip(); + if (!tooltip.isEmpty()) + { + t << "title=\"" << tooltip << "\" "; + } t << "alt=\"" << convertToXML(cd->displayName()); t << "\" shape=\"rect\" coords=\"" << x << "," << y << ","; t << (x+w) << "," << (y+h) << "\"/>" << endl; |