mirror of
https://github.com/overte-org/overte.git
synced 2025-04-16 23:26:25 +02:00
Spectator camera icon
This commit is contained in:
parent
ee86638c4e
commit
1afa2d3775
2 changed files with 27 additions and 1 deletions
25
interface/resources/icons/tablet-icons/spectator-i.svg
Normal file
25
interface/resources/icons/tablet-icons/spectator-i.svg
Normal file
|
@ -0,0 +1,25 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Generator: Adobe Illustrator 19.2.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
||||
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||
viewBox="0 0 50 50" style="enable-background:new 0 0 50 50;" xml:space="preserve">
|
||||
<style type="text/css">
|
||||
.st0{fill:#FFFFFF;}
|
||||
</style>
|
||||
<g>
|
||||
<path class="st0" d="M34.7,17.8c1.6-1.1,3.2-2.2,4.7-3.3c1.1-0.7,2.1-1,3.3-0.4c1.2,0.7,1.5,1.8,1.5,3.2c0,5.2,0,10.3,0,15.5
|
||||
c0,1.3-0.4,2.4-1.5,3.1c-1.2,0.7-2.3,0.4-3.3-0.3c-1.6-1.1-3.2-2.2-4.8-3.3c-1.3,3.4-3.6,4.9-6.9,4.8c-5.1-0.1-10.2,0-15.4,0
|
||||
c-2.5,0-4.5-1.1-5.6-3.6c-0.4-0.9-0.6-1.9-0.6-2.9c-0.1-3.6,0-7.2,0-10.7c0-3.9,2.4-6.7,6-6.8c5.6-0.1,11.2-0.1,16.7,0
|
||||
C31.6,13.1,33.4,14.6,34.7,17.8z M20.4,33.3c2.6,0,5.3,0,7.9,0c2.2,0,3.1-1,3.1-3.3c0-3.4,0-6.8,0-10.2c0-2-1-3.1-2.8-3.1
|
||||
c-5.4,0-10.8,0-16.2,0c-1.8,0-2.8,1.1-2.8,3.1c0,3.4,0,6.8,0,10.2c0,2.3,0.9,3.3,3.1,3.4C15.3,33.3,17.8,33.3,20.4,33.3z M40.7,32
|
||||
c0-4.8,0-9.4,0-14.1c-2,1.4-3.8,2.6-5.6,3.9c-0.2,0.1-0.3,0.4-0.3,0.7c0,1.7,0,3.3,0,5c0,0.2,0.1,0.5,0.2,0.6
|
||||
C36.9,29.4,38.8,30.7,40.7,32z"/>
|
||||
<path class="st0" d="M28.2,25C28.2,24.7,28.2,25.2,28.2,25c0-1-0.1-1.9-0.2-2.5c-0.2-1.3-0.7-2.5-1.5-3.7c-0.2-0.3-0.5-0.5-0.9-0.6
|
||||
c-0.4-0.1-0.8,0-1.2,0.2c-0.5,0.3-0.7,1.2-0.3,1.7c1.1,1.5,1.3,2.8,1.3,4.5c0.1,2-0.2,3.2-1.4,4.9c-0.2,0.3-0.2,1,0.1,1.5
|
||||
c0.1,0.2,0.3,0.4,0.6,0.6c0.2,0.1,0.3,0.1,0.5,0.1c0.5,0,0.9-0.3,1.2-0.8C27.8,29,28.1,27.2,28.2,25L28.2,25z"/>
|
||||
<ellipse class="st0" cx="16.8" cy="24.7" rx="2" ry="2.2"/>
|
||||
<path class="st0" d="M23.4,24.8C23.4,24.7,23.4,25,23.4,24.8c0-0.7-0.1-1.4-0.1-1.8c-0.2-0.9-0.6-2-1.2-2.8
|
||||
c-0.1-0.2-0.4-0.5-0.8-0.5c-0.7,0-0.8,0.2-1.1,0.4c-0.4,0.2-0.5,0.8-0.2,1.2c0.8,1.1,0.9,2,1,3.3c0,1.5-0.2,2.3-1,3.6
|
||||
c-0.1,0.2-0.1,0.7,0,1.1c0.1,0.2,0.2,0.3,0.5,0.4c0.1,0,0.2,0.1,0.3,0.1c0.5,0.2,1.1,0.1,1.4-0.5C22.9,27.8,23.3,26.4,23.4,24.8
|
||||
L23.4,24.8z"/>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 1.9 KiB |
|
@ -143,7 +143,8 @@
|
|||
if (!button) {
|
||||
if ((isHMDMode || showSpectatorInDesktop) && !isShuttingDown) {
|
||||
button = tablet.addButton({
|
||||
text: buttonName
|
||||
text: buttonName,
|
||||
icon: "icons/tablet-icons/spectator-i.svg"
|
||||
});
|
||||
button.clicked.connect(onTabletButtonClicked);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue