diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2010-02-21 12:36:45 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2010-02-21 12:36:45 (GMT) |
commit | 23b0a90048405fda4e4304052c3c1277c33a6a2b (patch) | |
tree | a854db582634296d7f019de53e424561da555e5b /src/dot.cpp | |
parent | 20e951b95073ef5c1b76e9336c6281928e5c5a4d (diff) | |
download | Doxygen-23b0a90048405fda4e4304052c3c1277c33a6a2b.zip Doxygen-23b0a90048405fda4e4304052c3c1277c33a6a2b.tar.gz Doxygen-23b0a90048405fda4e4304052c3c1277c33a6a2b.tar.bz2 |
Release-1.6.3
Diffstat (limited to 'src/dot.cpp')
-rw-r--r-- | src/dot.cpp | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/src/dot.cpp b/src/dot.cpp index 8c8cd90..a951cf6 100644 --- a/src/dot.cpp +++ b/src/dot.cpp @@ -35,7 +35,7 @@ #include "pagedef.h" #include "portable.h" #include "dirdef.h" - +#include "vhdldocgen.h" #include <qdir.h> #include <qfile.h> #include <qtextstream.h> @@ -718,9 +718,18 @@ void DotNode::writeBox(QTextStream &t, } else { - if (!Config_getBool("DOT_TRANSPARENT")) + static bool dotTransparent = Config_getBool("DOT_TRANSPARENT"); + static bool vhdlOpt = Config_getBool("OPTIMIZE_OUTPUT_VHDL"); + if (!dotTransparent) { - t << ",color=\"" << labCol << "\", fillcolor=\"white\", style=\"filled\""; + ClassDef* ccd=this->m_classDef; + + t << ",color=\"" << labCol << "\", fillcolor=\""; + if (ccd && vhdlOpt && (VhdlDocGen::VhdlClasses)ccd->protection()==VhdlDocGen::ARCHITECTURECLASS) + t << "khaki"; + else + t << "white"; + t << "\", style=\"filled\""; } else { |