diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2010-12-24 16:12:24 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2010-12-24 16:12:24 (GMT) |
commit | 48f4fd9c2d9ba8b374e3c052f888df9bc220df92 (patch) | |
tree | 2e3f5d0757e53645fc902d0a87aa44dfd31d2d4d /src/memberlist.cpp | |
parent | dd7602fdd31d8f3e0f88be553da084a1e3fdec45 (diff) | |
download | Doxygen-48f4fd9c2d9ba8b374e3c052f888df9bc220df92.zip Doxygen-48f4fd9c2d9ba8b374e3c052f888df9bc220df92.tar.gz Doxygen-48f4fd9c2d9ba8b374e3c052f888df9bc220df92.tar.bz2 |
Release-1.7.2-20101224
Diffstat (limited to 'src/memberlist.cpp')
-rw-r--r-- | src/memberlist.cpp | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/src/memberlist.cpp b/src/memberlist.cpp index ca034d7..8aeb42a 100644 --- a/src/memberlist.cpp +++ b/src/memberlist.cpp @@ -515,14 +515,19 @@ void MemberList::writeDocumentation(OutputList &ol, void MemberList::writeDocumentationPage(OutputList &ol, const char *scopeName, Definition *container) { + static bool generateTreeView = Config_getBool("GENERATE_TREEVIEW"); MemberListIterator mli(*this); MemberDef *md; for ( ; (md=mli.current()) ; ++mli) { QCString diskName=md->getOutputFileBase(); QCString title=md->qualifiedName(); - startFile(ol,diskName,md->name(),title); - container->writeNavigationPath(ol); + startFile(ol,diskName,md->name(),title,HLI_None,!generateTreeView, + container->getOutputFileBase()); + if (!generateTreeView) + { + container->writeNavigationPath(ol); + } ol.startContents(); ol.writeString("<table cellspacing=\"0\" cellpadding=\"0\" border=\"0\">\n" @@ -539,8 +544,15 @@ void MemberList::writeDocumentationPage(OutputList &ol, ol.writeString(" </td>\n"); ol.writeString(" </tr>\n"); ol.writeString("</table>\n"); - - endFile(ol); + + ol.endContents(); + + if (generateTreeView) + { + container->writeNavigationPath(ol); + } + + endFile(ol,TRUE); } if (memberGroupList) { |