diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2000-04-09 18:46:16 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2000-04-09 18:46:16 (GMT) |
commit | 3120c6832bd3b2df0ecac2ccb08ddcdacd5575ed (patch) | |
tree | fd63e43b2dca7528a3a4ac6ae45bf46fb3fc0ea3 /src/htmlgen.cpp | |
parent | e5d8b060f74171bb27a1783d313429b0198ef42b (diff) | |
download | Doxygen-3120c6832bd3b2df0ecac2ccb08ddcdacd5575ed.zip Doxygen-3120c6832bd3b2df0ecac2ccb08ddcdacd5575ed.tar.gz Doxygen-3120c6832bd3b2df0ecac2ccb08ddcdacd5575ed.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() |