summaryrefslogtreecommitdiffstats
path: root/src/config.l
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2010-03-24 20:39:59 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2010-03-24 20:39:59 (GMT)
commiteb1cb68e11a3b24222a49ed254f8f7aea2f73bae (patch)
tree1e47a4443afb2ec61f032669050ee1b8834baa8d /src/config.l
parentcd19d7a220915d1f637e0a0a5b2d05d5750f5db0 (diff)
downloadDoxygen-eb1cb68e11a3b24222a49ed254f8f7aea2f73bae.zip
Doxygen-eb1cb68e11a3b24222a49ed254f8f7aea2f73bae.tar.gz
Doxygen-eb1cb68e11a3b24222a49ed254f8f7aea2f73bae.tar.bz2
Release-1.6.3-20100324
Diffstat (limited to 'src/config.l')
-rw-r--r--src/config.l29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/config.l b/src/config.l
index b8031a0..da34aeb 100644
--- a/src/config.l
+++ b/src/config.l
@@ -1387,6 +1387,35 @@ void Config::check()
depth=1000;
}
+ int &hue = Config_getInt("HTML_COLORSTYLE_HUE");
+ if (hue<0)
+ {
+ hue=0;
+ }
+ else if (hue>=360)
+ {
+ hue=hue%360;
+ }
+
+ int &sat = Config_getInt("HTML_COLORSTYLE_SAT");
+ if (sat<0)
+ {
+ sat=0;
+ }
+ else if (sat>255)
+ {
+ sat=255;
+ }
+ int &gamma = Config_getInt("HTML_COLORSTYLE_GAMMA");
+ if (gamma<40)
+ {
+ gamma=40;
+ }
+ else if (gamma>240)
+ {
+ gamma=240;
+ }
+
// add default words if needed
QStrList &annotationFromBrief = Config_getList("ABBREVIATE_BRIEF");