summaryrefslogtreecommitdiffstats
path: root/src/htmlgen.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2004-02-12 20:39:00 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2004-02-12 20:39:00 (GMT)
commit2bf4cfeda1be93954baf688017e147b565c06d9b (patch)
tree498c4173ac1530bb0ab661a222ddc2906f564944 /src/htmlgen.cpp
parentc7d553e78d5c3efdecb3f44a63f4f68e83eae61a (diff)
downloadDoxygen-2bf4cfeda1be93954baf688017e147b565c06d9b.zip
Doxygen-2bf4cfeda1be93954baf688017e147b565c06d9b.tar.gz
Doxygen-2bf4cfeda1be93954baf688017e147b565c06d9b.tar.bz2
Release-1.3.6
Diffstat (limited to 'src/htmlgen.cpp')
-rw-r--r--src/htmlgen.cpp40
1 files changed, 28 insertions, 12 deletions
diff --git a/src/htmlgen.cpp b/src/htmlgen.cpp
index 26ace6e..a5113b6 100644
--- a/src/htmlgen.cpp
+++ b/src/htmlgen.cpp
@@ -57,15 +57,22 @@ static const char *defaultStyleSheet =
" margin: 2px;\n"
" padding: 2px;\n"
"}\n"
-"A.qindex { text-decoration: none; font-weight: bold; color: #1A419D}\n"
-"A.qindex:visited { text-decoration: none; font-weight: bold; color: #1A419D}\n"
+"A.qindex {\n"
+" text-decoration: none;\n"
+" font-weight: bold;\n"
+" color: #1A419D;\n"
+" padding: 2px;\n"
+"}\n"
+"A.qindex:visited {\n"
+" text-decoration: none;\n"
+" font-weight: bold;\n"
+" color: #1A419D\n"
+" padding: 2px;\n"
+"}\n"
"A.qindex:hover {\n"
" text-decoration: none;\n"
" background-color: #ddddff;\n"
-" padding-top: 2px;\n"
-" padding-right: 2px;\n"
-" padding-bottom: 2px;\n"
-" padding-left: 2px;\n"
+" padding: 2px;\n"
"}\n"
"A.qindexHL {\n"
" text-decoration: none;\n"
@@ -987,11 +994,13 @@ void HtmlGenerator::endMemberDocPrefixItem()
t << " </tr>" << endl;
}
-void HtmlGenerator::startMemberDocName()
+void HtmlGenerator::startMemberDocName(bool align)
{
DBG_HTML(t << "<!-- startMemberDocName -->" << endl;)
t << " <tr>" << endl;
- t << " <td class=\"md\" nowrap valign=\"top\"> ";
+ t << " <td class=\"md\" nowrap valign=\"top\"";
+ if (align) t << " align=\"right\"";
+ t << "> ";
}
void HtmlGenerator::endMemberDocName()
@@ -1000,13 +1009,18 @@ void HtmlGenerator::endMemberDocName()
t << "</td>" << endl;
}
-void HtmlGenerator::startParameterList()
+void HtmlGenerator::startParameterList(bool openBracket)
{
DBG_HTML(t << "<!-- startParameterList -->" << endl;)
- t << " <td class=\"md\" valign=\"top\">(&nbsp;</td>" << endl;
+ t << " <td class=\"md\" valign=\"top\">";
+ if (openBracket)
+ {
+ t << "(&nbsp;";
+ }
+ t << "</td>" << endl;
}
-void HtmlGenerator::startParameterType(bool first)
+void HtmlGenerator::startParameterType(bool first,const char *key)
{
if (first)
{
@@ -1017,7 +1031,9 @@ void HtmlGenerator::startParameterType(bool first)
{
DBG_HTML(t << "<!-- startParameterType -->" << endl;)
t << " <tr>" << endl;
- t << " <td></td>" << endl;
+ t << " <td class=\"md\" nowrap align=\"right\">";
+ if (key) t << key;
+ t << "</td>" << endl;
t << " <td></td>" << endl;
t << " <td class=\"md\" nowrap>";
}