aboutsummaryrefslogtreecommitdiffstats
path: root/doc/html/navtree.js
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/navtree.js')
-rw-r--r--doc/html/navtree.js59
1 files changed, 42 insertions, 17 deletions
diff --git a/doc/html/navtree.js b/doc/html/navtree.js
index 529fcf8..a4b8018 100644
--- a/doc/html/navtree.js
+++ b/doc/html/navtree.js
@@ -7,7 +7,9 @@ var NAVTREE =
[ "All", "namespacemembers.html", null ],
[ "Functions", "namespacemembers_func.html", null ],
[ "Variables", "namespacemembers_vars.html", null ],
- [ "Typedefs", "namespacemembers_type.html", null ]
+ [ "Typedefs", "namespacemembers_type.html", null ],
+ [ "Enumerations", "namespacemembers_enum.html", null ],
+ [ "Enumerator", "namespacemembers_eval.html", null ]
] ]
] ],
[ "Classes", null, [
@@ -37,15 +39,18 @@ var NAVTREE =
var NAVTREEINDEX =
[
"BinaryIndexTree_8h.html",
-"classmeow_1_1FeaturePointsDetector.html#ad8ce3d515825b6e3b8c4865ebe7c8d76",
-"classmeow_1_1Matrix.html#afb81446984f7c27458ccef86be2de413",
-"classmeow_1_1RGBi__Space.html#a76b540bdf49bc8912c5f62aa875b1906",
-"classmeow_1_1Vector.html#ab675b777186dd4903367bc77922893ee",
-"functions_rela.html"
+"classmeow_1_1Camera.html#a2f9b65351e07acd6e98a53689c49cb84",
+"classmeow_1_1HSVf.html#a2e521602deaab25eff709edc1c380f82",
+"classmeow_1_1ObjProperties.html#a4bc4f097d783426457a784a39266ba52",
+"classmeow_1_1SegmentTree.html#a765e794af604ab7c20a4245dfafcf14c",
+"classmeow_1_1Vector2D.html#af3fd0ff1b8f9ca6df82b8659cadafb7d",
+"namespacemembers_vars.html"
];
var SYNCONMSG = 'click to disable panel synchronisation';
var SYNCOFFMSG = 'click to enable panel synchronisation';
+var SYNCONMSG = 'click to disable panel synchronisation';
+var SYNCOFFMSG = 'click to enable panel synchronisation';
var navTreeSubIndices = new Array();
function getData(varName)
@@ -126,12 +131,12 @@ function createIndent(o,domNode,node,level)
var level=-1;
var n = node;
while (n.parentNode) { level++; n=n.parentNode; }
- var imgNode = document.createElement("img");
- imgNode.style.paddingLeft=(16*level).toString()+'px';
- imgNode.width = 16;
- imgNode.height = 22;
- imgNode.border = 0;
if (node.childrenData) {
+ var imgNode = document.createElement("img");
+ imgNode.style.paddingLeft=(16*level).toString()+'px';
+ imgNode.width = 16;
+ imgNode.height = 22;
+ imgNode.border = 0;
node.plus_img = imgNode;
node.expandToggle = document.createElement("a");
node.expandToggle.href = "javascript:void(0)";
@@ -148,8 +153,12 @@ function createIndent(o,domNode,node,level)
domNode.appendChild(node.expandToggle);
imgNode.src = node.relpath+"ftv2pnode.png";
} else {
- imgNode.src = node.relpath+"ftv2node.png";
- domNode.appendChild(imgNode);
+ var span = document.createElement("span");
+ span.style.display = 'inline-block';
+ span.style.width = 16*(level+1)+'px';
+ span.style.height = '22px';
+ span.innerHTML = ' ';
+ domNode.appendChild(span);
}
}
@@ -368,7 +377,7 @@ function showNode(o, node, index, hash)
if (!node.childrenVisited) {
getNode(o, node);
}
- $(node.getChildrenUL()).show();
+ $(node.getChildrenUL()).css({'display':'block'});
if (node.isLast) {
node.plus_img.src = node.relpath+"ftv2mlastnode.png";
} else {
@@ -400,8 +409,22 @@ function showNode(o, node, index, hash)
}
}
+function removeToInsertLater(element) {
+ var parentNode = element.parentNode;
+ var nextSibling = element.nextSibling;
+ parentNode.removeChild(element);
+ return function() {
+ if (nextSibling) {
+ parentNode.insertBefore(element, nextSibling);
+ } else {
+ parentNode.appendChild(element);
+ }
+ };
+}
+
function getNode(o, po)
{
+ var insertFunction = removeToInsertLater(po.li);
po.childrenVisited = true;
var l = po.childrenData.length-1;
for (var i in po.childrenData) {
@@ -409,6 +432,7 @@ function getNode(o, po)
po.children[i] = newNode(o, po, nodeData[0], nodeData[1], nodeData[2],
i==l);
}
+ insertFunction();
}
function gotoNode(o,subIndex,root,hash,relpath)
@@ -512,7 +536,10 @@ function initNavTree(toroot,relpath)
navSync.click(function(){ toggleSyncButton(relpath); });
}
- navTo(o,toroot,window.location.hash,relpath);
+ $(window).load(function(){
+ navTo(o,toroot,window.location.hash,relpath);
+ showRoot();
+ });
$(window).bind('hashchange', function(){
if (window.location.hash && window.location.hash.length>1){
@@ -535,7 +562,5 @@ function initNavTree(toroot,relpath)
navTo(o,toroot,window.location.hash,relpath);
}
})
-
- $(window).load(showRoot);
}