Skip to content
This repository has been archived by the owner on Oct 9, 2024. It is now read-only.

Commit

Permalink
add filenames to icon browser - fixes #32
Browse files Browse the repository at this point in the history
  • Loading branch information
jurialmunkey committed Jun 6, 2022
1 parent 2143d02 commit 98a3fe1
Showing 1 changed file with 27 additions and 10 deletions.
37 changes: 27 additions & 10 deletions 1080i/Layouts.xml
Original file line number Diff line number Diff line change
Expand Up @@ -738,17 +738,23 @@
<include>Texture_Box_Highlight_V</include>
</include>
<include condition="!$PARAM[selected]">Dialog_Outline_Box</include>
<control type="image">
<texture background="true" diffuse="diffuse/square-sml.png">$INFO[ListItem.Icon]</texture>
<aspectratio scalediffuse="false">keep</aspectratio>
<height>$PARAM[item_w]</height>
<visible>$PARAM[selected] | ![String.StartsWith(ListItem.Icon,Default) | String.StartsWith(ListItem.Icon,special://skin/extras/icons/) | String.StartsWith(ListItem.Icon,image://special)]</visible>
</control>
<control type="image">
<texture background="true" colordiffuse="dialog_fg_70" diffuse="diffuse/square-sml.png">$INFO[ListItem.Icon]</texture>
<aspectratio scalediffuse="false">keep</aspectratio>
<control type="group">
<height>$PARAM[item_w]</height>
<visible>!$PARAM[selected] + [String.StartsWith(ListItem.Icon,Default) | String.StartsWith(ListItem.Icon,special://skin/extras/icons/) | String.StartsWith(ListItem.Icon,image://special)]</visible>
<control type="group">
<include content="Object_Include" condition="$PARAM[detailed]">
<bottom>40</bottom>
</include>
<control type="image">
<texture background="true" diffuse="diffuse/square-sml.png">$INFO[ListItem.Icon]</texture>
<aspectratio scalediffuse="false">keep</aspectratio>
<visible>$PARAM[selected] | ![String.StartsWith(ListItem.Icon,Default) | String.StartsWith(ListItem.Icon,special://skin/extras/icons/) | String.StartsWith(ListItem.Icon,image://special)]</visible>
</control>
<control type="image">
<texture background="true" colordiffuse="dialog_fg_70" diffuse="diffuse/square-sml.png">$INFO[ListItem.Icon]</texture>
<aspectratio scalediffuse="false">keep</aspectratio>
<visible>!$PARAM[selected] + [String.StartsWith(ListItem.Icon,Default) | String.StartsWith(ListItem.Icon,special://skin/extras/icons/) | String.StartsWith(ListItem.Icon,image://special)]</visible>
</control>
</control>
</control>
<control type="group">
<height>$PARAM[item_w]</height>
Expand All @@ -767,6 +773,17 @@
<font>font_mini</font>
<visible>!$PARAM[detailed]</visible>
</control>
<control type="label">
<include condition="$PARAM[selected]">Color_SelectedText</include>
<textcolor>dialog_fg_70</textcolor>
<label>$INFO[ListItem.Label]</label>
<height>30</height>
<bottom>10</bottom>
<textoffsetx>20</textoffsetx>
<align>center</align>
<font>font_statusbar</font>
<visible>$PARAM[detailed]</visible>
</control>

<include content="Object_SelectBox" condition="$PARAM[selected]">
<param name="indicator" value="false" />
Expand Down

0 comments on commit 98a3fe1

Please sign in to comment.