diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2011-06-06 19:49:53 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2011-06-06 19:49:53 (GMT) |
commit | de297f6d77f3861b649f3fcba443483d6be6afe9 (patch) | |
tree | b158d4e26359c261b119f485d1d4c69a6034663c /src/htmlgen.cpp | |
parent | c604d141eb8b0708022a3e4b48b0b1871b692aa6 (diff) | |
download | Doxygen-de297f6d77f3861b649f3fcba443483d6be6afe9.zip Doxygen-de297f6d77f3861b649f3fcba443483d6be6afe9.tar.gz Doxygen-de297f6d77f3861b649f3fcba443483d6be6afe9.tar.bz2 |
Release-1.7.4-20110606
Diffstat (limited to 'src/htmlgen.cpp')
-rw-r--r-- | src/htmlgen.cpp | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/src/htmlgen.cpp b/src/htmlgen.cpp index f4e9c54..d62fffa 100644 --- a/src/htmlgen.cpp +++ b/src/htmlgen.cpp @@ -60,13 +60,19 @@ static const char search_styleSheet[] = static const char search_jquery_script1[]= #include "jquery_js.h" ; + static const char search_jquery_script2[]= #include "sizzle_js.h" ; + static const char search_jquery_script3[]= #include "jquery_ui_js.h" ; +static const char svgpan_script[]= +#include "svgpan_js.h" +; + static QCString g_header; static QCString g_footer; @@ -1093,6 +1099,16 @@ void HtmlGenerator::init() t << search_jquery_script1 << search_jquery_script2 << search_jquery_script3; } } + + if (Config_getBool("INTERACTIVE_SVG")) + { + QFile f(dname+"/svgpan.js"); + if (f.open(IO_WriteOnly)) + { + FTextStream t(&f); + t << svgpan_script; + } + } } /// Additional initialization after indices have been created @@ -2763,13 +2779,15 @@ static void renderQuickLinksAsTabs(FTextStream &t,const QCString &relPath, { if (!serverBasedSearch) // pure client side search { - t << " <li id=\"searchli\">\n"; + //t << " <li id=\"searchli\">\n"; + t << " <li>\n"; writeClientSearchBox(t,relPath); t << " </li>\n"; } else // if (!generateTreeView) // server based search { - t << " <li id=\"searchli\">\n"; + //t << " <li id=\"searchli\">\n"; + t << " <li>\n"; writeServerSearchBox(t,relPath,highlightSearch); if (!highlightSearch) { |