summaryrefslogtreecommitdiffstats
path: root/src/htmlhelp.cpp
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2008-03-07 19:55:05 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2008-03-07 19:55:05 (GMT)
commitb43cd6311a712c01c2c8297fa00809730e504d70 (patch)
tree74a4cb6c6c83c3b41a92ba1da8df0235abd2dafe /src/htmlhelp.cpp
parent95fd5f1c991ee66f7122801276a133ebfce86aaa (diff)
downloadDoxygen-b43cd6311a712c01c2c8297fa00809730e504d70.zip
Doxygen-b43cd6311a712c01c2c8297fa00809730e504d70.tar.gz
Doxygen-b43cd6311a712c01c2c8297fa00809730e504d70.tar.bz2
Release-1.5.5-20080307
Diffstat (limited to 'src/htmlhelp.cpp')
-rw-r--r--src/htmlhelp.cpp11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/htmlhelp.cpp b/src/htmlhelp.cpp
index d77fe1c..542dba1 100644
--- a/src/htmlhelp.cpp
+++ b/src/htmlhelp.cpp
@@ -415,7 +415,7 @@ void HtmlHelp::createProjectFile()
QCString indexName="index"+Doxygen::htmlFileExtension;
- if (Config_getBool("GENERATE_TREEVIEW")) indexName="main"+Doxygen::htmlFileExtension;
+ if (usingTreeIndex()) indexName="main"+Doxygen::htmlFileExtension;
t << "[OPTIONS]\n";
if (!Config_getString("CHM_FILE").isEmpty())
{
@@ -433,9 +433,16 @@ void HtmlHelp::createProjectFile()
t << "Title=" << Config_getString("PROJECT_NAME") << endl << endl;
t << "[WINDOWS]" << endl;
+
+ // NOTE: the 0x10387e number is a set of bits specifying the buttons
+ // which should appear in the CHM viewer; that specific value
+ // means "show all buttons including the font-size one";
+ // the font-size one is not normally settable by the HTML Help Workshop
+ // utility but the way to set it is described here:
+ // http://support.microsoft.com/?scid=kb%3Ben-us%3B240062&x=17&y=18
t << "main=\"" << Config_getString("PROJECT_NAME") << "\",\"index.hhc\","
"\"index.hhk\",\"" << indexName << "\",\"" <<
- indexName << "\",,,,,0x23520,,0x387e,,,,,,,,0" << endl << endl;
+ indexName << "\",,,,,0x23520,,0x10387e,,,,,,,,0" << endl << endl;
t << "[FILES]" << endl;
char *s = indexFiles.first();