New focus 9 patch textures

This commit is contained in:
Brahim Hadriche committed 2024-02-24 19:03:12 -05:00
1 parent 4ab7f74a4e
commit c7b0815768
13 files changed
+19 -15

No files matched your search

@@ -44,7 +44,8 @@
numColumns="1"
numRows="6"
vertFocusAnimationStyle="floatingFocus"
translation="[20,90]" />
translation="[20,90]"
focusBitmapUri="pkg:/images/focus-glow-padding-27.9.png" />
</Rectangle>
<Animation id="showAnimation"
@@ -56,12 +56,14 @@ function SetHighlight() as void
contentIndex = content.queueIndex
index = m.top.index
if contentIndex = index
highlighted = contentIndex = index
if highlighted
' bs:disable-next-line LINT3023
m.top.thumbnailBlendColor = "#FFFFFFFF"
m.top.highlightUri = "pkg:/images/focus_grid.9.png"
else
m.top.thumbnailBlendColor = "#606060FF"
m.top.highlightUri = ""
end if
m.top.highlightVisible = highlighted
end function
@@ -5,7 +5,7 @@
<field id="title" type="string" alias="titleLabel.text" />
<field id="thumbnailUri" type="uri" alias="thumbnailPoster.uri" />
<field id="thumbnailBlendColor" type="color" alias="thumbnailPoster.blendColor" />
<field id="highlightUri" type="uri" alias="highlightPoster.uri" />
<field id="highlightVisible" type="boolean" alias="highlightPoster.visible" />
<field id="duration" type="string" alias="durationLabel.text" />
<field id="durationRectVisible" type="boolean" alias="durationRect.visible" />
</interface>
@@ -36,9 +36,9 @@
<Poster
id="highlightPoster"
blendColor="0xFF1C30"
uri="pkg:/images/focus_grid.9.png"
width="164"
height="94" />
<Label
id="titleLabel"
width="260"