]> git.saurik.com Git - wxWidgets.git/commitdiff
preserve doxygen 1.6.x look also with doxygen 1.7.x: it produces more readable naviga...
authorFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Sun, 25 Jul 2010 11:05:43 +0000 (11:05 +0000)
committerFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Sun, 25 Jul 2010 11:05:43 +0000 (11:05 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

docs/doxygen/htmlheader.inc
docs/doxygen/images/tab_b.gif [new file with mode: 0644]
docs/doxygen/images/tab_l.gif [new file with mode: 0644]
docs/doxygen/images/tab_r.gif [new file with mode: 0644]
docs/doxygen/regen.bat
docs/doxygen/regen.sh
docs/doxygen/wxtabs.css [new file with mode: 0644]

index 967dcfed11e6a154f572d80bf204dde6e0e3b1a3..d972448929e343e5f5a9d5c6809e6de7144d2247 100644 (file)
@@ -11,7 +11,7 @@
     <meta name="created" content="$datetime"/>
     <meta name="keywords" content="wxWidgets"/>
     <link href="wxwidgets.css" rel="stylesheet" type="text/css"/>
     <meta name="created" content="$datetime"/>
     <meta name="keywords" content="wxWidgets"/>
     <link href="wxwidgets.css" rel="stylesheet" type="text/css"/>
-    <link href="tabs.css" rel="stylesheet" type="text/css"/>
+    <link href="wxtabs.css" rel="stylesheet" type="text/css"/>
 </head>
 <body>
 
 </head>
 <body>
 
diff --git a/docs/doxygen/images/tab_b.gif b/docs/doxygen/images/tab_b.gif
new file mode 100644 (file)
index 0000000..0d62348
Binary files /dev/null and b/docs/doxygen/images/tab_b.gif differ
diff --git a/docs/doxygen/images/tab_l.gif b/docs/doxygen/images/tab_l.gif
new file mode 100644 (file)
index 0000000..9b1e633
Binary files /dev/null and b/docs/doxygen/images/tab_l.gif differ
diff --git a/docs/doxygen/images/tab_r.gif b/docs/doxygen/images/tab_r.gif
new file mode 100644 (file)
index 0000000..ce9dd9f
Binary files /dev/null and b/docs/doxygen/images/tab_r.gif differ
index 9d44db8ede4074367997b30731ae10ca6b15c349..fa85d3b4c8a75ffa557840e8d80125a4e0358afd 100644 (file)
@@ -11,18 +11,21 @@ mkdir out\html\wxgtk 2>&1 >NUL
 mkdir out\html\wxmsw 2>&1 >NUL\r
 mkdir out\html\wxmac 2>&1 >NUL\r
 \r
 mkdir out\html\wxmsw 2>&1 >NUL\r
 mkdir out\html\wxmac 2>&1 >NUL\r
 \r
-REM These not automatically copied by Doxygen because it's not\r
-REM used in doxygen documentation, only in our html footer.\r
+REM These not automatically copied by Doxygen because they're not\r
+REM used in doxygen documentation, only in our html footer and by our\r
+REM custom aliases\r
 copy images\powered-by-wxwidgets.png out\html 2>&1 >NUL\r
 copy images\logo_*.png out\html 2>&1 >NUL\r
 copy images\powered-by-wxwidgets.png out\html 2>&1 >NUL\r
 copy images\logo_*.png out\html 2>&1 >NUL\r
+copy images\tab_*.gif out\html 2>&1 >NUL\r
 copy images\wxgtk\*.png out\html\wxgtk 2>&1 >NUL\r
 copy images\wxmsw\*.png out\html\wxmsw 2>&1 >NUL\r
 copy images\wxmac\*.png out\html\wxmac 2>&1 >NUL\r
 copy wxwidgets.js out\html 2>&1 >NUL\r
 \r
 copy images\wxgtk\*.png out\html\wxgtk 2>&1 >NUL\r
 copy images\wxmsw\*.png out\html\wxmsw 2>&1 >NUL\r
 copy images\wxmac\*.png out\html\wxmac 2>&1 >NUL\r
 copy wxwidgets.js out\html 2>&1 >NUL\r
 \r
-REM this CSS is automatically copied by Doxygen because it's\r
+REM these CSS are not automatically copied by Doxygen because they're\r
 REM included by our custom html header...\r
 copy wxwidgets.css out\html 2>&1 >NUL\r
 REM included by our custom html header...\r
 copy wxwidgets.css out\html 2>&1 >NUL\r
+copy wxtabs.css out\html 2>&1 >NUL\r
 \r
 REM set cfgfile variable to the right doxyfile to use,\r
 REM using MS broken batch scripting\r
 \r
 REM set cfgfile variable to the right doxyfile to use,\r
 REM using MS broken batch scripting\r
index a9dd32c9eb5263f2c8bce516a529d3895046e74d..2f2c713446101ce76883780cf026a94bc54699ec 100755 (executable)
@@ -31,14 +31,16 @@ mkdir -p out/html/wxmsw out/html/wxgtk out/html/wxmac
 # custom aliases
 cp images/powered-by-wxwidgets.png out/html
 cp images/logo_*.png out/html
 # custom aliases
 cp images/powered-by-wxwidgets.png out/html
 cp images/logo_*.png out/html
+cp images/tab_*.gif out/html
 cp images/wxmsw/*png out/html/wxmsw
 cp images/wxmac/*png out/html/wxmac
 cp images/wxgtk/*png out/html/wxgtk
 cp wxwidgets.js out/html
 
 cp images/wxmsw/*png out/html/wxmsw
 cp images/wxmac/*png out/html/wxmac
 cp images/wxgtk/*png out/html/wxgtk
 cp wxwidgets.js out/html
 
-# this CSS is not automatically copied by Doxygen because it's
+# these CSS are not automatically copied by Doxygen because they're
 # included by our custom html header...
 cp wxwidgets.css out/html
 # included by our custom html header...
 cp wxwidgets.css out/html
+cp wxtabs.css out/html
 
 # which configuration should we use?
 if [[ -z "$1" ]]; then
 
 # which configuration should we use?
 if [[ -z "$1" ]]; then
diff --git a/docs/doxygen/wxtabs.css b/docs/doxygen/wxtabs.css
new file mode 100644 (file)
index 0000000..91ac28e
--- /dev/null
@@ -0,0 +1,217 @@
+/*****************************************************************************
+** Name:        wxtabs.css
+** Purpose:     The wxWidgets documentation CSS
+** Author:      Doxygen team
+** RCS-ID:      $Id$
+** Licence:     wxWindows licence
+*****************************************************************************/
+
+/*
+  Doxygen classic tabs styles, based on http://www.alistapart.com/articles/slidingdoors 
+*/
+
+DIV.tabs
+{
+   float            : left;
+   width            : 100%;
+   background       : url("tab_b.gif") repeat-x bottom;
+   margin-bottom    : 4px;
+}
+
+DIV.tabs UL
+{
+   margin           : 0px;
+   padding-left     : 10px;
+   list-style       : none;
+}
+
+DIV.tabs LI, DIV.tabs FORM
+{
+   display          : inline;
+   margin           : 0px;
+   padding          : 0px;
+}
+
+DIV.tabs FORM
+{
+   float            : right;
+}
+
+DIV.tabs A
+{
+   float            : left;
+   background       : url("tab_r.gif") no-repeat right top;
+   border-bottom    : 1px solid #84B0C7;
+   font-size        : 80%;
+   font-weight      : bold;
+   text-decoration  : none;
+}
+
+DIV.tabs A:hover
+{
+   background-position: 100% -150px;
+}
+
+DIV.tabs A:link, DIV.tabs A:visited,
+DIV.tabs A:active, DIV.tabs A:hover
+{
+       color: #1A419D;
+}
+
+DIV.tabs SPAN
+{
+   float            : left;
+   display          : block;
+   background       : url("tab_l.gif") no-repeat left top;
+   padding          : 5px 9px;
+   white-space      : nowrap;
+}
+
+DIV.tabs INPUT
+{
+   float            : right;
+   display          : inline;
+   font-size        : 1em;
+}
+
+DIV.tabs TD
+{
+   font-size        : 80%;
+   font-weight      : bold;
+   text-decoration  : none;
+}
+
+
+
+/* Commented Backslash Hack hides rule from IE5-Mac \*/
+DIV.tabs SPAN {float : none;}
+/* End IE5-Mac hack */
+
+DIV.tabs A:hover SPAN
+{
+   background-position: 0% -150px;
+}
+
+DIV.tabs LI.current A
+{
+   background-position: 100% -150px;
+   border-width     : 0px;
+}
+
+DIV.tabs LI.current SPAN
+{
+   background-position: 0% -150px;
+   padding-bottom   : 6px;
+}
+
+DIV.navpath
+{
+   background       : none;
+   border           : none;
+   border-bottom    : 1px solid #84B0C7;
+   text-align       : center;
+   margin           : 2px;
+   padding          : 2px;
+}
+
+
+/*
+   NOTE: since v. 1.7.0 Doxygen uses new style names for some tabs... and in particular uses "tabs2" for
+         the CSS style names of the "Class List, Class Index, Class Hierarchy, Class Members" tabs.
+         For now we keep for "tabs2" tabs the same style used with other ones.
+*/
+
+
+DIV.tabs2
+{
+   float            : left;
+   width            : 100%;
+   background       : url("tab_b.gif") repeat-x bottom;
+   margin-bottom    : 4px;
+}
+
+DIV.tabs2 UL
+{
+   margin           : 0px;
+   padding-left     : 10px;
+   list-style       : none;
+}
+
+DIV.tabs2 LI, DIV.tabs2 FORM
+{
+   display          : inline;
+   margin           : 0px;
+   padding          : 0px;
+}
+
+DIV.tabs2 FORM
+{
+   float            : right;
+}
+
+DIV.tabs2 A
+{
+   float            : left;
+   background       : url("tab_r.gif") no-repeat right top;
+   border-bottom    : 1px solid #84B0C7;
+   font-size        : 80%;
+   font-weight      : bold;
+   text-decoration  : none;
+}
+
+DIV.tabs2 A:hover
+{
+   background-position: 100% -150px;
+}
+
+DIV.tabs2 A:link, DIV.tabs2 A:visited,
+DIV.tabs2 A:active, DIV.tabs2 A:hover
+{
+       color: #1A419D;
+}
+
+DIV.tabs2 SPAN
+{
+   float            : left;
+   display          : block;
+   background       : url("tab_l.gif") no-repeat left top;
+   padding          : 5px 9px;
+   white-space      : nowrap;
+}
+
+DIV.tabs2 INPUT
+{
+   float            : right;
+   display          : inline;
+   font-size        : 1em;
+}
+
+DIV.tabs2 TD
+{
+   font-size        : 80%;
+   font-weight      : bold;
+   text-decoration  : none;
+}
+
+
+
+/* Commented Backslash Hack hides rule from IE5-Mac \*/
+DIV.tabs2 SPAN {float : none;}
+/* End IE5-Mac hack */
+
+DIV.tabs2 A:hover SPAN
+{
+   background-position: 0% -150px;
+}
+
+DIV.tabs2 LI.current A
+{
+   background-position: 100% -150px;
+   border-width     : 0px;
+}
+
+DIV.tabs2 LI.current SPAN
+{
+   background-position: 0% -150px;
+   padding-bottom   : 6px;
+}
\ No newline at end of file