summaryrefslogtreecommitdiffstats
path: root/src/config.l
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2010-03-24 20:39:59 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2010-03-24 20:39:59 (GMT)
commit707831ea739af5ae137c9cc1d04e3ffbbde11a6a (patch)
tree1e47a4443afb2ec61f032669050ee1b8834baa8d /src/config.l
parent23b0a90048405fda4e4304052c3c1277c33a6a2b (diff)
downloadDoxygen-707831ea739af5ae137c9cc1d04e3ffbbde11a6a.zip
Doxygen-707831ea739af5ae137c9cc1d04e3ffbbde11a6a.tar.gz
Doxygen-707831ea739af5ae137c9cc1d04e3ffbbde11a6a.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");