Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion components/seerr/SeerrDiscoveryScreen.bs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ sub init()
m.normalItemSize ' 9: Your Requests
]

m.categoryRows.focusBitmapUri = "pkg:/images/hd_focus.9.png"
m.categoryRows.focusBitmapUri = "pkg:/images/posterFocus.9.png"
m.categoryRows.focusBitmapBlendColor = ColorPalette.WHITE
m.categoryRows.focusFootprintBitmapUri = string.EMPTY
m.categoryRows.focusFootprintBlendColor = ColorPalette.TRANSPARENT
Expand Down
7 changes: 7 additions & 0 deletions components/seerr/SeerrPoster.bs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import "pkg:/source/utils/misc.bs"

sub init()
m.poster = m.top.findNode("poster")
m.posterMask = m.top.findNode("posterMask")
m.title = m.top.findNode("title")
m.backdrop = m.top.findNode("backdrop")
m.gradientOverlay = m.top.findNode("gradientOverlay")
Expand Down Expand Up @@ -42,6 +43,9 @@ sub itemContentChanged()
m.overlayTitle.width = width - 8
m.overlayTitle.height = height
m.overlayTitle.translation = [4, 0]

m.posterMask.maskUri = "pkg:/images/posterWideMask.png"
m.posterMask.maskSize = [width, height]
else
m.backdrop.width = m.normalWidth
m.backdrop.height = m.normalHeight
Expand All @@ -52,6 +56,9 @@ sub itemContentChanged()
m.gradientOverlay.translation = [0, 170]
m.overlayTitle.width = m.normalWidth - 8
m.overlayTitle.translation = [4, 185]

m.posterMask.maskUri = "pkg:/images/posterVertMask.png"
m.posterMask.maskSize = [m.normalWidth, m.normalHeight]
end if

' Set title from either title or name field
Expand Down
18 changes: 10 additions & 8 deletions components/seerr/SeerrPoster.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,15 @@
visible="true" />

<!-- Poster: 180x270 to match Home row MOVIE_POSTER size -->
<Poster id="poster"
width="180"
height="270"
translation="[0, 0]"
loadDisplayMode="scaleToZoom"
failedBitmapUri="pkg:/images/media_type_icons/movie.png"
loadingBitmapUri="pkg:/images/media_type_icons/movie.png" />
<MaskGroup id="posterMask">
<Poster id="poster"
width="180"
height="270"
translation="[0, 0]"
loadDisplayMode="scaleToZoom"
failedBitmapUri="pkg:/images/media_type_icons/movie.png"
loadingBitmapUri="pkg:/images/media_type_icons/movie.png" />
</MaskGroup>

<!-- Gradient overlay at bottom for genre text readability (hidden by default) -->
<Rectangle id="gradientOverlay"
Expand Down Expand Up @@ -58,4 +60,4 @@
maxWidth="172"
repeatCount="0" />
</children>
</component>
</component>