Jump to content
LaunchBox Community Forums

Unified Refried 2.0


RetroHumanoid

Recommended Posts

1 minute ago, faeran said:

Yeah, both should be done using code. Depending on the opacity mask, you may find it easier to use an image.

With the new flow control stuff, you would just need to replace the code with other code. I may have time to give you an example at some point.

Brilliant thanks.  I downloaded the theme above and had a look at the code and saw this for the wheel so i will have a play with it tomorrow and see what happens :)

            <!-- WHEEL GLASS BAR AND SELECTED PLATFORM HIGHLIGHT -->
                <Grid x:Name="WheelHighlight1" Opacity="0.3" Panel.ZIndex="4">
                    <Grid.Background>
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                            <GradientStop Color="Black" Offset="0"/>
                            <GradientStop Color="Black" Offset="0.36"/>
                            <GradientStop Color="#00000000" Offset="0.40"/>
                            <GradientStop Color="#00000000" Offset="0.60"/>
                            <GradientStop Color="Black" Offset="0.64"/>                        
                        </LinearGradientBrush>
                    </Grid.Background>
                </Grid>
                <Grid x:Name="WheelHighlight2" Opacity="0.3" Panel.ZIndex="2">
                    <Grid.Background>
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                            <GradientStop Color="#00000000" Offset="0"/>
                            <GradientStop Color="#00000000" Offset="0.36"/>
                            <GradientStop Color="Black" Offset="0.40"/>
                            <GradientStop Color="Black" Offset="0.60"/>
                            <GradientStop Color="#00000000" Offset="0.64"/>                        
                        </LinearGradientBrush>
                    </Grid.Background>
                </Grid>
            </Grid>

 

Link to comment
Share on other sites

1 hour ago, PaulyC said:

Brilliant thanks.  I downloaded the theme above and had a look at the code and saw this for the wheel so i will have a play with it tomorrow and see what happens :)

            <!-- WHEEL GLASS BAR AND SELECTED PLATFORM HIGHLIGHT -->
                <Grid x:Name="WheelHighlight1" Opacity="0.3" Panel.ZIndex="4">
                    <Grid.Background>
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                            <GradientStop Color="Black" Offset="0"/>
                            <GradientStop Color="Black" Offset="0.36"/>
                            <GradientStop Color="#00000000" Offset="0.40"/>
                            <GradientStop Color="#00000000" Offset="0.60"/>
                            <GradientStop Color="Black" Offset="0.64"/>                        
                        </LinearGradientBrush>
                    </Grid.Background>
                </Grid>
                <Grid x:Name="WheelHighlight2" Opacity="0.3" Panel.ZIndex="2">
                    <Grid.Background>
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                            <GradientStop Color="#00000000" Offset="0"/>
                            <GradientStop Color="#00000000" Offset="0.36"/>
                            <GradientStop Color="Black" Offset="0.40"/>
                            <GradientStop Color="Black" Offset="0.60"/>
                            <GradientStop Color="#00000000" Offset="0.64"/>                        
                        </LinearGradientBrush>
                    </Grid.Background>
                </Grid>
            </Grid>

 

Here's an example code you can look at. You will need to replace the coverFlow code that's there with this one, and adjust what you need.

            <coverFlow:FlowControl x:Name="FlowControl" Grid.Column="4" Grid.ColumnSpan="3" Grid.Row="0" Grid.RowSpan="8" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Endless="True" Columns="1" ItemSpacing="1.5,0" SelectedScale="2,2" VisibleCount="7">
                <coverFlow:FlowControl.Camera>
                    <OrthographicCamera Position="0,0,5" LookDirection="0,0,-1" NearPlaneDistance=".01" FarPlaneDistance="1000" Width="5"/>
                </coverFlow:FlowControl.Camera>
                <coverFlow:FlowControl.FlowTemplate>
                    <DataTemplate>
                        <coverFlow:FlowContext>
                            <Grid Height="225" Width="500" Background="Transparent">
                                <Grid.Style>
                                    <Style TargetType="Grid">
                                        <Setter Property="Opacity" Value=".3"/>
                                        <Style.Triggers>
                                            <DataTrigger Binding="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type coverFlow:FlowContext}}, Path=IsItemSelected}" Value="True">
                                                <Setter Property="Opacity" Value="1"/>
                                            </DataTrigger>
                                        </Style.Triggers>
                                    </Style>
                                </Grid.Style>
                                <coverFlow:FlowImage ImageType="Clear Logo" Stretch="Uniform" StretchDirection="Both"/>
                            </Grid>
                        </coverFlow:FlowContext>
                    </DataTemplate>
                </coverFlow:FlowControl.FlowTemplate>
            </coverFlow:FlowControl>

 

Link to comment
Share on other sites

17 hours ago, faeran said:

Here's an example code you can look at. You will need to replace the coverFlow code that's there with this one, and adjust what you need.

            <coverFlow:FlowControl x:Name="FlowControl" Grid.Column="4" Grid.ColumnSpan="3" Grid.Row="0" Grid.RowSpan="8" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Endless="True" Columns="1" ItemSpacing="1.5,0" SelectedScale="2,2" VisibleCount="7">
                <coverFlow:FlowControl.Camera>
                    <OrthographicCamera Position="0,0,5" LookDirection="0,0,-1" NearPlaneDistance=".01" FarPlaneDistance="1000" Width="5"/>
                </coverFlow:FlowControl.Camera>
                <coverFlow:FlowControl.FlowTemplate>
                    <DataTemplate>
                        <coverFlow:FlowContext>
                            <Grid Height="225" Width="500" Background="Transparent">
                                <Grid.Style>
                                    <Style TargetType="Grid">
                                        <Setter Property="Opacity" Value=".3"/>
                                        <Style.Triggers>
                                            <DataTrigger Binding="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type coverFlow:FlowContext}}, Path=IsItemSelected}" Value="True">
                                                <Setter Property="Opacity" Value="1"/>
                                            </DataTrigger>
                                        </Style.Triggers>
                                    </Style>
                                </Grid.Style>
                                <coverFlow:FlowImage ImageType="Clear Logo" Stretch="Uniform" StretchDirection="Both"/>
                            </Grid>
                        </coverFlow:FlowContext>
                    </DataTemplate>
                </coverFlow:FlowControl.FlowTemplate>
            </coverFlow:FlowControl>

 

Thanks mate appreicate that, It worked perfectly 👍

Link to comment
Share on other sites

  • 10 months later...
  • 7 months later...

I am using the Unified Refried theme in Big Box.  When I select the Arcade platform and go to the list of games....I have a black background.  Can anyone tell me how to correct this so it matches the background on the platform page?

This is my games list with the black background.  

image.thumb.png.fc22f8c41963687a494199842ac06bb8.png

It should have the Arcade background to match the Platform list theme page.  Anyone know how to fix this?  I'm not sure why I lost the background in the first place.

image.thumb.png.f4b11b5a442bea3db02af3cddec56359.png

Link to comment
Share on other sites

3 minutes ago, asklenny said:

I am using the Unified Refried theme in Big Box.  When I select the Arcade platform and go to the list of games....I have a black background.  Can anyone tell me how to correct this so it matches the background on the platform page?

This is my games list with the black background.  

image.thumb.png.fc22f8c41963687a494199842ac06bb8.png

It should have the Arcade background to match the Platform list theme page.  Anyone know how to fix this?  I'm not sure why I lost the background in the first place.

image.thumb.png.f4b11b5a442bea3db02af3cddec56359.png

Is your platform named "Arcade" or something else? The images for the arcade platform in this theme would be called "Arcade" so your platform name would need to match. 

Also I deleted your 2 others posts about this. Only one post is needed. Please do not spam multiple threads on the same issue. 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...