diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2000-12-03 19:13:07 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2000-12-03 19:13:07 (GMT) |
commit | 5167cf2076e30ed3f6ddd84b76543a0dff207496 (patch) | |
tree | 485fb83c5a301dd4b0edb3c534b1f31eeb08ab1f /addon | |
parent | a1995ea7b217edfe0a6ddf3d60ea7bde1e23c1d7 (diff) | |
download | Doxygen-5167cf2076e30ed3f6ddd84b76543a0dff207496.zip Doxygen-5167cf2076e30ed3f6ddd84b76543a0dff207496.tar.gz Doxygen-5167cf2076e30ed3f6ddd84b76543a0dff207496.tar.bz2 |
Release-1.2.3-20001203
Diffstat (limited to 'addon')
-rw-r--r-- | addon/configgen/config_templ.l | 17 | ||||
-rw-r--r-- | addon/configgen/configgen.cpp | 10 |
2 files changed, 27 insertions, 0 deletions
diff --git a/addon/configgen/config_templ.l b/addon/configgen/config_templ.l index 81d4acf..6cccca9 100644 --- a/addon/configgen/config_templ.l +++ b/addon/configgen/config_templ.l @@ -453,6 +453,23 @@ void configStrToVal() Config::enumValuesPerLine=cols; } + if (treeViewWidthString.isEmpty()) + { + Config::treeViewWidth=250; + } + else + { + bool ok; + int width = treeViewWidthString.toInt(&ok); + if (!ok || width<0 || width>1500) + { + warn_cont("Warning: argument of TREEVIEW_WIDTH is not a valid number in the range [0..1500]!\n" + "Using the default of 250!\n"); + width = 250; + } + Config::treeViewWidth=width; + } + if (maxDotGraphWidthString.isEmpty()) { Config::maxDotGraphWidth=1024; diff --git a/addon/configgen/configgen.cpp b/addon/configgen/configgen.cpp index c05cca7..c7b4ab8 100644 --- a/addon/configgen/configgen.cpp +++ b/addon/configgen/configgen.cpp @@ -1313,6 +1313,16 @@ void init() "or Internet explorer 4.0+). " ); addDependency("ftvHelpFlag","generateHtml"); + ConfigInt::add( "treeViewWidth", + "TREEVIEW_WIDTH", + "250", + "What is the width of the treeview panel?", + "If the treeview is enabled (see GENERATE_TREEVIEW) then this tag can be \n" + "used to set the initial width (in pixels) of the frame in which the tree \n" + "is shown. \n", + 0,1500 + ); + addDependency("treeViewWidth","generateHtml"); // TODO: integrate this option // ConfigBool::add( "htmlHelpGroupsOnly", |