summaryrefslogtreecommitdiffstats
path: root/src/htmlgen.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2016-07-30 13:33:28 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2016-07-30 13:33:28 (GMT)
commit5af8d5e87657a2d3986783493c618df335b3771c (patch)
tree6024dd748c507b0280ad3ce01f53667d0a2fa08f /src/htmlgen.cpp
parent98f0816fc000c39f770523b29c68eb68d6ef06d5 (diff)
downloadDoxygen-5af8d5e87657a2d3986783493c618df335b3771c.zip
Doxygen-5af8d5e87657a2d3986783493c618df335b3771c.tar.gz
Doxygen-5af8d5e87657a2d3986783493c618df335b3771c.tar.bz2
Style fixes and added numbering to overloaded members
Diffstat (limited to 'src/htmlgen.cpp')
-rw-r--r--src/htmlgen.cpp14
1 files changed, 10 insertions, 4 deletions
diff --git a/src/htmlgen.cpp b/src/htmlgen.cpp
index fff9693..7dd16a5 100644
--- a/src/htmlgen.cpp
+++ b/src/htmlgen.cpp
@@ -1552,12 +1552,18 @@ void HtmlGenerator::endMemberDocList()
}
void HtmlGenerator::startMemberDoc( const char *clName, const char *memName,
- const char *anchor, const char *title, bool showInline)
+ const char *anchor, const char *title,
+ int memCount, int memTotal, bool showInline)
{
DBG_HTML(t << "<!-- startMemberDoc -->" << endl;)
- t << "\n<h2 class=\"memtitle\">" << title << " "
- << "<a href=\"#" << anchor << "\" class=\"permantlink\"" "title=\"Permalink to this headline\">&#9854;</a>"
- << "</h2>"
+ t << "\n<h2 class=\"memtitle\">"
+ << "<span class=\"permalink\"><a href=\"#" << anchor << "\">&sect;&nbsp;</a></span>"
+ << title;
+ if (memTotal>1)
+ {
+ t << " <span class=\"overload\">[" << memCount << "/" << memTotal <<"]</span>";
+ }
+ t << "</h2>"
<< endl;
t << "\n<div class=\"memitem\">" << endl;
t << "<div class=\"memproto\">" << endl;