diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2000-08-06 15:11:00 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2000-08-06 15:11:00 (GMT) |
commit | c4ef46195917656ebebed63e3fab5c135d9905a2 (patch) | |
tree | aa501b0916e827fee6032245628509acc64efbba /src/htmlgen.cpp | |
parent | 5ad8b41eb93b9ca6a4c2ce90837103f8a4e750d8 (diff) | |
download | Doxygen-c4ef46195917656ebebed63e3fab5c135d9905a2.zip Doxygen-c4ef46195917656ebebed63e3fab5c135d9905a2.tar.gz Doxygen-c4ef46195917656ebebed63e3fab5c135d9905a2.tar.bz2 |
Release-1.2.0-20000806
Diffstat (limited to 'src/htmlgen.cpp')
-rw-r--r-- | src/htmlgen.cpp | 21 |
1 files changed, 17 insertions, 4 deletions
diff --git a/src/htmlgen.cpp b/src/htmlgen.cpp index 913ec2f..f9b5075 100644 --- a/src/htmlgen.cpp +++ b/src/htmlgen.cpp @@ -277,13 +277,13 @@ void HtmlGenerator::writeStyleInfo(int part) } } -void HtmlGenerator::startDoxyAnchor(const char *,const char *, +void HtmlGenerator::startDoxyAnchor(const char *, const char *anchor, const char *name) { t << "<a name=\"" << anchor << "\" doxytag=\"" << name << "\"></a>"; } -void HtmlGenerator::endDoxyAnchor() +void HtmlGenerator::endDoxyAnchor(const char *,const char *) { } @@ -789,12 +789,11 @@ void HtmlGenerator::endAlphabeticalIndexList() void HtmlGenerator::writeIndexHeading(const char *s) { - //t << "<dt><b><big>" << s << "</big></b><dd>" << endl; t << "<div class=\"ah\"><font color=\"white\"><b> " << s << " </b></font></div>"; } -void HtmlGenerator::writeImage(const char *name,const char *,const char *) +void HtmlGenerator::startImage(const char *name,const char *,bool hasCaption) { QCString baseName=name; int i; @@ -802,7 +801,21 @@ void HtmlGenerator::writeImage(const char *name,const char *,const char *) { baseName=baseName.right(baseName.length()-i-1); } + t << "<div align=\"center\">" << endl; t << "<img src=\"" << name << "\" alt=\"" << baseName << "\">" << endl; + if (hasCaption) + { + t << "<p><strong>"; + } +} + +void HtmlGenerator::endImage(bool hasCaption) +{ + if (hasCaption) + { + t << "</strong></p>" << endl; + } + t << "</div>" << endl; } void HtmlGenerator::startMemberDoc(const char *,const char *,const char *,const char *) |