diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2016-08-31 09:47:12 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2016-08-31 09:47:12 (GMT) |
commit | 9c915b83bc06babe6f0127f6446143ea50d00b62 (patch) | |
tree | b5620b380c41e0155e3326b8242712be1b3a5b57 /src/mangen.cpp | |
parent | 59a8f09137ebfc25c2f238a417088b50b8fbb631 (diff) | |
download | Doxygen-9c915b83bc06babe6f0127f6446143ea50d00b62.zip Doxygen-9c915b83bc06babe6f0127f6446143ea50d00b62.tar.gz Doxygen-9c915b83bc06babe6f0127f6446143ea50d00b62.tar.bz2 |
Unified display of enum values across output formats and languages
Diffstat (limited to 'src/mangen.cpp')
-rw-r--r-- | src/mangen.cpp | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/src/mangen.cpp b/src/mangen.cpp index 34ce0c1..963f66c 100644 --- a/src/mangen.cpp +++ b/src/mangen.cpp @@ -762,19 +762,26 @@ void ManGenerator::endInlineHeader() firstCol = FALSE; } -void ManGenerator::startMemberDocSimple() +void ManGenerator::startMemberDocSimple(bool isEnum) { if (!firstCol) { t << endl << ".PP" << endl; } t << "\\fB"; - docify(theTranslator->trCompoundMembers()); + if (isEnum) + { + docify(theTranslator->trEnumerationValues()); + } + else + { + docify(theTranslator->trCompoundMembers()); + } t << ":\\fP" << endl; t << ".RS 4" << endl; } -void ManGenerator::endMemberDocSimple() +void ManGenerator::endMemberDocSimple(bool) { if (!firstCol) t << endl; t << ".RE" << endl; |