New focus 9 patch textures
This commit is contained in:
1 parent
4ab7f74a4e
commit
c7b0815768
13 files changed
+19
-15
No files matched your search
@@ -61,7 +61,7 @@
|
||||
showRowLabel="[true]"
|
||||
rowFocusAnimationStyle="floatingfocus"
|
||||
variableWidthItems="true"
|
||||
focusBitmapUri="pkg:/images/focus_grid.9.png" />
|
||||
focusBitmapUri="pkg:/images/focus-glow-padding-19.9.png" />
|
||||
|
||||
<Animation
|
||||
id="scrollAnimation"
|
||||
|
||||
@@ -57,8 +57,8 @@
|
||||
numColumns="1"
|
||||
numRows="5"
|
||||
vertFocusAnimationStyle="floatingFocus"
|
||||
translation="[620,90]" />
|
||||
|
||||
translation="[620,90]"
|
||||
focusBitmapUri="pkg:/images/focus-glow-padding-27.9.png" />
|
||||
</Poster>
|
||||
</children>
|
||||
</component>
|
||||
@@ -31,7 +31,7 @@
|
||||
showRowLabel="[true]"
|
||||
rowFocusAnimationStyle="floatingfocus"
|
||||
variableWidthItems="true"
|
||||
focusBitmapUri="pkg:/images/focus_grid.9.png"
|
||||
focusBitmapUri="pkg:/images/focus-glow-padding-19.9.png"
|
||||
/>
|
||||
</Group>
|
||||
</children>
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
showRowLabel="[true]"
|
||||
rowFocusAnimationStyle="floatingfocus"
|
||||
variableWidthItems="true"
|
||||
focusBitmapUri="pkg:/images/focus_grid.9.png"
|
||||
focusBitmapUri="pkg:/images/focus-glow-padding-19.9.png"
|
||||
/>
|
||||
</children>
|
||||
</component>
|
||||
@@ -46,7 +46,7 @@
|
||||
showRowLabel="[true]"
|
||||
rowFocusAnimationStyle="floatingfocus"
|
||||
variableWidthItems="true"
|
||||
focusBitmapUri="pkg:/images/focus_grid.9.png"
|
||||
focusBitmapUri="pkg:/images/focus-glow-padding-19.9.png"
|
||||
/>
|
||||
<Animation
|
||||
id="scrollAnimation"
|
||||
|
||||
+3
-2
@@ -30,12 +30,13 @@
|
||||
<MarkupGrid
|
||||
id="instances"
|
||||
itemComponentName="InvidiousPublicInstancesListItem"
|
||||
itemSize="[860,16]"
|
||||
itemSize="[810,16]"
|
||||
itemSpacing="[0,20]"
|
||||
numColumns="1"
|
||||
numRows="7"
|
||||
vertFocusAnimationStyle="floatingFocus"
|
||||
translation="[0,46]" />
|
||||
translation="[0,46]"
|
||||
focusBitmapUri="pkg:/images/white_border.9.png" />
|
||||
|
||||
</children>
|
||||
</component>
|
||||
+1
-1
@@ -42,7 +42,7 @@
|
||||
<Label
|
||||
id="healthLabel"
|
||||
font="font:SmallestSystemFont"
|
||||
width="100"
|
||||
width="60"
|
||||
translation="[750,0]" />
|
||||
</children>
|
||||
</component>
|
||||
@@ -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"
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 7.3 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 7.3 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1017 B |
Reference in new issue
Block a user