summaryrefslogtreecommitdiffstats
path: root/src/memberlist.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2000-04-09 18:46:16 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2000-04-09 18:46:16 (GMT)
commit3120c6832bd3b2df0ecac2ccb08ddcdacd5575ed (patch)
treefd63e43b2dca7528a3a4ac6ae45bf46fb3fc0ea3 /src/memberlist.cpp
parente5d8b060f74171bb27a1783d313429b0198ef42b (diff)
downloadDoxygen-3120c6832bd3b2df0ecac2ccb08ddcdacd5575ed.zip
Doxygen-3120c6832bd3b2df0ecac2ccb08ddcdacd5575ed.tar.gz
Doxygen-3120c6832bd3b2df0ecac2ccb08ddcdacd5575ed.tar.bz2
Release 1.1.2
Diffstat (limited to 'src/memberlist.cpp')
-rw-r--r--src/memberlist.cpp21
1 files changed, 16 insertions, 5 deletions
diff --git a/src/memberlist.cpp b/src/memberlist.cpp
index f997529..ec884b8 100644
--- a/src/memberlist.cpp
+++ b/src/memberlist.cpp
@@ -94,8 +94,8 @@ void MemberList::countDecMembers(bool inGroup)
MemberGroup *mg;
for (;(mg=mgli.current());++mgli)
{
- printf("memberGroupList adding %d inGroup=%d\n",
- mg->countDecMembers(),m_count);
+ //printf("memberGroupList adding %d inGroup=%d\n",
+ // mg->countDecMembers(),m_count);
m_count+=mg->countDecMembers();
}
}
@@ -355,6 +355,13 @@ void MemberList::writePlainDeclarations(OutputList &ol,
MemberDef *fmd=fmdl->first();
while (fmd)
{
+ /* in html we start each enum item on a new line */
+ typeDecl.pushGeneratorState();
+ typeDecl.disableAllBut(OutputGenerator::Html);
+ typeDecl.lineBreak();
+ typeDecl.writeString("&nbsp;&nbsp;");
+ typeDecl.popGeneratorState();
+
if (fmd->hasDocumentation()) // enum value has docs
{
if (!Config::genTagFile.isEmpty())
@@ -379,6 +386,10 @@ void MemberList::writePlainDeclarations(OutputList &ol,
typeDecl.enable(OutputGenerator::Man);
}
}
+ typeDecl.pushGeneratorState();
+ typeDecl.disableAllBut(OutputGenerator::Html);
+ typeDecl.lineBreak();
+ typeDecl.popGeneratorState();
typeDecl.docify(" }");
md->setEnumDecl(typeDecl);
int enumVars=0;
@@ -571,7 +582,7 @@ void MemberList::writeDeclarations(OutputList &ol,
if (memberGroupList)
{
- printf("MemberList::writeDeclarations()\n");
+ //printf("MemberList::writeDeclarations()\n");
MemberGroupListIterator mgli(*memberGroupList);
MemberGroup *mg;
while ((mg=mgli.current()))
@@ -581,7 +592,7 @@ void MemberList::writeDeclarations(OutputList &ol,
ol.endMemberGroupHeader();
if (!mg->documentation().isEmpty())
{
- printf("Member group has docs!\n");
+ //printf("Member group has docs!\n");
ol.startMemberGroupDocs();
parseDoc(ol,0,0,mg->documentation());
ol.endMemberGroupDocs();
@@ -608,7 +619,7 @@ void MemberList::writeDocumentation(OutputList &ol,
void MemberList::addMemberGroup(MemberGroup *mg)
{
- printf("MemberList::addMemberGroup(%p)\n",mg);
+ //printf("MemberList::addMemberGroup(%p)\n",mg);
if (memberGroupList==0)
{
memberGroupList=new MemberGroupList;