Make Aseprite icon clickeable in Home tab

Just for fun (and so themes can customize the icon too with other colors)
This commit is contained in:
David Capello 2017-08-25 16:54:34 -03:00
parent 6721baa40e
commit cf3814bc20
3 changed files with 11 additions and 5 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

View File

@ -1,7 +1,5 @@
<?xml version="1.0" encoding="utf-8" ?>
<theme name="Default"
screenscaling="2"
uiscaling="1">
<theme name="Default" screenscaling="2" uiscaling="1">
<authors>
<author name="David Capello" url="http://davidcapello.com/" />
<author name="Ilija Melentijevic" url="http://ilkke.blogspot.com/" />
@ -394,6 +392,9 @@
<part id="tool_minieditor" x="160" y="128" w="16" h="16" />
<part id="simple_color_border" x="16" y="32" w1="3" w2="6" w3="3" h1="3" h2="6" h3="3" />
<part id="simple_color_selected" x="32" y="32" w1="3" w2="6" w3="3" h1="3" h2="6" h3="3" />
<part id="aseprite_face" x="0" y="272" w="28" h="30" />
<part id="aseprite_face_mouse" x="28" y="272" w="28" h="30" />
<part id="aseprite_face_pushed" x="56" y="272" w="28" h="30" />
</parts>
<styles>
<style id="box" />
@ -516,7 +517,7 @@
<style id="top_shade_view" extends="editor_view" />
<style id="menu_shade_view" extends="view">
<background color="menuitem_hot_face" state="mouse" />
</style>
</style>
<style id="button">
<background-border part="button_normal" />
<background-border part="button_hot" state="mouse" />
@ -906,5 +907,10 @@
<text color="listitem_selected_text" align="left middle" x="1" state="selected" />
<text color="disabled" align="left middle" x="1" state="disabled" />
</style>
<style id="aseprite_face">
<icon part="aseprite_face" />
<icon part="aseprite_face_mouse" state="mouse" />
<icon part="aseprite_face_pushed" state="mouse selected" />
</style>
</styles>
</theme>

View File

@ -9,7 +9,7 @@
</hbox>
<hbox noborders="true" id="header_placeholder">
<image file="icons/ase48.png" align="center" />
<link id="aseprite_face" style="aseprite_face" />
<vbox border="4" childspacing="4">
<link id="new_file" text="@.new_file" style="workspace_link" />
<link id="open_file" text="@.open_file" style="workspace_link" />