@ -1,14 +1,14 @@
|
||||
<?xml version = "1.0" encoding = "UTF-8" ?>
|
||||
<Application xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||
xmlns:local="clr-namespace:mastermind"
|
||||
x:Class="mastermind.App">
|
||||
<Application.Resources>
|
||||
<ResourceDictionary>
|
||||
<ResourceDictionary.MergedDictionaries>
|
||||
<ResourceDictionary Source="Resources/Styles/Colors.xaml" />
|
||||
<ResourceDictionary Source="Resources/Styles/Styles.xaml" />
|
||||
</ResourceDictionary.MergedDictionaries>
|
||||
</ResourceDictionary>
|
||||
</Application.Resources>
|
||||
</Application>
|
||||
<?xml version = "1.0" encoding = "UTF-8" ?>
|
||||
<Application xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||
xmlns:local="clr-namespace:mastermind"
|
||||
x:Class="MauiSpark.App">
|
||||
<Application.Resources>
|
||||
<ResourceDictionary>
|
||||
<ResourceDictionary.MergedDictionaries>
|
||||
<ResourceDictionary Source="Resources/Styles/Colors.xaml" />
|
||||
<ResourceDictionary Source="Resources/Styles/Styles.xaml" />
|
||||
</ResourceDictionary.MergedDictionaries>
|
||||
</ResourceDictionary>
|
||||
</Application.Resources>
|
||||
</Application>
|
@ -1,43 +1,43 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<Shell
|
||||
x:Class="mastermind.AppShell"
|
||||
xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||
xmlns:local="clr-namespace:mastermind"
|
||||
xmlns:pages="clr-namespace:mastermind.Pages"
|
||||
Shell.NavBarIsVisible="False"
|
||||
Shell.FlyoutBehavior="Flyout"
|
||||
Title="mastermind">
|
||||
|
||||
|
||||
<ShellContent
|
||||
Title="TableauScore"
|
||||
ContentTemplate="{DataTemplate pages:TableauScore}"
|
||||
Route="Pages.TableauScore" />
|
||||
<ShellContent
|
||||
Title="Regle"
|
||||
ContentTemplate="{DataTemplate pages:Regle}"
|
||||
Route="Pages.Regle" />
|
||||
<ShellContent
|
||||
Title="Defaite"
|
||||
ContentTemplate="{DataTemplate pages:Defaite}"
|
||||
Route="Pages.Defaite" />
|
||||
<ShellContent
|
||||
Title="Egaliter"
|
||||
ContentTemplate="{DataTemplate pages:Egaliter}"
|
||||
Route="Pages.Egaliter" />
|
||||
<ShellContent
|
||||
Title="Victoire"
|
||||
ContentTemplate="{DataTemplate pages:Victoire}"
|
||||
Route="Pages.Victoire" />
|
||||
|
||||
<ShellContent
|
||||
Title="Accueil"
|
||||
ContentTemplate="{DataTemplate pages:Accueil}"
|
||||
Route="pages:Accueil" />
|
||||
|
||||
<ShellContent
|
||||
Title="Connexion"
|
||||
ContentTemplate="{DataTemplate pages:ConnexionPage}" />
|
||||
|
||||
</Shell>
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<Shell
|
||||
x:Class="mastermind.AppShell"
|
||||
xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||
xmlns:local="clr-namespace:MauiSpark"
|
||||
xmlns:pages="clr-namespace:MauiSpark.Pages"
|
||||
Shell.NavBarIsVisible="False"
|
||||
Shell.FlyoutBehavior="Flyout"
|
||||
Title="mastermind">
|
||||
|
||||
|
||||
<ShellContent
|
||||
Title="TableauScore"
|
||||
ContentTemplate="{DataTemplate pages:TableauScore}"
|
||||
Route="Pages.TableauScore" />
|
||||
<ShellContent
|
||||
Title="Regle"
|
||||
ContentTemplate="{DataTemplate pages:Regle}"
|
||||
Route="Pages.Regle" />
|
||||
<ShellContent
|
||||
Title="Defaite"
|
||||
ContentTemplate="{DataTemplate pages:Defaite}"
|
||||
Route="Pages.Defaite" />
|
||||
<ShellContent
|
||||
Title="Egaliter"
|
||||
ContentTemplate="{DataTemplate pages:Egaliter}"
|
||||
Route="Pages.Egaliter" />
|
||||
<ShellContent
|
||||
Title="Victoire"
|
||||
ContentTemplate="{DataTemplate pages:Victoire}"
|
||||
Route="Pages.Victoire" />
|
||||
|
||||
<ShellContent
|
||||
Title="Accueil"
|
||||
ContentTemplate="{DataTemplate pages:Accueil}"
|
||||
Route="pages:Accueil" />
|
||||
|
||||
<ShellContent
|
||||
Title="Connexion"
|
||||
ContentTemplate="{DataTemplate pages:ConnexionPage}" />
|
||||
|
||||
</Shell>
|
@ -1,53 +1,53 @@
|
||||
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||
x:Class="mastermind.Pages.Accueil"
|
||||
Title="Accueil">
|
||||
|
||||
<Grid
|
||||
ColumnDefinitions="*"
|
||||
RowDefinitions="*, *, *, *">
|
||||
|
||||
<Grid
|
||||
ColumnDefinitions="*"
|
||||
RowDefinitions="auto">
|
||||
|
||||
<ImageButton
|
||||
Style="{StaticResource AccueilBouton}"
|
||||
Source="pointinterrogation.png"
|
||||
HorizontalOptions="End"
|
||||
/>
|
||||
</Grid>
|
||||
|
||||
<Label
|
||||
Grid.Row="1"
|
||||
Text="MASTERMIND"
|
||||
FontSize="Header"
|
||||
HorizontalTextAlignment="Center"/>
|
||||
|
||||
<Button
|
||||
Grid.Row="2"
|
||||
Text="Jouer"
|
||||
/>
|
||||
|
||||
<Grid
|
||||
Grid.Row="3"
|
||||
VerticalOptions="End"
|
||||
ColumnDefinitions="*, *"
|
||||
RowDefinitions="auto">
|
||||
|
||||
<ImageButton
|
||||
Style="{StaticResource AccueilBouton}"
|
||||
Source="connexion.png"
|
||||
HorizontalOptions="Start"
|
||||
/>
|
||||
|
||||
<ImageButton
|
||||
Style="{StaticResource AccueilBouton}"
|
||||
Grid.Column="1"
|
||||
HorizontalOptions="End"
|
||||
Source="statistiques.png"
|
||||
/>
|
||||
</Grid>
|
||||
|
||||
</Grid>
|
||||
</ContentPage>
|
||||
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||
x:Class="mastermind.Pages.Accueil"
|
||||
Title="Accueil">
|
||||
|
||||
<Grid
|
||||
ColumnDefinitions="*"
|
||||
RowDefinitions="*, *, *, *">
|
||||
|
||||
<Grid
|
||||
ColumnDefinitions="*"
|
||||
RowDefinitions="auto">
|
||||
|
||||
<ImageButton
|
||||
Style="{StaticResource AccueilBouton}"
|
||||
Source="pointinterrogation.png"
|
||||
HorizontalOptions="End"
|
||||
/>
|
||||
</Grid>
|
||||
|
||||
<Label
|
||||
Grid.Row="1"
|
||||
Text="MASTERMIND"
|
||||
FontSize="Header"
|
||||
HorizontalTextAlignment="Center"/>
|
||||
|
||||
<Button
|
||||
Grid.Row="2"
|
||||
Text="Jouer"
|
||||
/>
|
||||
|
||||
<Grid
|
||||
Grid.Row="3"
|
||||
VerticalOptions="End"
|
||||
ColumnDefinitions="*, *"
|
||||
RowDefinitions="auto">
|
||||
|
||||
<ImageButton
|
||||
Style="{StaticResource AccueilBouton}"
|
||||
Source="connexion.png"
|
||||
HorizontalOptions="Start"
|
||||
/>
|
||||
|
||||
<ImageButton
|
||||
Style="{StaticResource AccueilBouton}"
|
||||
Grid.Column="1"
|
||||
HorizontalOptions="End"
|
||||
Source="statistiques.png"
|
||||
/>
|
||||
</Grid>
|
||||
|
||||
</Grid>
|
||||
</ContentPage>
|
@ -1,9 +1,9 @@
|
||||
namespace mastermind.Pages;
|
||||
|
||||
public partial class Accueil : ContentPage
|
||||
{
|
||||
public Accueil()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
namespace mastermind.Pages;
|
||||
|
||||
public partial class Accueil : ContentPage
|
||||
{
|
||||
public Accueil()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
@ -1,31 +1,31 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||
xmlns:Views="clr-namespace:mastermind.Views"
|
||||
x:Class="mastermind.Pages.ConnexionPage"
|
||||
Title="Connexion">
|
||||
<Grid
|
||||
ColumnDefinitions="*"
|
||||
RowDefinitions="*, auto, *">
|
||||
|
||||
<Label
|
||||
VerticalOptions="Center"
|
||||
Text="JOUEURS"
|
||||
HorizontalOptions="Center"
|
||||
FontSize="Header"
|
||||
Margin="0, 0, 0, 50"/>
|
||||
|
||||
<VerticalStackLayout
|
||||
Grid.Row="1"
|
||||
VerticalOptions="Center">
|
||||
|
||||
<Views:UsernameEntryView/>
|
||||
<Views:UsernameEntryView/>
|
||||
</VerticalStackLayout>
|
||||
|
||||
<Button
|
||||
VerticalOptions="Center"
|
||||
Grid.Row="2"
|
||||
Text="Se connecter"/>
|
||||
</Grid>
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||
xmlns:Views="clr-namespace:mastermind.Views"
|
||||
x:Class="mastermind.Pages.ConnexionPage"
|
||||
Title="Connexion">
|
||||
<Grid
|
||||
ColumnDefinitions="*"
|
||||
RowDefinitions="*, auto, *">
|
||||
|
||||
<Label
|
||||
VerticalOptions="Center"
|
||||
Text="JOUEURS"
|
||||
HorizontalOptions="Center"
|
||||
FontSize="Header"
|
||||
Margin="0, 0, 0, 50"/>
|
||||
|
||||
<VerticalStackLayout
|
||||
Grid.Row="1"
|
||||
VerticalOptions="Center">
|
||||
|
||||
<Views:UsernameEntryView/>
|
||||
<Views:UsernameEntryView/>
|
||||
</VerticalStackLayout>
|
||||
|
||||
<Button
|
||||
VerticalOptions="Center"
|
||||
Grid.Row="2"
|
||||
Text="Se connecter"/>
|
||||
</Grid>
|
||||
</ContentPage>
|
@ -1,9 +1,9 @@
|
||||
namespace mastermind.Pages;
|
||||
|
||||
public partial class ConnexionPage : ContentPage
|
||||
{
|
||||
public ConnexionPage()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
namespace mastermind.Pages;
|
||||
|
||||
public partial class ConnexionPage : ContentPage
|
||||
{
|
||||
public ConnexionPage()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
@ -1,20 +1,20 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||
x:Class="mastermind.Pages.Defaite"
|
||||
xmlns:pages="clr-namespace:mastermind.Pages"
|
||||
Title="Defaite">
|
||||
<VerticalStackLayout >
|
||||
<FlexLayout Direction="Row" JustifyContent="SpaceAround" AlignContent="Center" VerticalOptions="Center" Margin="10">
|
||||
<Image Source="defaite.png" MaximumHeightRequest="100" MaximumWidthRequest="100" />
|
||||
<Frame HorizontalOptions="Center" VerticalOptions="Center" Style="{StaticResource FrameTitrePage}" >
|
||||
<Label Text="Defaite" Style="{StaticResource TexteTitre}"/>
|
||||
</Frame>
|
||||
<Image Source="defaite.png" MaximumHeightRequest="100" MaximumWidthRequest="100"/>
|
||||
</FlexLayout>
|
||||
<Frame Margin="20">
|
||||
<Label HorizontalOptions="Center" Text="Aucun des deux joueurs, Joueur 1 et Joueur 2 n'a trouvé le code secret" Style="{StaticResource TexteFrame}"/>
|
||||
</Frame>
|
||||
<Button Text="Menu" VerticalOptions="End" HorizontalOptions="Center"></Button>
|
||||
</VerticalStackLayout>
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||
x:Class="mastermind.Pages.Defaite"
|
||||
xmlns:pages="clr-namespace:mastermind.Pages"
|
||||
Title="Defaite">
|
||||
<VerticalStackLayout >
|
||||
<FlexLayout Direction="Row" JustifyContent="SpaceAround" AlignContent="Center" VerticalOptions="Center" Margin="10">
|
||||
<Image Source="defaite.png" MaximumHeightRequest="100" MaximumWidthRequest="100" />
|
||||
<Frame HorizontalOptions="Center" VerticalOptions="Center" Style="{StaticResource FrameTitrePage}" >
|
||||
<Label Text="Defaite" Style="{StaticResource TexteTitre}"/>
|
||||
</Frame>
|
||||
<Image Source="defaite.png" MaximumHeightRequest="100" MaximumWidthRequest="100"/>
|
||||
</FlexLayout>
|
||||
<Frame Margin="20">
|
||||
<Label HorizontalOptions="Center" Text="Aucun des deux joueurs, Joueur 1 et Joueur 2 n'a trouvé le code secret" Style="{StaticResource TexteFrame}"/>
|
||||
</Frame>
|
||||
<Button Text="Menu" VerticalOptions="End" HorizontalOptions="Center"></Button>
|
||||
</VerticalStackLayout>
|
||||
</ContentPage>
|
@ -1,9 +1,9 @@
|
||||
namespace mastermind.Pages;
|
||||
|
||||
public partial class Defaite : ContentPage
|
||||
{
|
||||
public Defaite()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
namespace mastermind.Pages;
|
||||
|
||||
public partial class Defaite : ContentPage
|
||||
{
|
||||
public Defaite()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
@ -1,20 +1,20 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||
x:Class="mastermind.Pages.Egaliter"
|
||||
xmlns:pages="clr-namespace:mastermind.Pages"
|
||||
Title="Egaliter">
|
||||
<VerticalStackLayout>
|
||||
<FlexLayout Direction="Row" JustifyContent="SpaceAround" AlignContent="Center" VerticalOptions="Center" Margin="10">
|
||||
<Image Source="egaliter.jpg" MaximumHeightRequest="100" MaximumWidthRequest="100" />
|
||||
<Frame HorizontalOptions="Center" VerticalOptions="Center" Style="{StaticResource FrameTitrePage}">
|
||||
<Label Text="Egaliter" Style="{StaticResource TexteTitre}"/>
|
||||
</Frame>
|
||||
<Image Source="egaliter.jpg" MaximumHeightRequest="100" MaximumWidthRequest="100"/>
|
||||
</FlexLayout>
|
||||
<Frame Margin="20">
|
||||
<Label HorizontalOptions="Center" Text="Les deux joueur ont trouvé en même temps" Style="{StaticResource TexteFrame}"/>
|
||||
</Frame>
|
||||
<Button Text="Menu" VerticalOptions="End" HorizontalOptions="Center"></Button>
|
||||
</VerticalStackLayout>
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||
x:Class="mastermind.Pages.Egaliter"
|
||||
xmlns:pages="clr-namespace:mastermind.Pages"
|
||||
Title="Egaliter">
|
||||
<VerticalStackLayout>
|
||||
<FlexLayout Direction="Row" JustifyContent="SpaceAround" AlignContent="Center" VerticalOptions="Center" Margin="10">
|
||||
<Image Source="egaliter.jpg" MaximumHeightRequest="100" MaximumWidthRequest="100" />
|
||||
<Frame HorizontalOptions="Center" VerticalOptions="Center" Style="{StaticResource FrameTitrePage}">
|
||||
<Label Text="Egaliter" Style="{StaticResource TexteTitre}"/>
|
||||
</Frame>
|
||||
<Image Source="egaliter.jpg" MaximumHeightRequest="100" MaximumWidthRequest="100"/>
|
||||
</FlexLayout>
|
||||
<Frame Margin="20">
|
||||
<Label HorizontalOptions="Center" Text="Les deux joueur ont trouvé en même temps" Style="{StaticResource TexteFrame}"/>
|
||||
</Frame>
|
||||
<Button Text="Menu" VerticalOptions="End" HorizontalOptions="Center"></Button>
|
||||
</VerticalStackLayout>
|
||||
</ContentPage>
|
@ -1,9 +1,9 @@
|
||||
namespace mastermind.Pages;
|
||||
|
||||
public partial class Egaliter : ContentPage
|
||||
{
|
||||
public Egaliter()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
namespace mastermind.Pages;
|
||||
|
||||
public partial class Egaliter : ContentPage
|
||||
{
|
||||
public Egaliter()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
@ -1,9 +1,9 @@
|
||||
namespace mastermind.Pages;
|
||||
|
||||
public partial class Regle : ContentPage
|
||||
{
|
||||
public Regle()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
namespace mastermind.Pages;
|
||||
|
||||
public partial class Regle : ContentPage
|
||||
{
|
||||
public Regle()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
@ -1,43 +1,43 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||
xmlns:pages="clr-namespace:mastermind.Pages"
|
||||
xmlns:views="clr-namespace:mastermind.Views"
|
||||
x:Class="mastermind.Pages.TableauScore"
|
||||
Title="TableauScore">
|
||||
<ScrollView>
|
||||
<VerticalStackLayout>
|
||||
<FlexLayout Direction="Row" JustifyContent="SpaceAround" AlignContent="Center" VerticalOptions="Center" >
|
||||
<Image Source="star.png" WidthRequest="100" HorizontalOptions="End" VerticalOptions="Center" Margin="0,24,0,0"/>
|
||||
<Frame CornerRadius="5" Margin="10" HorizontalOptions="Center" VerticalOptions="Center" Style="{StaticResource FrameTitrePage}" >
|
||||
<Label Text="Scoreboard" Style="{StaticResource TexteTitre}"/>
|
||||
</Frame>
|
||||
<Grid RowDefinitions="auto,auto">
|
||||
<ImageButton Grid.Row="0" Style="{StaticResource ButtonFermeture}"/>
|
||||
<Image Grid.Row="1" Source="star.png" WidthRequest="100" HorizontalOptions="Start" VerticalOptions="Center" Margin="10"/>
|
||||
</Grid>
|
||||
</FlexLayout>
|
||||
<Frame Margin="20" >
|
||||
<Grid ColumnDefinitions="auto,*,auto,auto" ColumnSpacing="10">
|
||||
<Button Margin="0,5,5,5" Grid.Column="0" Text="RANK" Style="{StaticResource ButtonTableau}"></Button>
|
||||
<Button Margin="5" Grid.Column="1" Text="PSEUDO" Style="{StaticResource ButtonTableau}" HorizontalOptions="Start" ></Button>
|
||||
<Button Margin="5" Grid.Column="2" Text="Nombre de coût Moyen" Style="{StaticResource ButtonTableau}"></Button>
|
||||
<Button Margin="5" Grid.Column="3" Text="POINT" Style="{StaticResource ButtonTableau}"></Button>
|
||||
</Grid>
|
||||
</Frame>
|
||||
<views:CTableauScore/>
|
||||
<views:CTableauScore/>
|
||||
<views:CTableauScore/>
|
||||
<views:CTableauScore/>
|
||||
<views:CTableauScore/>
|
||||
<views:CTableauScore/>
|
||||
<views:CTableauScore/>
|
||||
<views:CTableauScore/>
|
||||
<views:CTableauScore/>
|
||||
<views:CTableauScore/>
|
||||
<views:CTableauScore/>
|
||||
<views:CTableauScore/>
|
||||
</VerticalStackLayout>
|
||||
</ScrollView>
|
||||
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||
xmlns:pages="clr-namespace:mastermind.Pages"
|
||||
xmlns:views="clr-namespace:mastermind.Views"
|
||||
x:Class="mastermind.Pages.TableauScore"
|
||||
Title="TableauScore">
|
||||
<ScrollView>
|
||||
<VerticalStackLayout>
|
||||
<FlexLayout Direction="Row" JustifyContent="SpaceAround" AlignContent="Center" VerticalOptions="Center" >
|
||||
<Image Source="star.png" WidthRequest="100" HorizontalOptions="End" VerticalOptions="Center" Margin="0,24,0,0"/>
|
||||
<Frame CornerRadius="5" Margin="10" HorizontalOptions="Center" VerticalOptions="Center" Style="{StaticResource FrameTitrePage}" >
|
||||
<Label Text="Scoreboard" Style="{StaticResource TexteTitre}"/>
|
||||
</Frame>
|
||||
<Grid RowDefinitions="auto,auto">
|
||||
<ImageButton Grid.Row="0" Style="{StaticResource ButtonFermeture}"/>
|
||||
<Image Grid.Row="1" Source="star.png" WidthRequest="100" HorizontalOptions="Start" VerticalOptions="Center" Margin="10"/>
|
||||
</Grid>
|
||||
</FlexLayout>
|
||||
<Frame Margin="20" >
|
||||
<Grid ColumnDefinitions="auto,*,auto,auto" ColumnSpacing="10">
|
||||
<Button Margin="0,5,5,5" Grid.Column="0" Text="RANK" Style="{StaticResource ButtonTableau}"></Button>
|
||||
<Button Margin="5" Grid.Column="1" Text="PSEUDO" Style="{StaticResource ButtonTableau}" HorizontalOptions="Start" ></Button>
|
||||
<Button Margin="5" Grid.Column="2" Text="Nombre de coût Moyen" Style="{StaticResource ButtonTableau}"></Button>
|
||||
<Button Margin="5" Grid.Column="3" Text="POINT" Style="{StaticResource ButtonTableau}"></Button>
|
||||
</Grid>
|
||||
</Frame>
|
||||
<views:CTableauScore/>
|
||||
<views:CTableauScore/>
|
||||
<views:CTableauScore/>
|
||||
<views:CTableauScore/>
|
||||
<views:CTableauScore/>
|
||||
<views:CTableauScore/>
|
||||
<views:CTableauScore/>
|
||||
<views:CTableauScore/>
|
||||
<views:CTableauScore/>
|
||||
<views:CTableauScore/>
|
||||
<views:CTableauScore/>
|
||||
<views:CTableauScore/>
|
||||
</VerticalStackLayout>
|
||||
</ScrollView>
|
||||
|
||||
</ContentPage>
|
@ -1,20 +1,20 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||
x:Class="mastermind.Pages.Victoire"
|
||||
xmlns:pages="clr-namespace:mastermind.Pages"
|
||||
Title="Victoire">
|
||||
<VerticalStackLayout>
|
||||
<FlexLayout Direction="Row" JustifyContent="SpaceAround" AlignContent="Center" VerticalOptions="Center" Margin="10">
|
||||
<Image Source="trophy.jpg" MaximumHeightRequest="100" MaximumWidthRequest="100" />
|
||||
<Frame HorizontalOptions="Center" VerticalOptions="Center" Style="{StaticResource FrameTitrePage}">
|
||||
<Label Text="Victoire" Style="{StaticResource TexteTitre}"></Label>
|
||||
</Frame>
|
||||
<Image Source="trophy.jpg" MaximumHeightRequest="100" MaximumWidthRequest="100"/>
|
||||
</FlexLayout>
|
||||
<Frame Margin="20" >
|
||||
<Label HorizontalOptions="Center" Text="Le joueur x a gagné" Style="{StaticResource TexteFrame}"/>
|
||||
</Frame>
|
||||
<Button Text="Menu" VerticalOptions="End" HorizontalOptions="Center"></Button>
|
||||
</VerticalStackLayout>
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||
x:Class="mastermind.Pages.Victoire"
|
||||
xmlns:pages="clr-namespace:mastermind.Pages"
|
||||
Title="Victoire">
|
||||
<VerticalStackLayout>
|
||||
<FlexLayout Direction="Row" JustifyContent="SpaceAround" AlignContent="Center" VerticalOptions="Center" Margin="10">
|
||||
<Image Source="trophy.jpg" MaximumHeightRequest="100" MaximumWidthRequest="100" />
|
||||
<Frame HorizontalOptions="Center" VerticalOptions="Center" Style="{StaticResource FrameTitrePage}">
|
||||
<Label Text="Victoire" Style="{StaticResource TexteTitre}"></Label>
|
||||
</Frame>
|
||||
<Image Source="trophy.jpg" MaximumHeightRequest="100" MaximumWidthRequest="100"/>
|
||||
</FlexLayout>
|
||||
<Frame Margin="20" >
|
||||
<Label HorizontalOptions="Center" Text="Le joueur x a gagné" Style="{StaticResource TexteFrame}"/>
|
||||
</Frame>
|
||||
<Button Text="Menu" VerticalOptions="End" HorizontalOptions="Center"></Button>
|
||||
</VerticalStackLayout>
|
||||
</ContentPage>
|
@ -1,9 +1,9 @@
|
||||
namespace mastermind.Pages;
|
||||
|
||||
public partial class Victoire : ContentPage
|
||||
{
|
||||
public Victoire()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
namespace mastermind.Pages;
|
||||
|
||||
public partial class Victoire : ContentPage
|
||||
{
|
||||
public Victoire()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
@ -1,9 +1,9 @@
|
||||
namespace mastermind.Pages;
|
||||
|
||||
public partial class TableauScore : ContentPage
|
||||
{
|
||||
public TableauScore()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
namespace mastermind.Pages;
|
||||
|
||||
public partial class TableauScore : ContentPage
|
||||
{
|
||||
public TableauScore()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<color name="colorPrimary">#512BD4</color>
|
||||
<color name="colorPrimaryDark">#2B0B98</color>
|
||||
<color name="colorAccent">#2B0B98</color>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<color name="colorPrimary">#512BD4</color>
|
||||
<color name="colorPrimaryDark">#2B0B98</color>
|
||||
<color name="colorAccent">#2B0B98</color>
|
||||
</resources>
|
@ -1,14 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<!-- See https://aka.ms/maui-publish-app-store#add-entitlements for more information about adding entitlements.-->
|
||||
<dict>
|
||||
<!-- App Sandbox must be enabled to distribute a MacCatalyst app through the Mac App Store. -->
|
||||
<key>com.apple.security.app-sandbox</key>
|
||||
<true/>
|
||||
<!-- When App Sandbox is enabled, this value is required to open outgoing network connections. -->
|
||||
<key>com.apple.security.network.client</key>
|
||||
<true/>
|
||||
</dict>
|
||||
</plist>
|
||||
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<!-- See https://aka.ms/maui-publish-app-store#add-entitlements for more information about adding entitlements.-->
|
||||
<dict>
|
||||
<!-- App Sandbox must be enabled to distribute a MacCatalyst app through the Mac App Store. -->
|
||||
<key>com.apple.security.app-sandbox</key>
|
||||
<true/>
|
||||
<!-- When App Sandbox is enabled, this value is required to open outgoing network connections. -->
|
||||
<key>com.apple.security.network.client</key>
|
||||
<true/>
|
||||
</dict>
|
||||
</plist>
|
||||
|
@ -1,38 +1,38 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<!-- The Mac App Store requires you specify if the app uses encryption. -->
|
||||
<!-- Please consult https://developer.apple.com/documentation/bundleresources/information_property_list/itsappusesnonexemptencryption -->
|
||||
<!-- <key>ITSAppUsesNonExemptEncryption</key> -->
|
||||
<!-- Please indicate <true/> or <false/> here. -->
|
||||
|
||||
<!-- Specify the category for your app here. -->
|
||||
<!-- Please consult https://developer.apple.com/documentation/bundleresources/information_property_list/lsapplicationcategorytype -->
|
||||
<!-- <key>LSApplicationCategoryType</key> -->
|
||||
<!-- <string>public.app-category.YOUR-CATEGORY-HERE</string> -->
|
||||
<key>UIDeviceFamily</key>
|
||||
<array>
|
||||
<integer>2</integer>
|
||||
</array>
|
||||
<key>UIRequiredDeviceCapabilities</key>
|
||||
<array>
|
||||
<string>arm64</string>
|
||||
</array>
|
||||
<key>UISupportedInterfaceOrientations</key>
|
||||
<array>
|
||||
<string>UIInterfaceOrientationPortrait</string>
|
||||
<string>UIInterfaceOrientationLandscapeLeft</string>
|
||||
<string>UIInterfaceOrientationLandscapeRight</string>
|
||||
</array>
|
||||
<key>UISupportedInterfaceOrientations~ipad</key>
|
||||
<array>
|
||||
<string>UIInterfaceOrientationPortrait</string>
|
||||
<string>UIInterfaceOrientationPortraitUpsideDown</string>
|
||||
<string>UIInterfaceOrientationLandscapeLeft</string>
|
||||
<string>UIInterfaceOrientationLandscapeRight</string>
|
||||
</array>
|
||||
<key>XSAppIconAssets</key>
|
||||
<string>Assets.xcassets/appicon.appiconset</string>
|
||||
</dict>
|
||||
</plist>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<!-- The Mac App Store requires you specify if the app uses encryption. -->
|
||||
<!-- Please consult https://developer.apple.com/documentation/bundleresources/information_property_list/itsappusesnonexemptencryption -->
|
||||
<!-- <key>ITSAppUsesNonExemptEncryption</key> -->
|
||||
<!-- Please indicate <true/> or <false/> here. -->
|
||||
|
||||
<!-- Specify the category for your app here. -->
|
||||
<!-- Please consult https://developer.apple.com/documentation/bundleresources/information_property_list/lsapplicationcategorytype -->
|
||||
<!-- <key>LSApplicationCategoryType</key> -->
|
||||
<!-- <string>public.app-category.YOUR-CATEGORY-HERE</string> -->
|
||||
<key>UIDeviceFamily</key>
|
||||
<array>
|
||||
<integer>2</integer>
|
||||
</array>
|
||||
<key>UIRequiredDeviceCapabilities</key>
|
||||
<array>
|
||||
<string>arm64</string>
|
||||
</array>
|
||||
<key>UISupportedInterfaceOrientations</key>
|
||||
<array>
|
||||
<string>UIInterfaceOrientationPortrait</string>
|
||||
<string>UIInterfaceOrientationLandscapeLeft</string>
|
||||
<string>UIInterfaceOrientationLandscapeRight</string>
|
||||
</array>
|
||||
<key>UISupportedInterfaceOrientations~ipad</key>
|
||||
<array>
|
||||
<string>UIInterfaceOrientationPortrait</string>
|
||||
<string>UIInterfaceOrientationPortraitUpsideDown</string>
|
||||
<string>UIInterfaceOrientationLandscapeLeft</string>
|
||||
<string>UIInterfaceOrientationLandscapeRight</string>
|
||||
</array>
|
||||
<key>XSAppIconAssets</key>
|
||||
<string>Assets.xcassets/appicon.appiconset</string>
|
||||
</dict>
|
||||
</plist>
|
@ -1,17 +1,17 @@
|
||||
using Microsoft.Maui;
|
||||
using Microsoft.Maui.Hosting;
|
||||
using System;
|
||||
|
||||
namespace mastermind
|
||||
{
|
||||
internal class Program : MauiApplication
|
||||
{
|
||||
protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp();
|
||||
|
||||
static void Main(string[] args)
|
||||
{
|
||||
var app = new Program();
|
||||
app.Run(args);
|
||||
}
|
||||
}
|
||||
}
|
||||
using Microsoft.Maui;
|
||||
using Microsoft.Maui.Hosting;
|
||||
using System;
|
||||
|
||||
namespace mastermind
|
||||
{
|
||||
internal class Program : MauiApplication
|
||||
{
|
||||
protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp();
|
||||
|
||||
static void Main(string[] args)
|
||||
{
|
||||
var app = new Program();
|
||||
app.Run(args);
|
||||
}
|
||||
}
|
||||
}
|
@ -1,8 +1,8 @@
|
||||
<maui:MauiWinUIApplication
|
||||
x:Class="mastermind.WinUI.App"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:maui="using:Microsoft.Maui"
|
||||
xmlns:local="using:mastermind.WinUI">
|
||||
|
||||
</maui:MauiWinUIApplication>
|
||||
<maui:MauiWinUIApplication
|
||||
x:Class="mastermind.WinUI.App"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:maui="using:Microsoft.Maui"
|
||||
xmlns:local="using:mastermind.WinUI">
|
||||
|
||||
</maui:MauiWinUIApplication>
|
@ -1,46 +1,46 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Package
|
||||
xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10"
|
||||
xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10"
|
||||
xmlns:mp="http://schemas.microsoft.com/appx/2014/phone/manifest"
|
||||
xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities"
|
||||
IgnorableNamespaces="uap rescap">
|
||||
|
||||
<Identity Name="maui-package-name-placeholder" Publisher="CN=User Name" Version="0.0.0.0" />
|
||||
|
||||
<mp:PhoneIdentity PhoneProductId="8382CC0C-B479-4409-8C7A-400B666C63FE" PhonePublisherId="00000000-0000-0000-0000-000000000000"/>
|
||||
|
||||
<Properties>
|
||||
<DisplayName>$placeholder$</DisplayName>
|
||||
<PublisherDisplayName>User Name</PublisherDisplayName>
|
||||
<Logo>$placeholder$.png</Logo>
|
||||
</Properties>
|
||||
|
||||
<Dependencies>
|
||||
<TargetDeviceFamily Name="Windows.Universal" MinVersion="10.0.17763.0" MaxVersionTested="10.0.19041.0" />
|
||||
<TargetDeviceFamily Name="Windows.Desktop" MinVersion="10.0.17763.0" MaxVersionTested="10.0.19041.0" />
|
||||
</Dependencies>
|
||||
|
||||
<Resources>
|
||||
<Resource Language="x-generate" />
|
||||
</Resources>
|
||||
|
||||
<Applications>
|
||||
<Application Id="App" Executable="$targetnametoken$.exe" EntryPoint="$targetentrypoint$">
|
||||
<uap:VisualElements
|
||||
DisplayName="$placeholder$"
|
||||
Description="$placeholder$"
|
||||
Square150x150Logo="$placeholder$.png"
|
||||
Square44x44Logo="$placeholder$.png"
|
||||
BackgroundColor="transparent">
|
||||
<uap:DefaultTile Square71x71Logo="$placeholder$.png" Wide310x150Logo="$placeholder$.png" Square310x310Logo="$placeholder$.png" />
|
||||
<uap:SplashScreen Image="$placeholder$.png" />
|
||||
</uap:VisualElements>
|
||||
</Application>
|
||||
</Applications>
|
||||
|
||||
<Capabilities>
|
||||
<rescap:Capability Name="runFullTrust" />
|
||||
</Capabilities>
|
||||
|
||||
</Package>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Package
|
||||
xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10"
|
||||
xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10"
|
||||
xmlns:mp="http://schemas.microsoft.com/appx/2014/phone/manifest"
|
||||
xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities"
|
||||
IgnorableNamespaces="uap rescap">
|
||||
|
||||
<Identity Name="maui-package-name-placeholder" Publisher="CN=User Name" Version="0.0.0.0" />
|
||||
|
||||
<mp:PhoneIdentity PhoneProductId="8382CC0C-B479-4409-8C7A-400B666C63FE" PhonePublisherId="00000000-0000-0000-0000-000000000000"/>
|
||||
|
||||
<Properties>
|
||||
<DisplayName>$placeholder$</DisplayName>
|
||||
<PublisherDisplayName>User Name</PublisherDisplayName>
|
||||
<Logo>$placeholder$.png</Logo>
|
||||
</Properties>
|
||||
|
||||
<Dependencies>
|
||||
<TargetDeviceFamily Name="Windows.Universal" MinVersion="10.0.17763.0" MaxVersionTested="10.0.19041.0" />
|
||||
<TargetDeviceFamily Name="Windows.Desktop" MinVersion="10.0.17763.0" MaxVersionTested="10.0.19041.0" />
|
||||
</Dependencies>
|
||||
|
||||
<Resources>
|
||||
<Resource Language="x-generate" />
|
||||
</Resources>
|
||||
|
||||
<Applications>
|
||||
<Application Id="App" Executable="$targetnametoken$.exe" EntryPoint="$targetentrypoint$">
|
||||
<uap:VisualElements
|
||||
DisplayName="$placeholder$"
|
||||
Description="$placeholder$"
|
||||
Square150x150Logo="$placeholder$.png"
|
||||
Square44x44Logo="$placeholder$.png"
|
||||
BackgroundColor="transparent">
|
||||
<uap:DefaultTile Square71x71Logo="$placeholder$.png" Wide310x150Logo="$placeholder$.png" Square310x310Logo="$placeholder$.png" />
|
||||
<uap:SplashScreen Image="$placeholder$.png" />
|
||||
</uap:VisualElements>
|
||||
</Application>
|
||||
</Applications>
|
||||
|
||||
<Capabilities>
|
||||
<rescap:Capability Name="runFullTrust" />
|
||||
</Capabilities>
|
||||
|
||||
</Package>
|
@ -1,15 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
<assemblyIdentity version="1.0.0.0" name="mastermind.WinUI.app"/>
|
||||
|
||||
<application xmlns="urn:schemas-microsoft-com:asm.v3">
|
||||
<windowsSettings>
|
||||
<!-- The combination of below two tags have the following effect:
|
||||
1) Per-Monitor for >= Windows 10 Anniversary Update
|
||||
2) System < Windows 10 Anniversary Update
|
||||
-->
|
||||
<dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true/PM</dpiAware>
|
||||
<dpiAwareness xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">PerMonitorV2, PerMonitor</dpiAwareness>
|
||||
</windowsSettings>
|
||||
</application>
|
||||
</assembly>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
<assemblyIdentity version="1.0.0.0" name="mastermind.WinUI.app"/>
|
||||
|
||||
<application xmlns="urn:schemas-microsoft-com:asm.v3">
|
||||
<windowsSettings>
|
||||
<!-- The combination of below two tags have the following effect:
|
||||
1) Per-Monitor for >= Windows 10 Anniversary Update
|
||||
2) System < Windows 10 Anniversary Update
|
||||
-->
|
||||
<dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true/PM</dpiAware>
|
||||
<dpiAwareness xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">PerMonitorV2, PerMonitor</dpiAwareness>
|
||||
</windowsSettings>
|
||||
</application>
|
||||
</assembly>
|
@ -1,32 +1,32 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>LSRequiresIPhoneOS</key>
|
||||
<true/>
|
||||
<key>UIDeviceFamily</key>
|
||||
<array>
|
||||
<integer>1</integer>
|
||||
<integer>2</integer>
|
||||
</array>
|
||||
<key>UIRequiredDeviceCapabilities</key>
|
||||
<array>
|
||||
<string>arm64</string>
|
||||
</array>
|
||||
<key>UISupportedInterfaceOrientations</key>
|
||||
<array>
|
||||
<string>UIInterfaceOrientationPortrait</string>
|
||||
<string>UIInterfaceOrientationLandscapeLeft</string>
|
||||
<string>UIInterfaceOrientationLandscapeRight</string>
|
||||
</array>
|
||||
<key>UISupportedInterfaceOrientations~ipad</key>
|
||||
<array>
|
||||
<string>UIInterfaceOrientationPortrait</string>
|
||||
<string>UIInterfaceOrientationPortraitUpsideDown</string>
|
||||
<string>UIInterfaceOrientationLandscapeLeft</string>
|
||||
<string>UIInterfaceOrientationLandscapeRight</string>
|
||||
</array>
|
||||
<key>XSAppIconAssets</key>
|
||||
<string>Assets.xcassets/appicon.appiconset</string>
|
||||
</dict>
|
||||
</plist>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>LSRequiresIPhoneOS</key>
|
||||
<true/>
|
||||
<key>UIDeviceFamily</key>
|
||||
<array>
|
||||
<integer>1</integer>
|
||||
<integer>2</integer>
|
||||
</array>
|
||||
<key>UIRequiredDeviceCapabilities</key>
|
||||
<array>
|
||||
<string>arm64</string>
|
||||
</array>
|
||||
<key>UISupportedInterfaceOrientations</key>
|
||||
<array>
|
||||
<string>UIInterfaceOrientationPortrait</string>
|
||||
<string>UIInterfaceOrientationLandscapeLeft</string>
|
||||
<string>UIInterfaceOrientationLandscapeRight</string>
|
||||
</array>
|
||||
<key>UISupportedInterfaceOrientations~ipad</key>
|
||||
<array>
|
||||
<string>UIInterfaceOrientationPortrait</string>
|
||||
<string>UIInterfaceOrientationPortraitUpsideDown</string>
|
||||
<string>UIInterfaceOrientationLandscapeLeft</string>
|
||||
<string>UIInterfaceOrientationLandscapeRight</string>
|
||||
</array>
|
||||
<key>XSAppIconAssets</key>
|
||||
<string>Assets.xcassets/appicon.appiconset</string>
|
||||
</dict>
|
||||
</plist>
|
@ -1,8 +1,8 @@
|
||||
{
|
||||
"profiles": {
|
||||
"Windows Machine": {
|
||||
"commandName": "MsixPackage",
|
||||
"nativeDebugging": false
|
||||
}
|
||||
}
|
||||
{
|
||||
"profiles": {
|
||||
"Windows Machine": {
|
||||
"commandName": "MsixPackage",
|
||||
"nativeDebugging": false
|
||||
}
|
||||
}
|
||||
}
|
Before Width: | Height: | Size: 231 B After Width: | Height: | Size: 228 B |
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 30 KiB |
Before Width: | Height: | Size: 44 KiB After Width: | Height: | Size: 44 KiB |
Before Width: | Height: | Size: 4.4 KiB After Width: | Height: | Size: 4.4 KiB |
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 50 KiB After Width: | Height: | Size: 50 KiB |
Before Width: | Height: | Size: 265 KiB After Width: | Height: | Size: 265 KiB |
Before Width: | Height: | Size: 100 KiB After Width: | Height: | Size: 100 KiB |
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 42 KiB After Width: | Height: | Size: 42 KiB |
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 22 KiB |
Before Width: | Height: | Size: 3.0 MiB After Width: | Height: | Size: 3.0 MiB |
Before Width: | Height: | Size: 1.7 MiB After Width: | Height: | Size: 1.7 MiB |
@ -1,15 +1,15 @@
|
||||
Any raw assets you want to be deployed with your application can be placed in
|
||||
this directory (and child directories). Deployment of the asset to your application
|
||||
is automatically handled by the following `MauiAsset` Build Action within your `.csproj`.
|
||||
|
||||
<MauiAsset Include="Resources\Raw\**" LogicalName="%(RecursiveDir)%(Filename)%(Extension)" />
|
||||
|
||||
These files will be deployed with you package and will be accessible using Essentials:
|
||||
|
||||
async Task LoadMauiAsset()
|
||||
{
|
||||
using var stream = await FileSystem.OpenAppPackageFileAsync("AboutAssets.txt");
|
||||
using var reader = new StreamReader(stream);
|
||||
|
||||
var contents = reader.ReadToEnd();
|
||||
}
|
||||
Any raw assets you want to be deployed with your application can be placed in
|
||||
this directory (and child directories). Deployment of the asset to your application
|
||||
is automatically handled by the following `MauiAsset` Build Action within your `.csproj`.
|
||||
|
||||
<MauiAsset Include="Resources\Raw\**" LogicalName="%(RecursiveDir)%(Filename)%(Extension)" />
|
||||
|
||||
These files will be deployed with you package and will be accessible using Essentials:
|
||||
|
||||
async Task LoadMauiAsset()
|
||||
{
|
||||
using var stream = await FileSystem.OpenAppPackageFileAsync("AboutAssets.txt");
|
||||
using var reader = new StreamReader(stream);
|
||||
|
||||
var contents = reader.ReadToEnd();
|
||||
}
|
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
@ -1,60 +1,60 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<?xaml-comp compile="true" ?>
|
||||
<ResourceDictionary
|
||||
xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml">
|
||||
|
||||
<!-- Note: For Android please see also Platforms\Android\Resources\values\colors.xml -->
|
||||
|
||||
<Color x:Key="Primary">#512BD4</Color>
|
||||
<Color x:Key="PrimaryDark">#ac99ea</Color>
|
||||
<Color x:Key="PrimaryDarkText">#242424</Color>
|
||||
<Color x:Key="Secondary">#DFD8F7</Color>
|
||||
<Color x:Key="SecondaryDarkText">#9880e5</Color>
|
||||
<Color x:Key="Tertiary">#2B0B98</Color>
|
||||
|
||||
<Color x:Key="White">White</Color>
|
||||
<Color x:Key="Black">Black</Color>
|
||||
<Color x:Key="Magenta">#D600AA</Color>
|
||||
<Color x:Key="MidnightBlue">#190649</Color>
|
||||
<Color x:Key="OffBlack">#1f1f1f</Color>
|
||||
|
||||
<Color x:Key="Poussin">#FAEEA1</Color>
|
||||
<Color x:Key="Raisin">#2F0E36</Color>
|
||||
<Color x:Key="Vin">#A90237</Color>
|
||||
<Color x:Key="Pomme">#71E26D</Color>
|
||||
<Color x:Key="Diego">#060270</Color>
|
||||
<Color x:Key="Perry">#358F92</Color>
|
||||
<Color x:Key="Bordeaux">#662323</Color>
|
||||
<Color x:Key="Peche">#F2B861</Color>
|
||||
<Color x:Key="LightSaumon">#E3A79F</Color>
|
||||
<Color x:Key="DarkRed">#72170B</Color>
|
||||
<Color x:Key="LightPurple">#C875A4</Color>
|
||||
<Color x:Key="LightYellow">#F0C67B</Color>
|
||||
<Color x:Key="DarkPurple">#622E72</Color>
|
||||
<Color x:Key="LightRed">#F93A3A</Color>
|
||||
|
||||
<Color x:Key="Gray100">#E1E1E1</Color>
|
||||
<Color x:Key="Gray200">#C8C8C8</Color>
|
||||
<Color x:Key="Gray300">#ACACAC</Color>
|
||||
<Color x:Key="Gray400">#919191</Color>
|
||||
<Color x:Key="Gray500">#6E6E6E</Color>
|
||||
<Color x:Key="Gray600">#404040</Color>
|
||||
<Color x:Key="Gray900">#212121</Color>
|
||||
<Color x:Key="Gray950">#141414</Color>
|
||||
|
||||
<SolidColorBrush x:Key="PrimaryBrush" Color="{StaticResource Primary}"/>
|
||||
<SolidColorBrush x:Key="SecondaryBrush" Color="{StaticResource Secondary}"/>
|
||||
<SolidColorBrush x:Key="TertiaryBrush" Color="{StaticResource Tertiary}"/>
|
||||
<SolidColorBrush x:Key="WhiteBrush" Color="{StaticResource White}"/>
|
||||
<SolidColorBrush x:Key="BlackBrush" Color="{StaticResource Black}"/>
|
||||
|
||||
<SolidColorBrush x:Key="Gray100Brush" Color="{StaticResource Gray100}"/>
|
||||
<SolidColorBrush x:Key="Gray200Brush" Color="{StaticResource Gray200}"/>
|
||||
<SolidColorBrush x:Key="Gray300Brush" Color="{StaticResource Gray300}"/>
|
||||
<SolidColorBrush x:Key="Gray400Brush" Color="{StaticResource Gray400}"/>
|
||||
<SolidColorBrush x:Key="Gray500Brush" Color="{StaticResource Gray500}"/>
|
||||
<SolidColorBrush x:Key="Gray600Brush" Color="{StaticResource Gray600}"/>
|
||||
<SolidColorBrush x:Key="Gray900Brush" Color="{StaticResource Gray900}"/>
|
||||
<SolidColorBrush x:Key="Gray950Brush" Color="{StaticResource Gray950}"/>
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<?xaml-comp compile="true" ?>
|
||||
<ResourceDictionary
|
||||
xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml">
|
||||
|
||||
<!-- Note: For Android please see also Platforms\Android\Resources\values\colors.xml -->
|
||||
|
||||
<Color x:Key="Primary">#512BD4</Color>
|
||||
<Color x:Key="PrimaryDark">#ac99ea</Color>
|
||||
<Color x:Key="PrimaryDarkText">#242424</Color>
|
||||
<Color x:Key="Secondary">#DFD8F7</Color>
|
||||
<Color x:Key="SecondaryDarkText">#9880e5</Color>
|
||||
<Color x:Key="Tertiary">#2B0B98</Color>
|
||||
|
||||
<Color x:Key="White">White</Color>
|
||||
<Color x:Key="Black">Black</Color>
|
||||
<Color x:Key="Magenta">#D600AA</Color>
|
||||
<Color x:Key="MidnightBlue">#190649</Color>
|
||||
<Color x:Key="OffBlack">#1f1f1f</Color>
|
||||
|
||||
<Color x:Key="Poussin">#FAEEA1</Color>
|
||||
<Color x:Key="Raisin">#2F0E36</Color>
|
||||
<Color x:Key="Vin">#A90237</Color>
|
||||
<Color x:Key="Pomme">#71E26D</Color>
|
||||
<Color x:Key="Diego">#060270</Color>
|
||||
<Color x:Key="Perry">#358F92</Color>
|
||||
<Color x:Key="Bordeaux">#662323</Color>
|
||||
<Color x:Key="Peche">#F2B861</Color>
|
||||
<Color x:Key="LightSaumon">#E3A79F</Color>
|
||||
<Color x:Key="DarkRed">#72170B</Color>
|
||||
<Color x:Key="LightPurple">#C875A4</Color>
|
||||
<Color x:Key="LightYellow">#F0C67B</Color>
|
||||
<Color x:Key="DarkPurple">#622E72</Color>
|
||||
<Color x:Key="LightRed">#F93A3A</Color>
|
||||
|
||||
<Color x:Key="Gray100">#E1E1E1</Color>
|
||||
<Color x:Key="Gray200">#C8C8C8</Color>
|
||||
<Color x:Key="Gray300">#ACACAC</Color>
|
||||
<Color x:Key="Gray400">#919191</Color>
|
||||
<Color x:Key="Gray500">#6E6E6E</Color>
|
||||
<Color x:Key="Gray600">#404040</Color>
|
||||
<Color x:Key="Gray900">#212121</Color>
|
||||
<Color x:Key="Gray950">#141414</Color>
|
||||
|
||||
<SolidColorBrush x:Key="PrimaryBrush" Color="{StaticResource Primary}"/>
|
||||
<SolidColorBrush x:Key="SecondaryBrush" Color="{StaticResource Secondary}"/>
|
||||
<SolidColorBrush x:Key="TertiaryBrush" Color="{StaticResource Tertiary}"/>
|
||||
<SolidColorBrush x:Key="WhiteBrush" Color="{StaticResource White}"/>
|
||||
<SolidColorBrush x:Key="BlackBrush" Color="{StaticResource Black}"/>
|
||||
|
||||
<SolidColorBrush x:Key="Gray100Brush" Color="{StaticResource Gray100}"/>
|
||||
<SolidColorBrush x:Key="Gray200Brush" Color="{StaticResource Gray200}"/>
|
||||
<SolidColorBrush x:Key="Gray300Brush" Color="{StaticResource Gray300}"/>
|
||||
<SolidColorBrush x:Key="Gray400Brush" Color="{StaticResource Gray400}"/>
|
||||
<SolidColorBrush x:Key="Gray500Brush" Color="{StaticResource Gray500}"/>
|
||||
<SolidColorBrush x:Key="Gray600Brush" Color="{StaticResource Gray600}"/>
|
||||
<SolidColorBrush x:Key="Gray900Brush" Color="{StaticResource Gray900}"/>
|
||||
<SolidColorBrush x:Key="Gray950Brush" Color="{StaticResource Gray950}"/>
|
||||
</ResourceDictionary>
|
@ -1,84 +1,84 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<?xaml-comp compile="true" ?>
|
||||
<ResourceDictionary
|
||||
xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml">
|
||||
|
||||
<Style TargetType="Page" ApplyToDerivedTypes="True">
|
||||
<Setter Property="BackgroundColor" Value="{AppThemeBinding Light={StaticResource Poussin}, Dark={StaticResource Raisin}}"/>
|
||||
</Style>
|
||||
|
||||
<Style TargetType="Label">
|
||||
<Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Vin}, Dark={StaticResource Perry}}"/>
|
||||
</Style>
|
||||
|
||||
<Style TargetType="Label" x:Key="TexteFrame">
|
||||
<Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Black}, Dark={StaticResource DarkRed}}"/>
|
||||
<Setter Property="FontSize" Value="20"/>
|
||||
</Style>
|
||||
|
||||
<Style TargetType="Label" x:Key="TexteTitre">
|
||||
<Setter Property="FontSize" Value="70"/>
|
||||
<Setter Property="HorizontalOptions" Value="Center"/>
|
||||
<Setter Property="Margin" Value="0,10,0,10"/>
|
||||
</Style>
|
||||
|
||||
<Style TargetType="Button">
|
||||
<Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Diego}, Dark={StaticResource Peche}}"/>
|
||||
<Setter Property="BackgroundColor" Value="{AppThemeBinding Light={StaticResource Pomme}, Dark={StaticResource Bordeaux}}" />
|
||||
<Setter Property="FontSize" Value="Large"/>
|
||||
<Setter Property="HeightRequest" Value="80"/>
|
||||
<Setter Property="Margin" Value="200, 0"/>
|
||||
</Style>
|
||||
|
||||
<Style TargetType="Frame">
|
||||
<Setter Property="BorderColor" Value="Black"/>
|
||||
<Setter Property="BackgroundColor" Value="{AppThemeBinding Light={StaticResource LightSaumon}, Dark={StaticResource LightPurple}}"/>
|
||||
</Style>
|
||||
<Style TargetType="Entry">
|
||||
<Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Diego}, Dark={StaticResource Peche}}"/>
|
||||
</Style>
|
||||
|
||||
<Style TargetType="Button" x:Key="AccueilBouton">
|
||||
<Setter Property="HeightRequest" Value="150" />
|
||||
<Setter Property="WidthRequest" Value="150" />
|
||||
</Style>
|
||||
<Style TargetType="Frame" x:Key="FrameTitrePage">
|
||||
<Setter Property="BorderColor" Value="Black"/>
|
||||
<Setter Property="BackgroundColor" Value="{AppThemeBinding Light={StaticResource LightYellow}, Dark={StaticResource DarkPurple}}"/>
|
||||
</Style>
|
||||
|
||||
<Style TargetType="ImageButton">
|
||||
<Setter Property="BackgroundColor" Value="Transparent"/>
|
||||
<Setter Property="BorderWidth" Value="0" />
|
||||
</Style>
|
||||
|
||||
|
||||
<Style TargetType="ImageButton" x:Key="ButtonFermeture">
|
||||
<Setter Property="WidthRequest" Value="50"/>
|
||||
<Setter Property="HeightRequest" Value="50"/>
|
||||
<Setter Property="Source" Value="Fleche_Retour.png"/>
|
||||
<Setter Property="Padding" Value="0"/>
|
||||
<Setter Property="Margin" Value="5"/>
|
||||
<Setter Property="BorderWidth" Value="0"/>
|
||||
<Setter Property="CornerRadius" Value="8"/>
|
||||
<Setter Property="Padding" Value="14,10"/>
|
||||
<Setter Property="MinimumHeightRequest" Value="20"/>
|
||||
<Setter Property="MinimumWidthRequest" Value="20"/>
|
||||
<Setter Property="BackgroundColor" Value="{AppThemeBinding Light={StaticResource LightRed}, Dark={StaticResource DarkRed}}"/>
|
||||
</Style>
|
||||
|
||||
<Style TargetType="Button" x:Key="ButtonTableau">
|
||||
<Setter Property="BackgroundColor" Value="Transparent"/>
|
||||
<Setter Property="BorderWidth" Value="0"/>
|
||||
<Setter Property="CornerRadius" Value="8"/>
|
||||
<Setter Property="Padding" Value="0"/>
|
||||
<Setter Property="MinimumHeightRequest" Value="44"/>
|
||||
<Setter Property="MinimumWidthRequest" Value="44"/>
|
||||
<Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Black}, Dark={StaticResource DarkRed}}"/>
|
||||
<Setter Property="FontSize" Value="25"/>
|
||||
|
||||
</Style>
|
||||
|
||||
|
||||
</ResourceDictionary>
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<?xaml-comp compile="true" ?>
|
||||
<ResourceDictionary
|
||||
xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml">
|
||||
|
||||
<Style TargetType="Page" ApplyToDerivedTypes="True">
|
||||
<Setter Property="BackgroundColor" Value="{AppThemeBinding Light={StaticResource Poussin}, Dark={StaticResource Raisin}}"/>
|
||||
</Style>
|
||||
|
||||
<Style TargetType="Label">
|
||||
<Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Vin}, Dark={StaticResource Perry}}"/>
|
||||
</Style>
|
||||
|
||||
<Style TargetType="Label" x:Key="TexteFrame">
|
||||
<Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Black}, Dark={StaticResource DarkRed}}"/>
|
||||
<Setter Property="FontSize" Value="20"/>
|
||||
</Style>
|
||||
|
||||
<Style TargetType="Label" x:Key="TexteTitre">
|
||||
<Setter Property="FontSize" Value="70"/>
|
||||
<Setter Property="HorizontalOptions" Value="Center"/>
|
||||
<Setter Property="Margin" Value="0,10,0,10"/>
|
||||
</Style>
|
||||
|
||||
<Style TargetType="Button">
|
||||
<Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Diego}, Dark={StaticResource Peche}}"/>
|
||||
<Setter Property="BackgroundColor" Value="{AppThemeBinding Light={StaticResource Pomme}, Dark={StaticResource Bordeaux}}" />
|
||||
<Setter Property="FontSize" Value="Large"/>
|
||||
<Setter Property="HeightRequest" Value="80"/>
|
||||
<Setter Property="Margin" Value="200, 0"/>
|
||||
</Style>
|
||||
|
||||
<Style TargetType="Frame">
|
||||
<Setter Property="BorderColor" Value="Black"/>
|
||||
<Setter Property="BackgroundColor" Value="{AppThemeBinding Light={StaticResource LightSaumon}, Dark={StaticResource LightPurple}}"/>
|
||||
</Style>
|
||||
<Style TargetType="Entry">
|
||||
<Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Diego}, Dark={StaticResource Peche}}"/>
|
||||
</Style>
|
||||
|
||||
<Style TargetType="Button" x:Key="AccueilBouton">
|
||||
<Setter Property="HeightRequest" Value="150" />
|
||||
<Setter Property="WidthRequest" Value="150" />
|
||||
</Style>
|
||||
<Style TargetType="Frame" x:Key="FrameTitrePage">
|
||||
<Setter Property="BorderColor" Value="Black"/>
|
||||
<Setter Property="BackgroundColor" Value="{AppThemeBinding Light={StaticResource LightYellow}, Dark={StaticResource DarkPurple}}"/>
|
||||
</Style>
|
||||
|
||||
<Style TargetType="ImageButton">
|
||||
<Setter Property="BackgroundColor" Value="Transparent"/>
|
||||
<Setter Property="BorderWidth" Value="0" />
|
||||
</Style>
|
||||
|
||||
|
||||
<Style TargetType="ImageButton" x:Key="ButtonFermeture">
|
||||
<Setter Property="WidthRequest" Value="50"/>
|
||||
<Setter Property="HeightRequest" Value="50"/>
|
||||
<Setter Property="Source" Value="Fleche_Retour.png"/>
|
||||
<Setter Property="Padding" Value="0"/>
|
||||
<Setter Property="Margin" Value="5"/>
|
||||
<Setter Property="BorderWidth" Value="0"/>
|
||||
<Setter Property="CornerRadius" Value="8"/>
|
||||
<Setter Property="Padding" Value="14,10"/>
|
||||
<Setter Property="MinimumHeightRequest" Value="20"/>
|
||||
<Setter Property="MinimumWidthRequest" Value="20"/>
|
||||
<Setter Property="BackgroundColor" Value="{AppThemeBinding Light={StaticResource LightRed}, Dark={StaticResource DarkRed}}"/>
|
||||
</Style>
|
||||
|
||||
<Style TargetType="Button" x:Key="ButtonTableau">
|
||||
<Setter Property="BackgroundColor" Value="Transparent"/>
|
||||
<Setter Property="BorderWidth" Value="0"/>
|
||||
<Setter Property="CornerRadius" Value="8"/>
|
||||
<Setter Property="Padding" Value="0"/>
|
||||
<Setter Property="MinimumHeightRequest" Value="44"/>
|
||||
<Setter Property="MinimumWidthRequest" Value="44"/>
|
||||
<Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Black}, Dark={StaticResource DarkRed}}"/>
|
||||
<Setter Property="FontSize" Value="25"/>
|
||||
|
||||
</Style>
|
||||
|
||||
|
||||
</ResourceDictionary>
|
@ -1,24 +1,24 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<ContentView xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||
x:Class="mastermind.Views.UsernameEntryView">
|
||||
|
||||
<Grid
|
||||
Margin="0, 50"
|
||||
ColumnDefinitions="auto, *, 8*, *"
|
||||
RowDefinitions="auto">
|
||||
|
||||
<Label
|
||||
Text="Joueur X"
|
||||
FontSize="Large"
|
||||
Margin="50, 0, 0, 0"
|
||||
VerticalOptions="Center"
|
||||
HorizontalOptions="Center"/>
|
||||
|
||||
<Entry
|
||||
Grid.Column="2"
|
||||
FontSize="Medium"
|
||||
Margin="50, 0"/>
|
||||
</Grid>
|
||||
|
||||
</ContentView>
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<ContentView xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||
x:Class="mastermind.Views.UsernameEntryView">
|
||||
|
||||
<Grid
|
||||
Margin="0, 50"
|
||||
ColumnDefinitions="auto, *, 8*, *"
|
||||
RowDefinitions="auto">
|
||||
|
||||
<Label
|
||||
Text="Joueur X"
|
||||
FontSize="Large"
|
||||
Margin="50, 0, 0, 0"
|
||||
VerticalOptions="Center"
|
||||
HorizontalOptions="Center"/>
|
||||
|
||||
<Entry
|
||||
Grid.Column="2"
|
||||
FontSize="Medium"
|
||||
Margin="50, 0"/>
|
||||
</Grid>
|
||||
|
||||
</ContentView>
|
@ -1,9 +1,9 @@
|
||||
namespace mastermind.Views;
|
||||
|
||||
public partial class UsernameEntryView : ContentView
|
||||
{
|
||||
public UsernameEntryView()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
namespace mastermind.Views;
|
||||
|
||||
public partial class UsernameEntryView : ContentView
|
||||
{
|
||||
public UsernameEntryView()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|