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]"
|
showRowLabel="[true]"
|
||||||
rowFocusAnimationStyle="floatingfocus"
|
rowFocusAnimationStyle="floatingfocus"
|
||||||
variableWidthItems="true"
|
variableWidthItems="true"
|
||||||
focusBitmapUri="pkg:/images/focus_grid.9.png" />
|
focusBitmapUri="pkg:/images/focus-glow-padding-19.9.png" />
|
||||||
|
|
||||||
<Animation
|
<Animation
|
||||||
id="scrollAnimation"
|
id="scrollAnimation"
|
||||||
|
|||||||
@@ -57,8 +57,8 @@
|
|||||||
numColumns="1"
|
numColumns="1"
|
||||||
numRows="5"
|
numRows="5"
|
||||||
vertFocusAnimationStyle="floatingFocus"
|
vertFocusAnimationStyle="floatingFocus"
|
||||||
translation="[620,90]" />
|
translation="[620,90]"
|
||||||
|
focusBitmapUri="pkg:/images/focus-glow-padding-27.9.png" />
|
||||||
</Poster>
|
</Poster>
|
||||||
</children>
|
</children>
|
||||||
</component>
|
</component>
|
||||||
@@ -31,7 +31,7 @@
|
|||||||
showRowLabel="[true]"
|
showRowLabel="[true]"
|
||||||
rowFocusAnimationStyle="floatingfocus"
|
rowFocusAnimationStyle="floatingfocus"
|
||||||
variableWidthItems="true"
|
variableWidthItems="true"
|
||||||
focusBitmapUri="pkg:/images/focus_grid.9.png"
|
focusBitmapUri="pkg:/images/focus-glow-padding-19.9.png"
|
||||||
/>
|
/>
|
||||||
</Group>
|
</Group>
|
||||||
</children>
|
</children>
|
||||||
|
|||||||
@@ -20,7 +20,7 @@
|
|||||||
showRowLabel="[true]"
|
showRowLabel="[true]"
|
||||||
rowFocusAnimationStyle="floatingfocus"
|
rowFocusAnimationStyle="floatingfocus"
|
||||||
variableWidthItems="true"
|
variableWidthItems="true"
|
||||||
focusBitmapUri="pkg:/images/focus_grid.9.png"
|
focusBitmapUri="pkg:/images/focus-glow-padding-19.9.png"
|
||||||
/>
|
/>
|
||||||
</children>
|
</children>
|
||||||
</component>
|
</component>
|
||||||
@@ -46,7 +46,7 @@
|
|||||||
showRowLabel="[true]"
|
showRowLabel="[true]"
|
||||||
rowFocusAnimationStyle="floatingfocus"
|
rowFocusAnimationStyle="floatingfocus"
|
||||||
variableWidthItems="true"
|
variableWidthItems="true"
|
||||||
focusBitmapUri="pkg:/images/focus_grid.9.png"
|
focusBitmapUri="pkg:/images/focus-glow-padding-19.9.png"
|
||||||
/>
|
/>
|
||||||
<Animation
|
<Animation
|
||||||
id="scrollAnimation"
|
id="scrollAnimation"
|
||||||
|
|||||||
+3
-2
@@ -30,12 +30,13 @@
|
|||||||
<MarkupGrid
|
<MarkupGrid
|
||||||
id="instances"
|
id="instances"
|
||||||
itemComponentName="InvidiousPublicInstancesListItem"
|
itemComponentName="InvidiousPublicInstancesListItem"
|
||||||
itemSize="[860,16]"
|
itemSize="[810,16]"
|
||||||
itemSpacing="[0,20]"
|
itemSpacing="[0,20]"
|
||||||
numColumns="1"
|
numColumns="1"
|
||||||
numRows="7"
|
numRows="7"
|
||||||
vertFocusAnimationStyle="floatingFocus"
|
vertFocusAnimationStyle="floatingFocus"
|
||||||
translation="[0,46]" />
|
translation="[0,46]"
|
||||||
|
focusBitmapUri="pkg:/images/white_border.9.png" />
|
||||||
|
|
||||||
</children>
|
</children>
|
||||||
</component>
|
</component>
|
||||||
+1
-1
@@ -42,7 +42,7 @@
|
|||||||
<Label
|
<Label
|
||||||
id="healthLabel"
|
id="healthLabel"
|
||||||
font="font:SmallestSystemFont"
|
font="font:SmallestSystemFont"
|
||||||
width="100"
|
width="60"
|
||||||
translation="[750,0]" />
|
translation="[750,0]" />
|
||||||
</children>
|
</children>
|
||||||
</component>
|
</component>
|
||||||
@@ -44,7 +44,8 @@
|
|||||||
numColumns="1"
|
numColumns="1"
|
||||||
numRows="6"
|
numRows="6"
|
||||||
vertFocusAnimationStyle="floatingFocus"
|
vertFocusAnimationStyle="floatingFocus"
|
||||||
translation="[20,90]" />
|
translation="[20,90]"
|
||||||
|
focusBitmapUri="pkg:/images/focus-glow-padding-27.9.png" />
|
||||||
</Rectangle>
|
</Rectangle>
|
||||||
|
|
||||||
<Animation id="showAnimation"
|
<Animation id="showAnimation"
|
||||||
|
|||||||
@@ -56,12 +56,14 @@ function SetHighlight() as void
|
|||||||
contentIndex = content.queueIndex
|
contentIndex = content.queueIndex
|
||||||
index = m.top.index
|
index = m.top.index
|
||||||
|
|
||||||
if contentIndex = index
|
highlighted = contentIndex = index
|
||||||
|
|
||||||
|
if highlighted
|
||||||
' bs:disable-next-line LINT3023
|
' bs:disable-next-line LINT3023
|
||||||
m.top.thumbnailBlendColor = "#FFFFFFFF"
|
m.top.thumbnailBlendColor = "#FFFFFFFF"
|
||||||
m.top.highlightUri = "pkg:/images/focus_grid.9.png"
|
|
||||||
else
|
else
|
||||||
m.top.thumbnailBlendColor = "#606060FF"
|
m.top.thumbnailBlendColor = "#606060FF"
|
||||||
m.top.highlightUri = ""
|
|
||||||
end if
|
end if
|
||||||
|
|
||||||
|
m.top.highlightVisible = highlighted
|
||||||
end function
|
end function
|
||||||
@@ -5,7 +5,7 @@
|
|||||||
<field id="title" type="string" alias="titleLabel.text" />
|
<field id="title" type="string" alias="titleLabel.text" />
|
||||||
<field id="thumbnailUri" type="uri" alias="thumbnailPoster.uri" />
|
<field id="thumbnailUri" type="uri" alias="thumbnailPoster.uri" />
|
||||||
<field id="thumbnailBlendColor" type="color" alias="thumbnailPoster.blendColor" />
|
<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="duration" type="string" alias="durationLabel.text" />
|
||||||
<field id="durationRectVisible" type="boolean" alias="durationRect.visible" />
|
<field id="durationRectVisible" type="boolean" alias="durationRect.visible" />
|
||||||
</interface>
|
</interface>
|
||||||
@@ -36,9 +36,9 @@
|
|||||||
<Poster
|
<Poster
|
||||||
id="highlightPoster"
|
id="highlightPoster"
|
||||||
blendColor="0xFF1C30"
|
blendColor="0xFF1C30"
|
||||||
|
uri="pkg:/images/focus_grid.9.png"
|
||||||
width="164"
|
width="164"
|
||||||
height="94" />
|
height="94" />
|
||||||
|
|
||||||
<Label
|
<Label
|
||||||
id="titleLabel"
|
id="titleLabel"
|
||||||
width="260"
|
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