mirror of
https://github.com/overte-org/overte.git
synced 2025-04-08 05:52:38 +02:00
Adding icon states to emote app, active state
This commit is contained in:
parent
b3426f695b
commit
38973f0840
4 changed files with 65 additions and 40 deletions
|
@ -1,39 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Generator: Adobe Illustrator 22.0.1, 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 100 100.8" style="enable-background:new 0 0 100 100.8;" xml:space="preserve">
|
||||
<style type="text/css">
|
||||
.st0{fill:#FFFFFF;}
|
||||
</style>
|
||||
<path class="st0" d="M97.4,47.7c-3-2.7-7.3-2.6-10.4,0.2c-2,1.8-4.1,3.7-6.2,5.4c-1.5,1.2-3.1,1.4-4.8,0.6c-1.3-0.6-2-1.7-2.1-3.7
|
||||
c-0.2-2.7-0.4-5.2-0.5-7.9c-0.2-2.7-0.3-5.3-0.5-8l-0.1-1.7c-0.3-4.9-0.6-9.7-0.9-14.5c-0.2-1.9-1.1-3.7-2.8-5
|
||||
c-2.2-1.7-5-2.1-7.6-1.1c-2.3,0.9-4.1,3.1-4.5,5.6c-0.3,1.8-0.4,3.8-0.5,5.7c-0.1,0.5-0.1,0.9-0.1,1.4c-0.1,0.3-0.1,0.7-0.1,1
|
||||
c-0.2-0.9-0.4-1.7-0.6-2.6c-0.7-2.7-1.3-5.3-1.9-8.1c-0.8-3.5-3.4-5.9-6.5-6.2c-2.2-0.2-4.5,0.5-6.1,2c-1.5,1.5-2.3,3.7-2.1,6
|
||||
c0.3,3.5,0.7,6.8,1.2,10.2c0.1,1.1,0.3,2.2,0.4,3.3c-1-2.2-1.9-4.6-3.1-6.8c-1.3-3.1-4.6-4.7-8-4.1c-3.5,0.7-5.9,3.4-6,6.8
|
||||
c0,1.4,0.4,2.9,0.8,4.5c0.8,2.5,1.5,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,1.6-0.5,1.8-1c2-3.1,2.5-6.9,1-10.3c-1.5-3.5-4.7-6-8.4-6.6c-0.6-0.2-1.2,0-1.7,0.3
|
||||
c-0.5,0.3-0.8,0.8-0.9,1.4c-0.1,0.5,0,1.1,0.3,1.6C84.3,17.3,84.9,17.7,85.5,17.8z"/>
|
||||
<path class="st0" d="M15.3,33.3c0.1-0.6,0-1.2-0.4-1.8c-0.9-1.1-1.1-2.8-0.5-4.1c0.6-1.3,1.7-2.3,3.1-2.6c1.2-0.2,2-1.2,1.8-2.6
|
||||
v-0.2c-0.2-0.6-0.4-0.8-0.6-1c-0.4-0.4-1-0.6-1.2-0.7l-0.3-0.1l-0.3,0.1c-3,0.5-5.3,2.6-6.5,5.3c-1.2,2.9-0.8,5.9,0.9,8.5
|
||||
c0.3,0.6,0.8,0.9,1.4,1c0.1,0,0.2,0,0.3,0c0.5,0,0.9-0.2,1.4-0.4C14.9,34.4,15.2,34,15.3,33.3z"/>
|
||||
<path class="st0" d="M9.8,20.5c0.6-0.1,1.2-0.4,1.5-0.9c0.4-0.4,0.5-1,0.4-1.6l-0.1-0.2c-0.1-0.5-0.3-0.7-0.6-1
|
||||
c-0.6-0.7-1.4-0.9-2.1-0.6c-3.6,0.6-6.5,3.1-8,6.5c-1.4,3.5-0.9,7.6,1.2,10.6c0.4,0.5,0.8,0.8,1.4,0.9c0.1,0,0.3,0,0.4,0
|
||||
c0.5,0,0.9-0.1,1.2-0.2c0.6-0.3,0.9-0.8,1-1.4c0.1-0.6-0.1-1.2-0.4-1.7c-1.3-1.9-1.5-4.2-0.7-6.3C6,22.3,7.7,20.9,9.8,20.5z"/>
|
||||
</svg>
|
Before Width: | Height: | Size: 3.9 KiB |
30
interface/resources/icons/tablet-icons/emote-a.svg
Normal file
30
interface/resources/icons/tablet-icons/emote-a.svg
Normal file
|
@ -0,0 +1,30 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Generator: Adobe Illustrator 22.1.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">
|
||||
<g>
|
||||
<path d="M39.8,10.7c0.8,0.1,1.5,0.7,1.8,1.4s0.2,1.6-0.2,2.2c-0.3,0.4-0.2,1,0.3,1.4c0.2,0.1,0.4,0.1,0.5,0.1
|
||||
c0.3,0,0.6-0.1,0.6-0.2l0.1-0.1l0.1-0.1c0.8-1.2,1-2.8,0.4-4.1C42.8,10,41.6,9,40.1,8.8c-0.3-0.1-0.5,0-0.7,0.1
|
||||
C39.2,9,39,9.3,39,9.5C38.8,10.1,39.2,10.6,39.8,10.7z"/>
|
||||
<path d="M42.5,8.1c1.2,0.2,2.2,1,2.7,2.1c0.4,1.1,0.3,2.4-0.3,3.3c-0.2,0.2-0.2,0.5-0.2,0.7s0.2,0.5,0.5,0.7
|
||||
c0.2,0.1,0.4,0.1,0.5,0.1c0.4,0,0.7-0.2,0.8-0.5c1-1.5,1.2-3.4,0.5-5.1s-2.3-3-4.2-3.3c-0.5-0.1-1,0.2-1.1,0.8
|
||||
C41.6,7.5,41.9,8,42.5,8.1z M42.1,7L42.1,7L42.1,7L42.1,7z"/>
|
||||
<path d="M6.7,14.3c-0.4-0.6-0.5-1.5-0.2-2.2c0.3-0.8,1-1.3,1.9-1.4c0.6-0.1,0.9-0.6,0.8-1.1C9.1,9.3,9,9,8.7,8.9
|
||||
C8.5,8.8,8.3,8.7,8,8.8C6.5,9,5.3,10,4.7,11.4s-0.4,2.9,0.4,4.1l0.1,0.1l0.1,0.1c0.1,0,0.4,0.2,0.6,0.2c0.1,0,0.3,0,0.6-0.2
|
||||
C6.9,15.4,7,14.8,6.7,14.3z"/>
|
||||
<path d="M5.6,8.1C5.9,8,6.1,7.9,6.3,7.7C6.5,7.5,6.5,7.2,6.5,7C6.4,6.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2.7c0.5,1.8,1,3.5,1.6,5.3l1.1,3.7c0.2,0.6,0,0.7-0.2,0.8
|
||||
c-0.1,0.1-0.3,0.1-0.7-0.4c-0.1-0.1-0.2-0.2-0.2-0.3l-3.8-5.7c-0.5-0.7-0.9-1.4-1.4-2.1c-0.6-0.8-1.4-1-2.3-0.6s-1.3,1.1-1.2,2
|
||||
c0.1,0.5,0.3,0.9,0.4,1.2c0.8,1.6,1.6,3.2,2.4,4.8c2.1,4.2,4.2,8.5,6.4,12.8c2.3,4.5,6.2,7,11.5,7.3l0,0l0,0
|
||||
c4.7-0.2,8.2-1.9,10.7-5.2c2.1-2.8,4.2-5.7,6.2-8.5c0.9-1.3,1.8-2.5,2.7-3.7c0.2-0.3,0.4-0.5,0.6-0.8c0.4-0.6,0.8-1.1,1.2-1.7
|
||||
C49.5,26.7,49.5,25.8,48.8,25.1z"/>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 2.7 KiB |
33
interface/resources/icons/tablet-icons/emote-i.svg
Normal file
33
interface/resources/icons/tablet-icons/emote-i.svg
Normal file
|
@ -0,0 +1,33 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Generator: Adobe Illustrator 22.1.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="M39.8,10.7c0.8,0.1,1.5,0.7,1.8,1.4s0.2,1.6-0.2,2.2c-0.3,0.4-0.2,1,0.3,1.4c0.2,0.1,0.4,0.1,0.5,0.1
|
||||
c0.3,0,0.6-0.1,0.6-0.2l0.1-0.1l0.1-0.1c0.8-1.2,1-2.8,0.4-4.1C42.8,10,41.6,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,10.7-5.2c2.1-2.8,4.2-5.7,6.2-8.5c0.9-1.3,1.8-2.5,2.7-3.7c0.2-0.3,0.4-0.5,0.6-0.8c0.4-0.6,0.8-1.1,1.2-1.7
|
||||
C49.5,26.7,49.5,25.8,48.8,25.1z"/>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 2.8 KiB |
|
@ -46,7 +46,8 @@ var activeTimer = false; // Used to cancel active timer if a user plays an anima
|
|||
var activeEmote = false; // To keep track of the currently playing emote
|
||||
|
||||
button = tablet.addButton({
|
||||
icon: "icons/tablet-icons/EmoteAppIcon.svg",
|
||||
icon: "icons/tablet-icons/emote-i.svg",
|
||||
activeIcon: "icons/tablet-icons/emote-a.svg",
|
||||
text: EMOTE_LABEL,
|
||||
sortOrder: EMOTE_APP_SORT_ORDER
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue