diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2000-04-09 18:46:16 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2000-04-09 18:46:16 (GMT) |
commit | 0001e1e28b80b870b85b82b9f1cacfdb5cd834eb (patch) | |
tree | fd63e43b2dca7528a3a4ac6ae45bf46fb3fc0ea3 /src/htmlgen.cpp | |
parent | ba6357a253beeff03588578154bbc311bd986a47 (diff) | |
download | Doxygen-0001e1e28b80b870b85b82b9f1cacfdb5cd834eb.zip Doxygen-0001e1e28b80b870b85b82b9f1cacfdb5cd834eb.tar.gz Doxygen-0001e1e28b80b870b85b82b9f1cacfdb5cd834eb.tar.bz2 |
Release 1.1.2
Diffstat (limited to 'src/htmlgen.cpp')
-rw-r--r-- | src/htmlgen.cpp | 55 |
1 files changed, 33 insertions, 22 deletions
diff --git a/src/htmlgen.cpp b/src/htmlgen.cpp index 408c1d7..af3ecce 100644 --- a/src/htmlgen.cpp +++ b/src/htmlgen.cpp @@ -577,11 +577,6 @@ void HtmlGenerator::startMemberItem(int annoType) if (Config::htmlAlignMemberFlag) { t << "<tr>"; - //if (inGroup) - // t << "<td bgcolor=\"" << GROUP_COLOR << "\">"; - //else - //t << "<td>"; - //t << "<img src=\"null.gif\"></td><td><img src=\"null.gif\"></td>"; switch(annoType) { case 0: t << "<td nowrap align=right valign=top>"; break; @@ -600,26 +595,30 @@ void HtmlGenerator::endMemberItem(bool) //DBG_HTML(t << "<!-- endMemberItem(" << (int)inGroup << "," << fileName << "," << headerName << " -->" << endl) if (Config::htmlAlignMemberFlag) { - //if (inGroup) - //{ - // t << " </td><td"; - // if (headerName) - // { - // t << " align=right valign=top><a class=\"gl\" href=\"" - // << fileName << ".html\"> " << headerName << " </a>"; - // } - // else - // { - // t << ">"; - // } - // t << "</td><td bgcolor=\"" << GROUP_COLOR - // << "\"><img src=\"null.gif\">"; - //} t << "</td></tr>"; } t << endl; } +void HtmlGenerator::startParameter(bool first) +{ + if (first) + { + t << endl << "</b></td>" << endl; + t << "<td><b>" << endl; + } + else + { + t << "<tr><td></td><td><b>" << endl; + } +} + +void HtmlGenerator::endParameter(bool) +{ + t << "</b></td></tr>" << endl; +} + + void HtmlGenerator::insertMemberAlign() { DBG_HTML(t << "<!-- insertMemberAlign -->" << endl) @@ -762,12 +761,24 @@ void HtmlGenerator::writeImage(const char *name,const char *,const char *) void HtmlGenerator::startMemberDoc(const char *,const char *,const char *,const char *) { - t << endl << "<p><table width=100% cellpadding=2 cellspacing=0 border=0><tr><td class=\"md\"><b>" << endl; + t << "<p>" << endl; + t << "<table width=100% cellpadding=2 cellspacing=0 border=0>" << endl; + t << " <tr>" << endl; + t << " <td class=\"md\"><b>" << endl; + t << " <table cellspadding=0 cellspacing=0 border=0>" << endl; + t << " <tr>" << endl; + t << " <td><b>" << endl; } void HtmlGenerator::endMemberDoc() { - t << endl << "</b></td></tr></table>" << endl; + t << endl; + t << " </b></td>" << endl; + t << " </tr>" << endl; + t << " </table>" << endl; + t << " </td>" << endl; + t << " </tr>" << endl; + t << "</table>" << endl; } void HtmlGenerator::startCollaborationDiagram() |