Skip to content

Commit

Permalink
new mockups added.
Browse files Browse the repository at this point in the history
credit to Faelessoal and Liaher from DeviantArt
  • Loading branch information
DineshSolanki committed Aug 9, 2021
1 parent d633ae1 commit 529fd4a
Show file tree
Hide file tree
Showing 14 changed files with 198 additions and 2 deletions.
6 changes: 6 additions & 0 deletions FoliCon/FoliCon.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ dineshsolanki.github.io/folicon/</Description>
<None Remove="Resources\folicon Icon.png" />
<None Remove="Resources\LoadingPosterImage.png" />
<None Remove="Resources\mockup cover cropped.png" />
<None Remove="Resources\Mockup faelessoal base.png" />
<None Remove="Resources\mockup faelessoal front.png" />
<None Remove="Resources\mockup liaher base.png" />
<None Remove="Resources\mockup2base.png" />
<None Remove="Resources\No-WiFi.png" />
<None Remove="Resources\NoPosterAvailable.png" />
Expand Down Expand Up @@ -51,6 +54,9 @@ dineshsolanki.github.io/folicon/</Description>
<Resource Include="Resources\folicon Icon.png" />
<Resource Include="Resources\LoadingPosterImage.png" />
<Resource Include="Resources\mockup cover cropped.png" />
<Resource Include="Resources\Mockup faelessoal base.png" />
<Resource Include="Resources\mockup faelessoal front.png" />
<Resource Include="Resources\mockup liaher base.png" />
<Resource Include="Resources\mockup2base.png" />
<Resource Include="Resources\No-WiFi.png" />
<Resource Include="Resources\NoPosterAvailable.png" />
Expand Down
Binary file added FoliCon/Resources/Mockup faelessoal base.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added FoliCon/Resources/mockup faelessoal front.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added FoliCon/Resources/mockup liaher base.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added FoliCon/Resources/mockup liaher front.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 0 additions & 2 deletions FoliCon/ViewModels/MainWindowViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,8 @@
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Data;
using System.Globalization;
using System.IO;
using System.Net.NetworkInformation;
using System.Threading;
using HandyControl.Tools.Extension;

namespace FoliCon.ViewModels
Expand Down
36 changes: 36 additions & 0 deletions FoliCon/Views/PosterIconFaelessoal.xaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<UserControl x:Class="FoliCon.Views.PosterIconFaelessoal"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:prism="http://prismlibrary.com/"
xmlns:model="clr-namespace:FoliCon.Models"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
prism:ViewModelLocator.AutoWireViewModel="False" Width="265" Height="256"
d:DataContext="{d:DesignInstance Type=model:PosterIcon, IsDesignTimeCreatable=True}">
<!--DataContext="{DynamicResource PosterIcon}">-->
<Grid Margin="0,0,0,-11">
<Image Source="/Resources/Mockup faelessoal base.png" RenderOptions.BitmapScalingMode="HighQuality" Margin="-8,0,0,10" Visibility="{Binding MockupVisibility}" />
<Border CornerRadius="7,7,7,7" Grid.Row="0" Margin="27,4,54,27">
<Border.Background>
<ImageBrush Stretch="Fill" ImageSource="{Binding FolderJpg}" />
</Border.Background>
</Border>

<!--<Image Stretch="Fill" Source="{Binding FolderJpg}" RenderOptions.BitmapScalingMode="HighQuality" Grid.Row="0" Margin="34,10,42,21" />-->
<Image Source="/Resources/mockup faelessoal front.png" RenderOptions.BitmapScalingMode="HighQuality" Margin="0,-4,8,9" Visibility="{Binding MockupVisibility}"/>
<Grid Grid.Row="0">
<Grid.RowDefinitions>
<RowDefinition Height="*" />
<RowDefinition Height="100" />
<RowDefinition Height="100" />
</Grid.RowDefinitions>
<Image x:Name="Shield" Source="../Resources/shield.png" RenderOptions.BitmapScalingMode="HighQuality"
Margin="160,97,6,5" Panel.ZIndex="2" Visibility="{Binding RatingVisibility}" Grid.Row="1" Grid.RowSpan="2" />
<TextBlock x:Name="Ratingtext" Text="{Binding Rating}" HorizontalAlignment="Center"
VerticalAlignment="Center" FontFamily="Castellar" FontStyle="Italic"
Visibility="{Binding RatingVisibility}" FontSize="25" Margin="189,30,21,24" Panel.ZIndex="3"
Grid.Row="2" Width="55" Height="46" />
</Grid>
</Grid>
</UserControl>
28 changes: 28 additions & 0 deletions FoliCon/Views/PosterIconFaelessoal.xaml.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace FoliCon.Views
{
/// <summary>
/// Interaction logic for PosterIconFaelessoal.xaml
/// </summary>
public partial class PosterIconFaelessoal : UserControl
{
public PosterIconFaelessoal()
{
InitializeComponent();
}
}
}
36 changes: 36 additions & 0 deletions FoliCon/Views/PosterIconFaelessoalHorizontal.xaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<UserControl x:Class="FoliCon.Views.PosterIconFaelessoalHorizontal"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:prism="http://prismlibrary.com/"
xmlns:model="clr-namespace:FoliCon.Models"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
prism:ViewModelLocator.AutoWireViewModel="False" Width="265" Height="256"
d:DataContext="{d:DesignInstance Type=model:PosterIcon, IsDesignTimeCreatable=True}">
<!--DataContext="{DynamicResource PosterIcon}">-->
<Grid Margin="0,0,0,-11">
<Image Source="/Resources/mockup Faelessoal base horizontal.png" RenderOptions.BitmapScalingMode="HighQuality" Margin="-8,0,0,10" Visibility="{Binding MockupVisibility}" />
<Border CornerRadius="7,7,7,7" Grid.Row="0" Margin="1,65,9,29">
<Border.Background>
<ImageBrush Stretch="Fill" ImageSource="{Binding FolderJpg}" />
</Border.Background>
</Border>

<!--<Image Stretch="Fill" Source="{Binding FolderJpg}" RenderOptions.BitmapScalingMode="HighQuality" Grid.Row="0" Margin="34,10,42,21" />-->
<Image Source="/Resources/mockup Faelessoal front horizontal.png" RenderOptions.BitmapScalingMode="HighQuality" Margin="0,-4,8,9" Visibility="{Binding MockupVisibility}"/>
<Grid Grid.Row="0">
<Grid.RowDefinitions>
<RowDefinition Height="*" />
<RowDefinition Height="100" />
<RowDefinition Height="100" />
</Grid.RowDefinitions>
<Image x:Name="Shield" Source="../Resources/shield.png" RenderOptions.BitmapScalingMode="HighQuality"
Margin="160,97,6,5" Panel.ZIndex="2" Visibility="{Binding RatingVisibility}" Grid.Row="1" Grid.RowSpan="2" />
<TextBlock x:Name="Ratingtext" Text="{Binding Rating}" HorizontalAlignment="Center"
VerticalAlignment="Center" FontFamily="Castellar" FontStyle="Italic"
Visibility="{Binding RatingVisibility}" FontSize="25" Margin="189,30,21,24" Panel.ZIndex="3"
Grid.Row="2" Width="55" Height="46" />
</Grid>
</Grid>
</UserControl>
28 changes: 28 additions & 0 deletions FoliCon/Views/PosterIconFaelessoalHorizontal.xaml.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace FoliCon.Views
{
/// <summary>
/// Interaction logic for PosterIconFaelessoalHorizontal.xaml
/// </summary>
public partial class PosterIconFaelessoalHorizontal : UserControl
{
public PosterIconFaelessoalHorizontal()
{
InitializeComponent();
}
}
}
36 changes: 36 additions & 0 deletions FoliCon/Views/PosterIconLiaher.xaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<UserControl x:Class="FoliCon.Views.PosterIconLiaher"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:prism="http://prismlibrary.com/"
xmlns:model="clr-namespace:FoliCon.Models"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
prism:ViewModelLocator.AutoWireViewModel="False" Width="265" Height="256"
d:DataContext="{d:DesignInstance Type=model:PosterIcon, IsDesignTimeCreatable=True}">
<!--DataContext="{DynamicResource PosterIcon}">-->
<Grid Margin="0,0,0,-11">
<Image Source="/Resources/mockup liaher base.png" RenderOptions.BitmapScalingMode="HighQuality" Margin="-8,0,0,10" Visibility="{Binding MockupVisibility}" />
<Border CornerRadius="8,8,8,8" Grid.Row="0" Margin="34,10,43,21">
<Border.Background>
<ImageBrush Stretch="Fill" ImageSource="{Binding FolderJpg}" />
</Border.Background>
</Border>

<!--<Image Stretch="Fill" Source="{Binding FolderJpg}" RenderOptions.BitmapScalingMode="HighQuality" Grid.Row="0" Margin="34,10,42,21" />-->
<Image Source="/Resources/mockup liaher front.png" RenderOptions.BitmapScalingMode="HighQuality" Margin="0,-6,8,5" Visibility="{Binding MockupVisibility}"/>
<Grid Grid.Row="0">
<Grid.RowDefinitions>
<RowDefinition Height="*" />
<RowDefinition Height="100" />
<RowDefinition Height="100" />
</Grid.RowDefinitions>
<Image x:Name="Shield" Source="../Resources/shield.png" RenderOptions.BitmapScalingMode="HighQuality"
Margin="160,97,6,5" Panel.ZIndex="2" Visibility="{Binding RatingVisibility}" Grid.Row="1" Grid.RowSpan="2" />
<TextBlock x:Name="Ratingtext" Text="{Binding Rating}" HorizontalAlignment="Center"
VerticalAlignment="Center" FontFamily="Castellar" FontStyle="Italic"
Visibility="{Binding RatingVisibility}" FontSize="25" Margin="189,30,21,24" Panel.ZIndex="3"
Grid.Row="2" Width="55" Height="46" />
</Grid>
</Grid>
</UserControl>
28 changes: 28 additions & 0 deletions FoliCon/Views/PosterIconLiaher.xaml.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace FoliCon.Views
{
/// <summary>
/// Interaction logic for PosterIconLiaher.xaml
/// </summary>
public partial class PosterIconLiaher : UserControl
{
public PosterIconLiaher()
{
InitializeComponent();
}
}
}

0 comments on commit 529fd4a

Please sign in to comment.