diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2011-03-28 14:10:48 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2011-03-28 14:10:48 (GMT) |
commit | 145b564516f82be1bb4cc5a82277e7c9d10ca5ca (patch) | |
tree | 586c86db1de8495083071cb415bddb31c7e9cacb /src/diagram.cpp | |
parent | 62d4d65ad07413ca2f6d04939e2273dc3e0db957 (diff) | |
download | Doxygen-145b564516f82be1bb4cc5a82277e7c9d10ca5ca.zip Doxygen-145b564516f82be1bb4cc5a82277e7c9d10ca5ca.tar.gz Doxygen-145b564516f82be1bb4cc5a82277e7c9d10ca5ca.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; |