Skip to content

Commit

Permalink
Change navtree collapsed list icon
Browse files Browse the repository at this point in the history
  • Loading branch information
faheel committed Dec 7, 2017
1 parent 4f45bd2 commit b3869a3
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/ftvhelp.cpp
Expand Up @@ -257,7 +257,7 @@ void FTVHelp::generateIndent(FTextStream &t, FTVNode *n,bool opened)
while (p) { indent++; p=p->parent; }
if (n->isDir)
{
QCString dir = opened ? "▼" : "►";
QCString dir = opened ? "▼" : "▶";
t << "<span style=\"width:" << (indent*16) << "px;display:inline-block;\">&#160;</span>"
<< "<span id=\"arr_" << generateIndentLabel(n,0) << "\" class=\"arrow\" ";
t << "onclick=\"toggleFolder('" << generateIndentLabel(n,0) << "')\"";
Expand Down
6 changes: 3 additions & 3 deletions templates/html/dynsections.js
Expand Up @@ -60,7 +60,7 @@ function toggleLevel(level)
$(this).show();
} else if (l==level+1) {
i.removeClass('iconfclosed iconfopen').addClass('iconfclosed');
a.html('&#9658;');
a.html('&#9654;');
$(this).show();
} else {
$(this).hide();
Expand All @@ -87,7 +87,7 @@ function toggleFolder(id)
// replace down arrow by right arrow for current row
var currentRowSpans = currentRow.find("span");
currentRowSpans.filter(".iconfopen").removeClass("iconfopen").addClass("iconfclosed");
currentRowSpans.filter(".arrow").html('&#9658;');
currentRowSpans.filter(".arrow").html('&#9654;');
rows.filter("[id^=row_"+id+"]").hide(); // hide all children
} else { // we are SHOWING
// replace right arrow by down arrow for current row
Expand All @@ -97,7 +97,7 @@ function toggleFolder(id)
// replace down arrows by right arrows for child rows
var childRowsSpans = childRows.find("span");
childRowsSpans.filter(".iconfopen").removeClass("iconfopen").addClass("iconfclosed");
childRowsSpans.filter(".arrow").html('&#9658;');
childRowsSpans.filter(".arrow").html('&#9654;');
childRows.show(); //show all children
}
updateStripes();
Expand Down
2 changes: 1 addition & 1 deletion templates/html/htmldirtree.tpl
Expand Up @@ -20,7 +20,7 @@
{% else %}
<span style="width:{{ (node.level)*16 }}px;display:inline-block;">&#160;</span>
<span id="arr_{{ node.id }}" class="arrow" onclick="toggleFolder('{{ node.id}}')">
{%if node.level+1<tree.preferredDepth %}&#9660;{% else %}&#9658;{% endif %}
{%if node.level+1<tree.preferredDepth %}&#9660;{% else %}&#9654;{% endif %}
</span>
{% endif %}
{% if node.namespace %}
Expand Down
2 changes: 1 addition & 1 deletion templates/html/navtree.js
Expand Up @@ -23,7 +23,7 @@
*/
var navTreeSubIndices = new Array();
var arrowDown = '&#9660;';
var arrowRight = '&#9658;';
var arrowRight = '&#9654;';

function getData(varName)
{
Expand Down

0 comments on commit b3869a3

Please sign in to comment.