Add meshes panel icon placeholders.

This commit is contained in:
kovacsv 2021-11-09 07:02:46 +01:00
parent 7bb6363559
commit 73ca7e2a8c
7 changed files with 49 additions and 33 deletions

View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18" xml:space="preserve"><path fill="none" stroke="#263238" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="4.002" d="M1.5 4.8v8.5l7 4.2 7-4.2V4.8L8.5.5zm7 4.2v8.5"/><path fill="none" stroke="#263238" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="4.002" d="m1.5 4.8 7 4.2 7-4.2"/></svg>

After

Width:  |  Height:  |  Size: 380 B

1
assets/icons/expand.svg Normal file
View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18" xml:space="preserve"><path fill="none" stroke="#263238" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="4.002" d="M1.5 4.8v8.5l7 4.2 7-4.2V4.8L8.5.5zm7 4.2v8.5"/><path fill="none" stroke="#263238" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="4.002" d="m1.5 4.8 7 4.2 7-4.2"/></svg>

After

Width:  |  Height:  |  Size: 380 B

View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18" xml:space="preserve"><path fill="none" stroke="#263238" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="4.002" d="M1.5 4.8v8.5l7 4.2 7-4.2V4.8L8.5.5zm7 4.2v8.5"/><path fill="none" stroke="#263238" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="4.002" d="m1.5 4.8 7 4.2 7-4.2"/></svg>

After

Width:  |  Height:  |  Size: 380 B

View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18" xml:space="preserve"><path fill="none" stroke="#263238" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="4.002" d="M1.5 4.8v8.5l7 4.2 7-4.2V4.8L8.5.5zm7 4.2v8.5"/><path fill="none" stroke="#263238" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="4.002" d="m1.5 4.8 7 4.2 7-4.2"/></svg>

After

Width:  |  Height:  |  Size: 380 B

View File

@ -1,6 +1,6 @@
@font-face { @font-face {
font-family: "O3DVIcons"; font-family: "O3DVIcons";
src: url("O3DVIcons/O3DVIcons.woff?93f39811e559aabadab944aab78ad1e7") format("woff"); src: url("O3DVIcons/O3DVIcons.woff?7e92836aa72dd0e49d33f09f3c4728fb") format("woff");
} }
i[class^="icon-"]:before, i[class*=" icon-"]:before { i[class^="icon-"]:before, i[class*=" icon-"]:before {
@ -26,87 +26,99 @@ i[class^="icon-"]:before, i[class*=" icon-"]:before {
.icon-close:before { .icon-close:before {
content: "\f104"; content: "\f104";
} }
.icon-deisolate:before { .icon-collapse:before {
content: "\f105"; content: "\f105";
} }
.icon-details:before { .icon-deisolate:before {
content: "\f106"; content: "\f106";
} }
.icon-donate:before { .icon-details:before {
content: "\f107"; content: "\f107";
} }
.icon-export:before { .icon-donate:before {
content: "\f108"; content: "\f108";
} }
.icon-feedback:before { .icon-expand:before {
content: "\f109"; content: "\f109";
} }
.icon-file_download:before { .icon-export:before {
content: "\f10a"; content: "\f10a";
} }
.icon-files:before { .icon-feedback:before {
content: "\f10b"; content: "\f10b";
} }
.icon-fit:before { .icon-file_download:before {
content: "\f10c"; content: "\f10c";
} }
.icon-fix_up_off:before { .icon-files:before {
content: "\f10d"; content: "\f10d";
} }
.icon-fix_up_on:before { .icon-fit:before {
content: "\f10e"; content: "\f10e";
} }
.icon-flip:before { .icon-fix_up_off:before {
content: "\f10f"; content: "\f10f";
} }
.icon-github:before { .icon-fix_up_on:before {
content: "\f110"; content: "\f110";
} }
.icon-hidden:before { .icon-flat_list:before {
content: "\f111"; content: "\f111";
} }
.icon-info:before { .icon-flip:before {
content: "\f112"; content: "\f112";
} }
.icon-isolate:before { .icon-github:before {
content: "\f113"; content: "\f113";
} }
.icon-materials:before { .icon-hidden:before {
content: "\f114"; content: "\f114";
} }
.icon-meshes:before { .icon-info:before {
content: "\f115"; content: "\f115";
} }
.icon-missing_files:before { .icon-isolate:before {
content: "\f116"; content: "\f116";
} }
.icon-model:before { .icon-materials:before {
content: "\f117"; content: "\f117";
} }
.icon-open_url:before { .icon-meshes:before {
content: "\f118"; content: "\f118";
} }
.icon-open:before { .icon-missing_files:before {
content: "\f119"; content: "\f119";
} }
.icon-settings:before { .icon-model:before {
content: "\f11a"; content: "\f11a";
} }
.icon-share:before { .icon-open_url:before {
content: "\f11b"; content: "\f11b";
} }
.icon-theme:before { .icon-open:before {
content: "\f11c"; content: "\f11c";
} }
.icon-up_y:before { .icon-settings:before {
content: "\f11d"; content: "\f11d";
} }
.icon-up_z:before { .icon-share:before {
content: "\f11e"; content: "\f11e";
} }
.icon-visible:before { .icon-theme:before {
content: "\f11f"; content: "\f11f";
} }
.icon-warning:before { .icon-tree_view:before {
content: "\f120"; content: "\f120";
} }
.icon-up_y:before {
content: "\f121";
}
.icon-up_z:before {
content: "\f122";
}
.icon-visible:before {
content: "\f123";
}
.icon-warning:before {
content: "\f124";
}

View File

@ -421,7 +421,7 @@ OV.NavigatorMeshesPanel = class extends OV.NavigatorPanel
return buttonIcon; return buttonIcon;
} }
CreateButton (this.buttonsDiv, 'Flat list', 'meshes', null, () => { CreateButton (this.buttonsDiv, 'Flat list', 'flat_list', null, () => {
if (!this.isHierarchical) { if (!this.isHierarchical) {
return; return;
} }
@ -431,7 +431,7 @@ OV.NavigatorMeshesPanel = class extends OV.NavigatorPanel
this.callbacks.onSelectionRemoved (); this.callbacks.onSelectionRemoved ();
}); });
CreateButton (this.buttonsDiv, 'Tree view', 'meshes', null, () => { CreateButton (this.buttonsDiv, 'Tree view', 'tree_view', null, () => {
if (this.isHierarchical) { if (this.isHierarchical) {
return; return;
} }
@ -441,11 +441,11 @@ OV.NavigatorMeshesPanel = class extends OV.NavigatorPanel
this.callbacks.onSelectionRemoved (); this.callbacks.onSelectionRemoved ();
}); });
CreateButton (this.buttonsDiv, 'Expand all', 'meshes', null, () => { CreateButton (this.buttonsDiv, 'Expand all', 'expand', null, () => {
this.rootItem.ExpandAll (true); this.rootItem.ExpandAll (true);
}); });
CreateButton (this.buttonsDiv, 'Collapse all', 'meshes', null, () => { CreateButton (this.buttonsDiv, 'Collapse all', 'collapse', null, () => {
this.rootItem.ExpandAll (false); this.rootItem.ExpandAll (false);
}); });