Jump to content
LaunchBox Community Forums
ethoronath

Show 2 ScreenShot Title & Gameplay

Recommended Posts

Hi all, I try show in my theme two images, "Screenshot - Game Title" and "Screenshot - Gameplay"

This is my code.....

I know that "Path=ActiveGame.ScreenshotGameplayImagePath" it's not correct, and it's correct "Path=ActiveGame.ScreenshotImagePath" but It's posible show the 2 images at time???

Spoiler

            <!-- IMAGE TITLE START -->
            <Image x:Name="ImageTitle" Grid.Column="12" Grid.Row="11" Source="{Binding Path=ActiveGame.ScreenshotImagePath}" HorizontalAlignment="Center" VerticalAlignment="Center"
                   Stretch="Fill" Panel.ZIndex="2" >
            </Image>
            <!-- IMAGE TITLE END -->

            <!-- IMAGE SCREEN START -->
            <Image x:Name="ImageScreen" Grid.Column="14" Grid.Row="11" Source="{Binding Path=ActiveGame.ScreenshotGameplayImagePath}" HorizontalAlignment="Center" VerticalAlignment="Center"
                   Stretch="Fill" Panel.ZIndex="2" />
            <!-- IMAGE SCREEN END -->

 

Share this post


Link to post
Share on other sites

@ethoronath Very nice; that theme is looking really great. It looks like you'll need a way to specifically retrieve "Screenshot - Game Title" and "Screenshot - Gameplay" images from the XAML, which I don't think exists yet, sadly. It could certainly be done with a plugin, but otherwise it looks like I'll have to code something in for it. The existing "ScreenshotImagePath" property just returns a random screenshot from the game, and doesn't restrict the type of screenshot.

I can add something in, but then it won't be widely available until the next release. Do you still want me to tackle that?

Share this post


Link to post
Share on other sites

Thanks, I have solved it putting the Screenshot - Game Play in the folder Banner, and using this line of code.

 

<!-- IMAGE SCREEN START -->
            <Image x:Name="ImageScreen" Grid.Column="14" Grid.Row="11" Source="{Binding Path=ActiveGame.BannerImagePath}" HorizontalAlignment="Center" VerticalAlignment="Center"
                   Stretch="Fill" Panel.ZIndex="2" />
            <!-- IMAGE SCREEN END -->

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×