Ajout de Doxyfile
continuous-integration/drone/push Build is failing
Details
@ -1,40 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
||||||
<PropertyGroup>
|
|
||||||
<IsFirstTimeProjectOpen>False</IsFirstTimeProjectOpen>
|
|
||||||
<ActiveDebugFramework>net7.0-android</ActiveDebugFramework>
|
|
||||||
<ActiveDebugProfile>Google Pixel 6a (Android 13.0 - API 33)</ActiveDebugProfile>
|
|
||||||
<SelectedPlatformGroup>PhysicalDevice</SelectedPlatformGroup>
|
|
||||||
<DefaultDevice>pixel_5_-_api_33_1</DefaultDevice>
|
|
||||||
</PropertyGroup>
|
|
||||||
<PropertyGroup Condition="'$(TargetPlatformIdentifier)'=='iOS'">
|
|
||||||
<RuntimeIdentifier>iossimulator-x64</RuntimeIdentifier>
|
|
||||||
<PlatformTarget>x64</PlatformTarget>
|
|
||||||
</PropertyGroup>
|
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net7.0-android|AnyCPU'">
|
|
||||||
<DebuggerFlavor>ProjectDebugger</DebuggerFlavor>
|
|
||||||
</PropertyGroup>
|
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net7.0-android|AnyCPU'">
|
|
||||||
<DebuggerFlavor>ProjectDebugger</DebuggerFlavor>
|
|
||||||
</PropertyGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<MauiXaml Update="Views\Composants\BoutonVoir.xaml">
|
|
||||||
<SubType>Designer</SubType>
|
|
||||||
</MauiXaml>
|
|
||||||
<MauiXaml Update="Views\PageJeu.xaml">
|
|
||||||
<SubType>Designer</SubType>
|
|
||||||
</MauiXaml>
|
|
||||||
<MauiXaml Update="Views\PageInscription.xaml">
|
|
||||||
<SubType>Designer</SubType>
|
|
||||||
</MauiXaml>
|
|
||||||
<MauiXaml Update="Views\PageConnexion.xaml">
|
|
||||||
<SubType>Designer</SubType>
|
|
||||||
</MauiXaml>
|
|
||||||
<MauiXaml Update="Views\PageParcourir.xaml">
|
|
||||||
<SubType>Designer</SubType>
|
|
||||||
</MauiXaml>
|
|
||||||
<MauiXaml Update="Views\PageProfil.xaml">
|
|
||||||
<SubType>Designer</SubType>
|
|
||||||
</MauiXaml>
|
|
||||||
</ItemGroup>
|
|
||||||
</Project>
|
|
@ -1,14 +1,14 @@
|
|||||||
<?xml version = "1.0" encoding = "UTF-8" ?>
|
<?xml version = "1.0" encoding = "UTF-8" ?>
|
||||||
<Application xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
<Application xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||||
xmlns:local="clr-namespace:GameAtlas"
|
xmlns:local="clr-namespace:GameAtlas"
|
||||||
x:Class="GameAtlas.App">
|
x:Class="GameAtlas.App">
|
||||||
<Application.Resources>
|
<Application.Resources>
|
||||||
<ResourceDictionary>
|
<ResourceDictionary>
|
||||||
<ResourceDictionary.MergedDictionaries>
|
<ResourceDictionary.MergedDictionaries>
|
||||||
<ResourceDictionary Source="Resources/Styles/Colors.xaml" />
|
<ResourceDictionary Source="Resources/Styles/Colors.xaml" />
|
||||||
<ResourceDictionary Source="Resources/Styles/Styles.xaml" />
|
<ResourceDictionary Source="Resources/Styles/Styles.xaml" />
|
||||||
</ResourceDictionary.MergedDictionaries>
|
</ResourceDictionary.MergedDictionaries>
|
||||||
</ResourceDictionary>
|
</ResourceDictionary>
|
||||||
</Application.Resources>
|
</Application.Resources>
|
||||||
</Application>
|
</Application>
|
@ -1,48 +1,48 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8" ?>
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
<Shell
|
<Shell
|
||||||
x:Class="GameAtlas.AppShell"
|
x:Class="GameAtlas.AppShell"
|
||||||
xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||||
xmlns:views="clr-namespace:GameAtlas.Views"
|
xmlns:views="clr-namespace:GameAtlas.Views"
|
||||||
Shell.FlyoutBehavior="Disabled"
|
Shell.FlyoutBehavior="Disabled"
|
||||||
Shell.NavBarIsVisible="False">
|
Shell.NavBarIsVisible="False">
|
||||||
|
|
||||||
<Shell.Resources>
|
<Shell.Resources>
|
||||||
<ResourceDictionary>
|
<ResourceDictionary>
|
||||||
<Style x:Key="BaseStyle" TargetType="Element">
|
<Style x:Key="BaseStyle" TargetType="Element">
|
||||||
<Setter Property="Shell.ForegroundColor" Value="{StaticResource Gray1000}" />
|
<Setter Property="Shell.ForegroundColor" Value="{StaticResource Gray1000}" />
|
||||||
<Setter Property="Shell.UnselectedColor" Value="{StaticResource Gray300}" />
|
<Setter Property="Shell.UnselectedColor" Value="{StaticResource Gray300}" />
|
||||||
<Setter Property="Shell.TabBarBackgroundColor" Value="{StaticResource Gray1000}" />
|
<Setter Property="Shell.TabBarBackgroundColor" Value="{StaticResource Gray1000}" />
|
||||||
<Setter Property="Shell.TabBarForegroundColor" Value="{StaticResource White}"/>
|
<Setter Property="Shell.TabBarForegroundColor" Value="{StaticResource White}"/>
|
||||||
<Setter Property="Shell.TabBarUnselectedColor" Value="{StaticResource Gray300}"/>
|
<Setter Property="Shell.TabBarUnselectedColor" Value="{StaticResource Gray300}"/>
|
||||||
</Style>
|
</Style>
|
||||||
<Style TargetType="TabBar" BasedOn="{StaticResource BaseStyle}" />
|
<Style TargetType="TabBar" BasedOn="{StaticResource BaseStyle}" />
|
||||||
<Style TargetType="FlyoutItem" BasedOn="{StaticResource BaseStyle}" />
|
<Style TargetType="FlyoutItem" BasedOn="{StaticResource BaseStyle}" />
|
||||||
</ResourceDictionary>
|
</ResourceDictionary>
|
||||||
</Shell.Resources>
|
</Shell.Resources>
|
||||||
|
|
||||||
<TabBar Route="page">
|
<TabBar Route="page">
|
||||||
<ShellContent
|
<ShellContent
|
||||||
Title="Accueil"
|
Title="Accueil"
|
||||||
Icon="home"
|
Icon="home"
|
||||||
ContentTemplate="{DataTemplate views:PageAcceuil}"
|
ContentTemplate="{DataTemplate views:PageAcceuil}"
|
||||||
Route="PageAccueil" />
|
Route="PageAccueil" />
|
||||||
<ShellContent
|
<ShellContent
|
||||||
Title="Parcourir"
|
Title="Parcourir"
|
||||||
Icon="console"
|
Icon="console"
|
||||||
ContentTemplate="{DataTemplate views:PageParcourir}"
|
ContentTemplate="{DataTemplate views:PageParcourir}"
|
||||||
Route="PageParcourir" />
|
Route="PageParcourir" />
|
||||||
<ShellContent
|
<ShellContent
|
||||||
Title="Profil"
|
Title="Profil"
|
||||||
Icon="account"
|
Icon="account"
|
||||||
ContentTemplate="{DataTemplate views:PageProfil}"
|
ContentTemplate="{DataTemplate views:PageProfil}"
|
||||||
Route="PageProfil" />
|
Route="PageProfil" />
|
||||||
<!--<ShellContent
|
<!--<ShellContent
|
||||||
Title="Connexion"
|
Title="Connexion"
|
||||||
Icon="account"
|
Icon="account"
|
||||||
ContentTemplate="{DataTemplate views:PageConnexion}"
|
ContentTemplate="{DataTemplate views:PageConnexion}"
|
||||||
Route="PageConnexion" />-->
|
Route="PageConnexion" />-->
|
||||||
</TabBar>
|
</TabBar>
|
||||||
|
|
||||||
|
|
||||||
</Shell>
|
</Shell>
|
@ -1,16 +1,16 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Collections.ObjectModel;
|
using System.Collections.ObjectModel;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
namespace GameAtlas.Models
|
namespace GameAtlas.Models
|
||||||
{
|
{
|
||||||
public interface IPersistanceManager
|
public interface IPersistanceManager
|
||||||
{
|
{
|
||||||
(ObservableCollection<Jeu>,List<Admin>,List<Utilisateur>) ChargeDonnees();
|
(ObservableCollection<Jeu>,List<Admin>,List<Utilisateur>) ChargeDonnees();
|
||||||
|
|
||||||
void SauvegardeDonnees(ObservableCollection<Jeu> jeux, List<Admin> admins, List<Utilisateur> utilisateurs);
|
void SauvegardeDonnees(ObservableCollection<Jeu> jeux, List<Admin> admins, List<Utilisateur> utilisateurs);
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<resources>
|
<resources>
|
||||||
<color name="colorPrimary">#512BD4</color>
|
<color name="colorPrimary">#512BD4</color>
|
||||||
<color name="colorPrimaryDark">#2B0B98</color>
|
<color name="colorPrimaryDark">#2B0B98</color>
|
||||||
<color name="colorAccent">#2B0B98</color>
|
<color name="colorAccent">#2B0B98</color>
|
||||||
</resources>
|
</resources>
|
@ -1,30 +1,30 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?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">
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||||
<plist version="1.0">
|
<plist version="1.0">
|
||||||
<dict>
|
<dict>
|
||||||
<key>UIDeviceFamily</key>
|
<key>UIDeviceFamily</key>
|
||||||
<array>
|
<array>
|
||||||
<integer>1</integer>
|
<integer>1</integer>
|
||||||
<integer>2</integer>
|
<integer>2</integer>
|
||||||
</array>
|
</array>
|
||||||
<key>UIRequiredDeviceCapabilities</key>
|
<key>UIRequiredDeviceCapabilities</key>
|
||||||
<array>
|
<array>
|
||||||
<string>arm64</string>
|
<string>arm64</string>
|
||||||
</array>
|
</array>
|
||||||
<key>UISupportedInterfaceOrientations</key>
|
<key>UISupportedInterfaceOrientations</key>
|
||||||
<array>
|
<array>
|
||||||
<string>UIInterfaceOrientationPortrait</string>
|
<string>UIInterfaceOrientationPortrait</string>
|
||||||
<string>UIInterfaceOrientationLandscapeLeft</string>
|
<string>UIInterfaceOrientationLandscapeLeft</string>
|
||||||
<string>UIInterfaceOrientationLandscapeRight</string>
|
<string>UIInterfaceOrientationLandscapeRight</string>
|
||||||
</array>
|
</array>
|
||||||
<key>UISupportedInterfaceOrientations~ipad</key>
|
<key>UISupportedInterfaceOrientations~ipad</key>
|
||||||
<array>
|
<array>
|
||||||
<string>UIInterfaceOrientationPortrait</string>
|
<string>UIInterfaceOrientationPortrait</string>
|
||||||
<string>UIInterfaceOrientationPortraitUpsideDown</string>
|
<string>UIInterfaceOrientationPortraitUpsideDown</string>
|
||||||
<string>UIInterfaceOrientationLandscapeLeft</string>
|
<string>UIInterfaceOrientationLandscapeLeft</string>
|
||||||
<string>UIInterfaceOrientationLandscapeRight</string>
|
<string>UIInterfaceOrientationLandscapeRight</string>
|
||||||
</array>
|
</array>
|
||||||
<key>XSAppIconAssets</key>
|
<key>XSAppIconAssets</key>
|
||||||
<string>Assets.xcassets/appicon.appiconset</string>
|
<string>Assets.xcassets/appicon.appiconset</string>
|
||||||
</dict>
|
</dict>
|
||||||
</plist>
|
</plist>
|
@ -1,16 +1,16 @@
|
|||||||
using System;
|
using System;
|
||||||
using Microsoft.Maui;
|
using Microsoft.Maui;
|
||||||
using Microsoft.Maui.Hosting;
|
using Microsoft.Maui.Hosting;
|
||||||
|
|
||||||
namespace GameAtlas;
|
namespace GameAtlas;
|
||||||
|
|
||||||
class Program : MauiApplication
|
class Program : MauiApplication
|
||||||
{
|
{
|
||||||
protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp();
|
protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp();
|
||||||
|
|
||||||
static void Main(string[] args)
|
static void Main(string[] args)
|
||||||
{
|
{
|
||||||
var app = new Program();
|
var app = new Program();
|
||||||
app.Run(args);
|
app.Run(args);
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -1,8 +1,8 @@
|
|||||||
<maui:MauiWinUIApplication
|
<maui:MauiWinUIApplication
|
||||||
x:Class="GameAtlas.WinUI.App"
|
x:Class="GameAtlas.WinUI.App"
|
||||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
xmlns:maui="using:Microsoft.Maui"
|
xmlns:maui="using:Microsoft.Maui"
|
||||||
xmlns:local="using:GameAtlas.WinUI">
|
xmlns:local="using:GameAtlas.WinUI">
|
||||||
|
|
||||||
</maui:MauiWinUIApplication>
|
</maui:MauiWinUIApplication>
|
@ -1,46 +1,46 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Package
|
<Package
|
||||||
xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10"
|
xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10"
|
||||||
xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10"
|
xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10"
|
||||||
xmlns:mp="http://schemas.microsoft.com/appx/2014/phone/manifest"
|
xmlns:mp="http://schemas.microsoft.com/appx/2014/phone/manifest"
|
||||||
xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities"
|
xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities"
|
||||||
IgnorableNamespaces="uap rescap">
|
IgnorableNamespaces="uap rescap">
|
||||||
|
|
||||||
<Identity Name="maui-package-name-placeholder" Publisher="CN=User Name" Version="0.0.0.0" />
|
<Identity Name="maui-package-name-placeholder" Publisher="CN=User Name" Version="0.0.0.0" />
|
||||||
|
|
||||||
<mp:PhoneIdentity PhoneProductId="BCF22AB8-2AC8-4047-8DBC-F88CC004B91F" PhonePublisherId="00000000-0000-0000-0000-000000000000"/>
|
<mp:PhoneIdentity PhoneProductId="BCF22AB8-2AC8-4047-8DBC-F88CC004B91F" PhonePublisherId="00000000-0000-0000-0000-000000000000"/>
|
||||||
|
|
||||||
<Properties>
|
<Properties>
|
||||||
<DisplayName>$placeholder$</DisplayName>
|
<DisplayName>$placeholder$</DisplayName>
|
||||||
<PublisherDisplayName>User Name</PublisherDisplayName>
|
<PublisherDisplayName>User Name</PublisherDisplayName>
|
||||||
<Logo>$placeholder$.png</Logo>
|
<Logo>$placeholder$.png</Logo>
|
||||||
</Properties>
|
</Properties>
|
||||||
|
|
||||||
<Dependencies>
|
<Dependencies>
|
||||||
<TargetDeviceFamily Name="Windows.Universal" MinVersion="10.0.17763.0" MaxVersionTested="10.0.19041.0" />
|
<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" />
|
<TargetDeviceFamily Name="Windows.Desktop" MinVersion="10.0.17763.0" MaxVersionTested="10.0.19041.0" />
|
||||||
</Dependencies>
|
</Dependencies>
|
||||||
|
|
||||||
<Resources>
|
<Resources>
|
||||||
<Resource Language="x-generate" />
|
<Resource Language="x-generate" />
|
||||||
</Resources>
|
</Resources>
|
||||||
|
|
||||||
<Applications>
|
<Applications>
|
||||||
<Application Id="App" Executable="$targetnametoken$.exe" EntryPoint="$targetentrypoint$">
|
<Application Id="App" Executable="$targetnametoken$.exe" EntryPoint="$targetentrypoint$">
|
||||||
<uap:VisualElements
|
<uap:VisualElements
|
||||||
DisplayName="$placeholder$"
|
DisplayName="$placeholder$"
|
||||||
Description="$placeholder$"
|
Description="$placeholder$"
|
||||||
Square150x150Logo="$placeholder$.png"
|
Square150x150Logo="$placeholder$.png"
|
||||||
Square44x44Logo="$placeholder$.png"
|
Square44x44Logo="$placeholder$.png"
|
||||||
BackgroundColor="transparent">
|
BackgroundColor="transparent">
|
||||||
<uap:DefaultTile Square71x71Logo="$placeholder$.png" Wide310x150Logo="$placeholder$.png" Square310x310Logo="$placeholder$.png" />
|
<uap:DefaultTile Square71x71Logo="$placeholder$.png" Wide310x150Logo="$placeholder$.png" Square310x310Logo="$placeholder$.png" />
|
||||||
<uap:SplashScreen Image="$placeholder$.png" />
|
<uap:SplashScreen Image="$placeholder$.png" />
|
||||||
</uap:VisualElements>
|
</uap:VisualElements>
|
||||||
</Application>
|
</Application>
|
||||||
</Applications>
|
</Applications>
|
||||||
|
|
||||||
<Capabilities>
|
<Capabilities>
|
||||||
<rescap:Capability Name="runFullTrust" />
|
<rescap:Capability Name="runFullTrust" />
|
||||||
</Capabilities>
|
</Capabilities>
|
||||||
|
|
||||||
</Package>
|
</Package>
|
@ -1,15 +1,15 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1">
|
<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||||
<assemblyIdentity version="1.0.0.0" name="GameAtlas.WinUI.app"/>
|
<assemblyIdentity version="1.0.0.0" name="GameAtlas.WinUI.app"/>
|
||||||
|
|
||||||
<application xmlns="urn:schemas-microsoft-com:asm.v3">
|
<application xmlns="urn:schemas-microsoft-com:asm.v3">
|
||||||
<windowsSettings>
|
<windowsSettings>
|
||||||
<!-- The combination of below two tags have the following effect:
|
<!-- The combination of below two tags have the following effect:
|
||||||
1) Per-Monitor for >= Windows 10 Anniversary Update
|
1) Per-Monitor for >= Windows 10 Anniversary Update
|
||||||
2) System < Windows 10 Anniversary Update
|
2) System < Windows 10 Anniversary Update
|
||||||
-->
|
-->
|
||||||
<dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true/PM</dpiAware>
|
<dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true/PM</dpiAware>
|
||||||
<dpiAwareness xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">PerMonitorV2, PerMonitor</dpiAwareness>
|
<dpiAwareness xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">PerMonitorV2, PerMonitor</dpiAwareness>
|
||||||
</windowsSettings>
|
</windowsSettings>
|
||||||
</application>
|
</application>
|
||||||
</assembly>
|
</assembly>
|
@ -1,32 +1,32 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?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">
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||||
<plist version="1.0">
|
<plist version="1.0">
|
||||||
<dict>
|
<dict>
|
||||||
<key>LSRequiresIPhoneOS</key>
|
<key>LSRequiresIPhoneOS</key>
|
||||||
<true/>
|
<true/>
|
||||||
<key>UIDeviceFamily</key>
|
<key>UIDeviceFamily</key>
|
||||||
<array>
|
<array>
|
||||||
<integer>1</integer>
|
<integer>1</integer>
|
||||||
<integer>2</integer>
|
<integer>2</integer>
|
||||||
</array>
|
</array>
|
||||||
<key>UIRequiredDeviceCapabilities</key>
|
<key>UIRequiredDeviceCapabilities</key>
|
||||||
<array>
|
<array>
|
||||||
<string>arm64</string>
|
<string>arm64</string>
|
||||||
</array>
|
</array>
|
||||||
<key>UISupportedInterfaceOrientations</key>
|
<key>UISupportedInterfaceOrientations</key>
|
||||||
<array>
|
<array>
|
||||||
<string>UIInterfaceOrientationPortrait</string>
|
<string>UIInterfaceOrientationPortrait</string>
|
||||||
<string>UIInterfaceOrientationLandscapeLeft</string>
|
<string>UIInterfaceOrientationLandscapeLeft</string>
|
||||||
<string>UIInterfaceOrientationLandscapeRight</string>
|
<string>UIInterfaceOrientationLandscapeRight</string>
|
||||||
</array>
|
</array>
|
||||||
<key>UISupportedInterfaceOrientations~ipad</key>
|
<key>UISupportedInterfaceOrientations~ipad</key>
|
||||||
<array>
|
<array>
|
||||||
<string>UIInterfaceOrientationPortrait</string>
|
<string>UIInterfaceOrientationPortrait</string>
|
||||||
<string>UIInterfaceOrientationPortraitUpsideDown</string>
|
<string>UIInterfaceOrientationPortraitUpsideDown</string>
|
||||||
<string>UIInterfaceOrientationLandscapeLeft</string>
|
<string>UIInterfaceOrientationLandscapeLeft</string>
|
||||||
<string>UIInterfaceOrientationLandscapeRight</string>
|
<string>UIInterfaceOrientationLandscapeRight</string>
|
||||||
</array>
|
</array>
|
||||||
<key>XSAppIconAssets</key>
|
<key>XSAppIconAssets</key>
|
||||||
<string>Assets.xcassets/appicon.appiconset</string>
|
<string>Assets.xcassets/appicon.appiconset</string>
|
||||||
</dict>
|
</dict>
|
||||||
</plist>
|
</plist>
|
@ -1,8 +1,8 @@
|
|||||||
{
|
{
|
||||||
"profiles": {
|
"profiles": {
|
||||||
"Windows Machine": {
|
"Windows Machine": {
|
||||||
"commandName": "MsixPackage",
|
"commandName": "MsixPackage",
|
||||||
"nativeDebugging": false
|
"nativeDebugging": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Before Width: | Height: | Size: 561 KiB After Width: | Height: | Size: 561 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 443 B After Width: | Height: | Size: 443 B |
Before Width: | Height: | Size: 221 B After Width: | Height: | Size: 221 B |
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 19 KiB |
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 27 KiB |
Before Width: | Height: | Size: 414 KiB After Width: | Height: | Size: 414 KiB |
Before Width: | Height: | Size: 331 KiB After Width: | Height: | Size: 331 KiB |
Before Width: | Height: | Size: 293 KiB After Width: | Height: | Size: 293 KiB |
Before Width: | Height: | Size: 290 KiB After Width: | Height: | Size: 290 KiB |
Before Width: | Height: | Size: 249 KiB After Width: | Height: | Size: 249 KiB |
Before Width: | Height: | Size: 298 KiB After Width: | Height: | Size: 298 KiB |
Before Width: | Height: | Size: 368 KiB After Width: | Height: | Size: 368 KiB |
Before Width: | Height: | Size: 28 KiB After Width: | Height: | Size: 28 KiB |
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 364 B After Width: | Height: | Size: 364 B |
Before Width: | Height: | Size: 7.7 KiB After Width: | Height: | Size: 7.7 KiB |
Before Width: | Height: | Size: 342 B After Width: | Height: | Size: 342 B |
Before Width: | Height: | Size: 423 KiB After Width: | Height: | Size: 423 KiB |
Before Width: | Height: | Size: 443 B After Width: | Height: | Size: 443 B |
Before Width: | Height: | Size: 237 B After Width: | Height: | Size: 237 B |
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 10 KiB |
Before Width: | Height: | Size: 310 B After Width: | Height: | Size: 310 B |
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 2.4 KiB |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
@ -1,15 +1,15 @@
|
|||||||
Any raw assets you want to be deployed with your application can be placed in
|
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
|
this directory (and child directories). Deployment of the asset to your application
|
||||||
is automatically handled by the following `MauiAsset` Build Action within your `.csproj`.
|
is automatically handled by the following `MauiAsset` Build Action within your `.csproj`.
|
||||||
|
|
||||||
<MauiAsset Include="Resources\Raw\**" LogicalName="%(RecursiveDir)%(Filename)%(Extension)" />
|
<MauiAsset Include="Resources\Raw\**" LogicalName="%(RecursiveDir)%(Filename)%(Extension)" />
|
||||||
|
|
||||||
These files will be deployed with you package and will be accessible using Essentials:
|
These files will be deployed with you package and will be accessible using Essentials:
|
||||||
|
|
||||||
async Task LoadMauiAsset()
|
async Task LoadMauiAsset()
|
||||||
{
|
{
|
||||||
using var stream = await FileSystem.OpenAppPackageFileAsync("AboutAssets.txt");
|
using var stream = await FileSystem.OpenAppPackageFileAsync("AboutAssets.txt");
|
||||||
using var reader = new StreamReader(stream);
|
using var reader = new StreamReader(stream);
|
||||||
|
|
||||||
var contents = reader.ReadToEnd();
|
var contents = reader.ReadToEnd();
|
||||||
}
|
}
|
Before Width: | Height: | Size: 1.8 MiB After Width: | Height: | Size: 1.8 MiB |
@ -1,44 +1,44 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8" ?>
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
<?xaml-comp compile="true" ?>
|
<?xaml-comp compile="true" ?>
|
||||||
<ResourceDictionary
|
<ResourceDictionary
|
||||||
xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml">
|
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml">
|
||||||
|
|
||||||
<Color x:Key="Primary">#FAD05D</Color>
|
<Color x:Key="Primary">#FAD05D</Color>
|
||||||
<Color x:Key="Secondary">#C8D1FF</Color>
|
<Color x:Key="Secondary">#C8D1FF</Color>
|
||||||
<Color x:Key="Tertiary">#D9D9D9</Color>
|
<Color x:Key="Tertiary">#D9D9D9</Color>
|
||||||
<Color x:Key="White">White</Color>
|
<Color x:Key="White">White</Color>
|
||||||
<Color x:Key="Black">Black</Color>
|
<Color x:Key="Black">Black</Color>
|
||||||
<Color x:Key="Gray100">#E1E1E1</Color>
|
<Color x:Key="Gray100">#E1E1E1</Color>
|
||||||
<Color x:Key="Gray200">#C8C8C8</Color>
|
<Color x:Key="Gray200">#C8C8C8</Color>
|
||||||
<Color x:Key="Gray300">#A0A0A0</Color>
|
<Color x:Key="Gray300">#A0A0A0</Color>
|
||||||
<Color x:Key="Gray400">#919191</Color>
|
<Color x:Key="Gray400">#919191</Color>
|
||||||
<Color x:Key="Gray500">#5E5E5E</Color>
|
<Color x:Key="Gray500">#5E5E5E</Color>
|
||||||
<Color x:Key="Gray600">#404040</Color>
|
<Color x:Key="Gray600">#404040</Color>
|
||||||
<Color x:Key="Gray900">#212121</Color>
|
<Color x:Key="Gray900">#212121</Color>
|
||||||
<Color x:Key="Gray950">#141414</Color>
|
<Color x:Key="Gray950">#141414</Color>
|
||||||
<Color x:Key="Gray1000">#121212</Color>
|
<Color x:Key="Gray1000">#121212</Color>
|
||||||
<SolidColorBrush x:Key="PrimaryBrush" Color="{StaticResource Primary}"/>
|
<SolidColorBrush x:Key="PrimaryBrush" Color="{StaticResource Primary}"/>
|
||||||
<SolidColorBrush x:Key="SecondaryBrush" Color="{StaticResource Secondary}"/>
|
<SolidColorBrush x:Key="SecondaryBrush" Color="{StaticResource Secondary}"/>
|
||||||
<SolidColorBrush x:Key="WhiteBrush" Color="{StaticResource White}"/>
|
<SolidColorBrush x:Key="WhiteBrush" Color="{StaticResource White}"/>
|
||||||
<SolidColorBrush x:Key="BlackBrush" Color="{StaticResource Black}"/>
|
<SolidColorBrush x:Key="BlackBrush" Color="{StaticResource Black}"/>
|
||||||
<SolidColorBrush x:Key="Gray100Brush" Color="{StaticResource Gray100}"/>
|
<SolidColorBrush x:Key="Gray100Brush" Color="{StaticResource Gray100}"/>
|
||||||
<SolidColorBrush x:Key="Gray200Brush" Color="{StaticResource Gray200}"/>
|
<SolidColorBrush x:Key="Gray200Brush" Color="{StaticResource Gray200}"/>
|
||||||
<SolidColorBrush x:Key="Gray300Brush" Color="{StaticResource Gray300}"/>
|
<SolidColorBrush x:Key="Gray300Brush" Color="{StaticResource Gray300}"/>
|
||||||
<SolidColorBrush x:Key="Gray400Brush" Color="{StaticResource Gray400}"/>
|
<SolidColorBrush x:Key="Gray400Brush" Color="{StaticResource Gray400}"/>
|
||||||
<SolidColorBrush x:Key="Gray500Brush" Color="{StaticResource Gray500}"/>
|
<SolidColorBrush x:Key="Gray500Brush" Color="{StaticResource Gray500}"/>
|
||||||
<SolidColorBrush x:Key="Gray600Brush" Color="{StaticResource Gray600}"/>
|
<SolidColorBrush x:Key="Gray600Brush" Color="{StaticResource Gray600}"/>
|
||||||
<SolidColorBrush x:Key="Gray900Brush" Color="{StaticResource Gray900}"/>
|
<SolidColorBrush x:Key="Gray900Brush" Color="{StaticResource Gray900}"/>
|
||||||
<SolidColorBrush x:Key="Gray950Brush" Color="{StaticResource Gray950}"/>
|
<SolidColorBrush x:Key="Gray950Brush" Color="{StaticResource Gray950}"/>
|
||||||
|
|
||||||
<Color x:Key="Yellow100Accent">#F7B548</Color>
|
<Color x:Key="Yellow100Accent">#F7B548</Color>
|
||||||
<Color x:Key="Yellow200Accent">#FFD590</Color>
|
<Color x:Key="Yellow200Accent">#FFD590</Color>
|
||||||
<Color x:Key="Yellow300Accent">#FFE5B9</Color>
|
<Color x:Key="Yellow300Accent">#FFE5B9</Color>
|
||||||
<Color x:Key="Cyan100Accent">#28C2D1</Color>
|
<Color x:Key="Cyan100Accent">#28C2D1</Color>
|
||||||
<Color x:Key="Cyan200Accent">#7BDDEF</Color>
|
<Color x:Key="Cyan200Accent">#7BDDEF</Color>
|
||||||
<Color x:Key="Cyan300Accent">#C3F2F4</Color>
|
<Color x:Key="Cyan300Accent">#C3F2F4</Color>
|
||||||
<Color x:Key="Blue100Accent">#3E8EED</Color>
|
<Color x:Key="Blue100Accent">#3E8EED</Color>
|
||||||
<Color x:Key="Blue200Accent">#72ACF1</Color>
|
<Color x:Key="Blue200Accent">#72ACF1</Color>
|
||||||
<Color x:Key="Blue300Accent">#A7CBF6</Color>
|
<Color x:Key="Blue300Accent">#A7CBF6</Color>
|
||||||
|
|
||||||
</ResourceDictionary>
|
</ResourceDictionary>
|
@ -1,444 +1,444 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8" ?>
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
<?xaml-comp compile="true" ?>
|
<?xaml-comp compile="true" ?>
|
||||||
<ResourceDictionary
|
<ResourceDictionary
|
||||||
xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml">
|
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml">
|
||||||
|
|
||||||
<Style TargetType="ActivityIndicator">
|
<Style TargetType="ActivityIndicator">
|
||||||
<Setter Property="Color" Value="{AppThemeBinding Light={StaticResource Primary}, Dark={StaticResource White}}" />
|
<Setter Property="Color" Value="{AppThemeBinding Light={StaticResource Primary}, Dark={StaticResource White}}" />
|
||||||
</Style>
|
</Style>
|
||||||
|
|
||||||
<Style TargetType="IndicatorView">
|
<Style TargetType="IndicatorView">
|
||||||
<Setter Property="IndicatorColor" Value="{AppThemeBinding Light={StaticResource Gray200}, Dark={StaticResource Gray500}}"/>
|
<Setter Property="IndicatorColor" Value="{AppThemeBinding Light={StaticResource Gray200}, Dark={StaticResource Gray500}}"/>
|
||||||
<Setter Property="SelectedIndicatorColor" Value="{AppThemeBinding Light={StaticResource Gray950}, Dark={StaticResource Gray100}}"/>
|
<Setter Property="SelectedIndicatorColor" Value="{AppThemeBinding Light={StaticResource Gray950}, Dark={StaticResource Gray100}}"/>
|
||||||
</Style>
|
</Style>
|
||||||
|
|
||||||
<Style TargetType="Border">
|
<Style TargetType="Border">
|
||||||
<Setter Property="Stroke" Value="{AppThemeBinding Light={StaticResource Gray200}, Dark={StaticResource Gray500}}" />
|
<Setter Property="Stroke" Value="{AppThemeBinding Light={StaticResource Gray200}, Dark={StaticResource Gray500}}" />
|
||||||
<Setter Property="StrokeShape" Value="Rectangle"/>
|
<Setter Property="StrokeShape" Value="Rectangle"/>
|
||||||
<Setter Property="StrokeThickness" Value="1"/>
|
<Setter Property="StrokeThickness" Value="1"/>
|
||||||
</Style>
|
</Style>
|
||||||
|
|
||||||
<Style TargetType="BoxView">
|
<Style TargetType="BoxView">
|
||||||
<Setter Property="Color" Value="{AppThemeBinding Light={StaticResource Gray950}, Dark={StaticResource Gray200}}" />
|
<Setter Property="Color" Value="{AppThemeBinding Light={StaticResource Gray950}, Dark={StaticResource Gray200}}" />
|
||||||
</Style>
|
</Style>
|
||||||
|
|
||||||
<Style TargetType="Button">
|
<Style TargetType="Button">
|
||||||
<Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource White}, Dark={StaticResource Primary}}" />
|
<Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource White}, Dark={StaticResource Primary}}" />
|
||||||
<Setter Property="BackgroundColor" Value="{AppThemeBinding Light={StaticResource Primary}, Dark={StaticResource White}}" />
|
<Setter Property="BackgroundColor" Value="{AppThemeBinding Light={StaticResource Primary}, Dark={StaticResource White}}" />
|
||||||
<Setter Property="FontFamily" Value="OpenSansRegular"/>
|
<Setter Property="FontFamily" Value="OpenSansRegular"/>
|
||||||
<Setter Property="FontSize" Value="14"/>
|
<Setter Property="FontSize" Value="14"/>
|
||||||
<Setter Property="CornerRadius" Value="8"/>
|
<Setter Property="CornerRadius" Value="8"/>
|
||||||
<Setter Property="Padding" Value="14,10"/>
|
<Setter Property="Padding" Value="14,10"/>
|
||||||
<Setter Property="MinimumHeightRequest" Value="44"/>
|
<Setter Property="MinimumHeightRequest" Value="44"/>
|
||||||
<Setter Property="MinimumWidthRequest" Value="44"/>
|
<Setter Property="MinimumWidthRequest" Value="44"/>
|
||||||
<Setter Property="VisualStateManager.VisualStateGroups">
|
<Setter Property="VisualStateManager.VisualStateGroups">
|
||||||
<VisualStateGroupList>
|
<VisualStateGroupList>
|
||||||
<VisualStateGroup x:Name="CommonStates">
|
<VisualStateGroup x:Name="CommonStates">
|
||||||
<VisualState x:Name="Normal" />
|
<VisualState x:Name="Normal" />
|
||||||
<VisualState x:Name="Disabled">
|
<VisualState x:Name="Disabled">
|
||||||
<VisualState.Setters>
|
<VisualState.Setters>
|
||||||
<Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Gray950}, Dark={StaticResource Gray200}}" />
|
<Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Gray950}, Dark={StaticResource Gray200}}" />
|
||||||
<Setter Property="BackgroundColor" Value="{AppThemeBinding Light={StaticResource Gray200}, Dark={StaticResource Gray600}}" />
|
<Setter Property="BackgroundColor" Value="{AppThemeBinding Light={StaticResource Gray200}, Dark={StaticResource Gray600}}" />
|
||||||
</VisualState.Setters>
|
</VisualState.Setters>
|
||||||
</VisualState>
|
</VisualState>
|
||||||
</VisualStateGroup>
|
</VisualStateGroup>
|
||||||
</VisualStateGroupList>
|
</VisualStateGroupList>
|
||||||
</Setter>
|
</Setter>
|
||||||
</Style>
|
</Style>
|
||||||
|
|
||||||
<Style TargetType="CheckBox">
|
<Style TargetType="CheckBox">
|
||||||
<Setter Property="Color" Value="{AppThemeBinding Light={StaticResource Primary}, Dark={StaticResource White}}" />
|
<Setter Property="Color" Value="{AppThemeBinding Light={StaticResource Primary}, Dark={StaticResource White}}" />
|
||||||
<Setter Property="MinimumHeightRequest" Value="44"/>
|
<Setter Property="MinimumHeightRequest" Value="44"/>
|
||||||
<Setter Property="MinimumWidthRequest" Value="44"/>
|
<Setter Property="MinimumWidthRequest" Value="44"/>
|
||||||
<Setter Property="VisualStateManager.VisualStateGroups">
|
<Setter Property="VisualStateManager.VisualStateGroups">
|
||||||
<VisualStateGroupList>
|
<VisualStateGroupList>
|
||||||
<VisualStateGroup x:Name="CommonStates">
|
<VisualStateGroup x:Name="CommonStates">
|
||||||
<VisualState x:Name="Normal" />
|
<VisualState x:Name="Normal" />
|
||||||
<VisualState x:Name="Disabled">
|
<VisualState x:Name="Disabled">
|
||||||
<VisualState.Setters>
|
<VisualState.Setters>
|
||||||
<Setter Property="Color" Value="{AppThemeBinding Light={StaticResource Gray300}, Dark={StaticResource Gray600}}" />
|
<Setter Property="Color" Value="{AppThemeBinding Light={StaticResource Gray300}, Dark={StaticResource Gray600}}" />
|
||||||
</VisualState.Setters>
|
</VisualState.Setters>
|
||||||
</VisualState>
|
</VisualState>
|
||||||
</VisualStateGroup>
|
</VisualStateGroup>
|
||||||
</VisualStateGroupList>
|
</VisualStateGroupList>
|
||||||
</Setter>
|
</Setter>
|
||||||
</Style>
|
</Style>
|
||||||
|
|
||||||
<Style TargetType="DatePicker">
|
<Style TargetType="DatePicker">
|
||||||
<Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Gray900}, Dark={StaticResource White}}" />
|
<Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Gray900}, Dark={StaticResource White}}" />
|
||||||
<Setter Property="BackgroundColor" Value="Transparent" />
|
<Setter Property="BackgroundColor" Value="Transparent" />
|
||||||
<Setter Property="FontFamily" Value="OpenSansRegular"/>
|
<Setter Property="FontFamily" Value="OpenSansRegular"/>
|
||||||
<Setter Property="FontSize" Value="14"/>
|
<Setter Property="FontSize" Value="14"/>
|
||||||
<Setter Property="MinimumHeightRequest" Value="44"/>
|
<Setter Property="MinimumHeightRequest" Value="44"/>
|
||||||
<Setter Property="MinimumWidthRequest" Value="44"/>
|
<Setter Property="MinimumWidthRequest" Value="44"/>
|
||||||
<Setter Property="VisualStateManager.VisualStateGroups">
|
<Setter Property="VisualStateManager.VisualStateGroups">
|
||||||
<VisualStateGroupList>
|
<VisualStateGroupList>
|
||||||
<VisualStateGroup x:Name="CommonStates">
|
<VisualStateGroup x:Name="CommonStates">
|
||||||
<VisualState x:Name="Normal" />
|
<VisualState x:Name="Normal" />
|
||||||
<VisualState x:Name="Disabled">
|
<VisualState x:Name="Disabled">
|
||||||
<VisualState.Setters>
|
<VisualState.Setters>
|
||||||
<Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Gray200}, Dark={StaticResource Gray500}}" />
|
<Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Gray200}, Dark={StaticResource Gray500}}" />
|
||||||
</VisualState.Setters>
|
</VisualState.Setters>
|
||||||
</VisualState>
|
</VisualState>
|
||||||
</VisualStateGroup>
|
</VisualStateGroup>
|
||||||
</VisualStateGroupList>
|
</VisualStateGroupList>
|
||||||
</Setter>
|
</Setter>
|
||||||
</Style>
|
</Style>
|
||||||
|
|
||||||
<Style TargetType="Editor">
|
<Style TargetType="Editor">
|
||||||
<Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Black}, Dark={StaticResource White}}" />
|
<Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Black}, Dark={StaticResource White}}" />
|
||||||
<Setter Property="BackgroundColor" Value="Transparent" />
|
<Setter Property="BackgroundColor" Value="Transparent" />
|
||||||
<Setter Property="FontFamily" Value="OpenSansRegular"/>
|
<Setter Property="FontFamily" Value="OpenSansRegular"/>
|
||||||
<Setter Property="FontSize" Value="14" />
|
<Setter Property="FontSize" Value="14" />
|
||||||
<Setter Property="PlaceholderColor" Value="{AppThemeBinding Light={StaticResource Gray200}, Dark={StaticResource Gray500}}" />
|
<Setter Property="PlaceholderColor" Value="{AppThemeBinding Light={StaticResource Gray200}, Dark={StaticResource Gray500}}" />
|
||||||
<Setter Property="MinimumHeightRequest" Value="44"/>
|
<Setter Property="MinimumHeightRequest" Value="44"/>
|
||||||
<Setter Property="MinimumWidthRequest" Value="44"/>
|
<Setter Property="MinimumWidthRequest" Value="44"/>
|
||||||
<Setter Property="VisualStateManager.VisualStateGroups">
|
<Setter Property="VisualStateManager.VisualStateGroups">
|
||||||
<VisualStateGroupList>
|
<VisualStateGroupList>
|
||||||
<VisualStateGroup x:Name="CommonStates">
|
<VisualStateGroup x:Name="CommonStates">
|
||||||
<VisualState x:Name="Normal" />
|
<VisualState x:Name="Normal" />
|
||||||
<VisualState x:Name="Disabled">
|
<VisualState x:Name="Disabled">
|
||||||
<VisualState.Setters>
|
<VisualState.Setters>
|
||||||
<Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Gray300}, Dark={StaticResource Gray600}}" />
|
<Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Gray300}, Dark={StaticResource Gray600}}" />
|
||||||
</VisualState.Setters>
|
</VisualState.Setters>
|
||||||
</VisualState>
|
</VisualState>
|
||||||
</VisualStateGroup>
|
</VisualStateGroup>
|
||||||
</VisualStateGroupList>
|
</VisualStateGroupList>
|
||||||
</Setter>
|
</Setter>
|
||||||
</Style>
|
</Style>
|
||||||
|
|
||||||
<Style TargetType="Entry">
|
<Style TargetType="Entry">
|
||||||
<Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Black}, Dark={StaticResource White}}" />
|
<Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Black}, Dark={StaticResource White}}" />
|
||||||
<Setter Property="BackgroundColor" Value="Transparent" />
|
<Setter Property="BackgroundColor" Value="Transparent" />
|
||||||
<Setter Property="FontFamily" Value="OpenSansRegular"/>
|
<Setter Property="FontFamily" Value="OpenSansRegular"/>
|
||||||
<Setter Property="FontSize" Value="14" />
|
<Setter Property="FontSize" Value="14" />
|
||||||
<Setter Property="PlaceholderColor" Value="{AppThemeBinding Light={StaticResource Gray200}, Dark={StaticResource Gray500}}" />
|
<Setter Property="PlaceholderColor" Value="{AppThemeBinding Light={StaticResource Gray200}, Dark={StaticResource Gray500}}" />
|
||||||
<Setter Property="MinimumHeightRequest" Value="44"/>
|
<Setter Property="MinimumHeightRequest" Value="44"/>
|
||||||
<Setter Property="MinimumWidthRequest" Value="44"/>
|
<Setter Property="MinimumWidthRequest" Value="44"/>
|
||||||
<Setter Property="VisualStateManager.VisualStateGroups">
|
<Setter Property="VisualStateManager.VisualStateGroups">
|
||||||
<VisualStateGroupList>
|
<VisualStateGroupList>
|
||||||
<VisualStateGroup x:Name="CommonStates">
|
<VisualStateGroup x:Name="CommonStates">
|
||||||
<VisualState x:Name="Normal" />
|
<VisualState x:Name="Normal" />
|
||||||
<VisualState x:Name="Disabled">
|
<VisualState x:Name="Disabled">
|
||||||
<VisualState.Setters>
|
<VisualState.Setters>
|
||||||
<Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Gray300}, Dark={StaticResource Gray600}}" />
|
<Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Gray300}, Dark={StaticResource Gray600}}" />
|
||||||
</VisualState.Setters>
|
</VisualState.Setters>
|
||||||
</VisualState>
|
</VisualState>
|
||||||
</VisualStateGroup>
|
</VisualStateGroup>
|
||||||
</VisualStateGroupList>
|
</VisualStateGroupList>
|
||||||
</Setter>
|
</Setter>
|
||||||
</Style>
|
</Style>
|
||||||
|
|
||||||
<Style TargetType="Frame">
|
<Style TargetType="Frame">
|
||||||
<Setter Property="HasShadow" Value="False" />
|
<Setter Property="HasShadow" Value="False" />
|
||||||
<Setter Property="CornerRadius" Value="0" />
|
<Setter Property="CornerRadius" Value="0" />
|
||||||
<Setter Property="Padding" Value="0" />
|
<Setter Property="Padding" Value="0" />
|
||||||
</Style>
|
</Style>
|
||||||
|
|
||||||
<Style TargetType="ImageButton">
|
<Style TargetType="ImageButton">
|
||||||
<Setter Property="Opacity" Value="1" />
|
<Setter Property="Opacity" Value="1" />
|
||||||
<Setter Property="BorderColor" Value="Transparent"/>
|
<Setter Property="BorderColor" Value="Transparent"/>
|
||||||
<Setter Property="BorderWidth" Value="0"/>
|
<Setter Property="BorderWidth" Value="0"/>
|
||||||
<Setter Property="CornerRadius" Value="0"/>
|
<Setter Property="CornerRadius" Value="0"/>
|
||||||
<Setter Property="MinimumHeightRequest" Value="44"/>
|
<Setter Property="MinimumHeightRequest" Value="44"/>
|
||||||
<Setter Property="MinimumWidthRequest" Value="44"/>
|
<Setter Property="MinimumWidthRequest" Value="44"/>
|
||||||
<Setter Property="VisualStateManager.VisualStateGroups">
|
<Setter Property="VisualStateManager.VisualStateGroups">
|
||||||
<VisualStateGroupList>
|
<VisualStateGroupList>
|
||||||
<VisualStateGroup x:Name="CommonStates">
|
<VisualStateGroup x:Name="CommonStates">
|
||||||
<VisualState x:Name="Normal" />
|
<VisualState x:Name="Normal" />
|
||||||
<VisualState x:Name="Disabled">
|
<VisualState x:Name="Disabled">
|
||||||
<VisualState.Setters>
|
<VisualState.Setters>
|
||||||
<Setter Property="Opacity" Value="0.5" />
|
<Setter Property="Opacity" Value="0.5" />
|
||||||
</VisualState.Setters>
|
</VisualState.Setters>
|
||||||
</VisualState>
|
</VisualState>
|
||||||
</VisualStateGroup>
|
</VisualStateGroup>
|
||||||
</VisualStateGroupList>
|
</VisualStateGroupList>
|
||||||
</Setter>
|
</Setter>
|
||||||
</Style>
|
</Style>
|
||||||
|
|
||||||
<Style TargetType="Label">
|
<Style TargetType="Label">
|
||||||
<Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Gray900}, Dark={StaticResource White}}" />
|
<Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Gray900}, Dark={StaticResource White}}" />
|
||||||
<Setter Property="BackgroundColor" Value="Transparent" />
|
<Setter Property="BackgroundColor" Value="Transparent" />
|
||||||
<Setter Property="FontFamily" Value="OpenSansRegular" />
|
<Setter Property="FontFamily" Value="OpenSansRegular" />
|
||||||
<Setter Property="FontSize" Value="14" />
|
<Setter Property="FontSize" Value="14" />
|
||||||
<Setter Property="VisualStateManager.VisualStateGroups">
|
<Setter Property="VisualStateManager.VisualStateGroups">
|
||||||
<VisualStateGroupList>
|
<VisualStateGroupList>
|
||||||
<VisualStateGroup x:Name="CommonStates">
|
<VisualStateGroup x:Name="CommonStates">
|
||||||
<VisualState x:Name="Normal" />
|
<VisualState x:Name="Normal" />
|
||||||
<VisualState x:Name="Disabled">
|
<VisualState x:Name="Disabled">
|
||||||
<VisualState.Setters>
|
<VisualState.Setters>
|
||||||
<Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Gray300}, Dark={StaticResource Gray600}}" />
|
<Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Gray300}, Dark={StaticResource Gray600}}" />
|
||||||
</VisualState.Setters>
|
</VisualState.Setters>
|
||||||
</VisualState>
|
</VisualState>
|
||||||
</VisualStateGroup>
|
</VisualStateGroup>
|
||||||
</VisualStateGroupList>
|
</VisualStateGroupList>
|
||||||
</Setter>
|
</Setter>
|
||||||
</Style>
|
</Style>
|
||||||
|
|
||||||
<Style TargetType="ListView">
|
<Style TargetType="ListView">
|
||||||
<Setter Property="SeparatorColor" Value="{AppThemeBinding Light={StaticResource Gray200}, Dark={StaticResource Gray500}}" />
|
<Setter Property="SeparatorColor" Value="{AppThemeBinding Light={StaticResource Gray200}, Dark={StaticResource Gray500}}" />
|
||||||
<Setter Property="RefreshControlColor" Value="{AppThemeBinding Light={StaticResource Gray900}, Dark={StaticResource Gray200}}" />
|
<Setter Property="RefreshControlColor" Value="{AppThemeBinding Light={StaticResource Gray900}, Dark={StaticResource Gray200}}" />
|
||||||
</Style>
|
</Style>
|
||||||
|
|
||||||
<Style TargetType="Picker">
|
<Style TargetType="Picker">
|
||||||
<Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Gray900}, Dark={StaticResource White}}" />
|
<Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Gray900}, Dark={StaticResource White}}" />
|
||||||
<Setter Property="TitleColor" Value="{AppThemeBinding Light={StaticResource Gray900}, Dark={StaticResource Gray200}}" />
|
<Setter Property="TitleColor" Value="{AppThemeBinding Light={StaticResource Gray900}, Dark={StaticResource Gray200}}" />
|
||||||
<Setter Property="BackgroundColor" Value="Transparent" />
|
<Setter Property="BackgroundColor" Value="Transparent" />
|
||||||
<Setter Property="FontFamily" Value="OpenSansRegular"/>
|
<Setter Property="FontFamily" Value="OpenSansRegular"/>
|
||||||
<Setter Property="FontSize" Value="14"/>
|
<Setter Property="FontSize" Value="14"/>
|
||||||
<Setter Property="MinimumHeightRequest" Value="44"/>
|
<Setter Property="MinimumHeightRequest" Value="44"/>
|
||||||
<Setter Property="MinimumWidthRequest" Value="44"/>
|
<Setter Property="MinimumWidthRequest" Value="44"/>
|
||||||
<Setter Property="VisualStateManager.VisualStateGroups">
|
<Setter Property="VisualStateManager.VisualStateGroups">
|
||||||
<VisualStateGroupList>
|
<VisualStateGroupList>
|
||||||
<VisualStateGroup x:Name="CommonStates">
|
<VisualStateGroup x:Name="CommonStates">
|
||||||
<VisualState x:Name="Normal" />
|
<VisualState x:Name="Normal" />
|
||||||
<VisualState x:Name="Disabled">
|
<VisualState x:Name="Disabled">
|
||||||
<VisualState.Setters>
|
<VisualState.Setters>
|
||||||
<Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Gray300}, Dark={StaticResource Gray600}}" />
|
<Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Gray300}, Dark={StaticResource Gray600}}" />
|
||||||
<Setter Property="TitleColor" Value="{AppThemeBinding Light={StaticResource Gray300}, Dark={StaticResource Gray600}}" />
|
<Setter Property="TitleColor" Value="{AppThemeBinding Light={StaticResource Gray300}, Dark={StaticResource Gray600}}" />
|
||||||
</VisualState.Setters>
|
</VisualState.Setters>
|
||||||
</VisualState>
|
</VisualState>
|
||||||
</VisualStateGroup>
|
</VisualStateGroup>
|
||||||
</VisualStateGroupList>
|
</VisualStateGroupList>
|
||||||
</Setter>
|
</Setter>
|
||||||
</Style>
|
</Style>
|
||||||
|
|
||||||
<Style TargetType="ProgressBar">
|
<Style TargetType="ProgressBar">
|
||||||
<Setter Property="ProgressColor" Value="{AppThemeBinding Light={StaticResource Primary}, Dark={StaticResource White}}" />
|
<Setter Property="ProgressColor" Value="{AppThemeBinding Light={StaticResource Primary}, Dark={StaticResource White}}" />
|
||||||
<Setter Property="VisualStateManager.VisualStateGroups">
|
<Setter Property="VisualStateManager.VisualStateGroups">
|
||||||
<VisualStateGroupList>
|
<VisualStateGroupList>
|
||||||
<VisualStateGroup x:Name="CommonStates">
|
<VisualStateGroup x:Name="CommonStates">
|
||||||
<VisualState x:Name="Normal" />
|
<VisualState x:Name="Normal" />
|
||||||
<VisualState x:Name="Disabled">
|
<VisualState x:Name="Disabled">
|
||||||
<VisualState.Setters>
|
<VisualState.Setters>
|
||||||
<Setter Property="ProgressColor" Value="{AppThemeBinding Light={StaticResource Gray300}, Dark={StaticResource Gray600}}" />
|
<Setter Property="ProgressColor" Value="{AppThemeBinding Light={StaticResource Gray300}, Dark={StaticResource Gray600}}" />
|
||||||
</VisualState.Setters>
|
</VisualState.Setters>
|
||||||
</VisualState>
|
</VisualState>
|
||||||
</VisualStateGroup>
|
</VisualStateGroup>
|
||||||
</VisualStateGroupList>
|
</VisualStateGroupList>
|
||||||
</Setter>
|
</Setter>
|
||||||
</Style>
|
</Style>
|
||||||
|
|
||||||
<Style TargetType="RadioButton">
|
<Style TargetType="RadioButton">
|
||||||
<Setter Property="BackgroundColor" Value="Transparent"/>
|
<Setter Property="BackgroundColor" Value="Transparent"/>
|
||||||
<Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Black}, Dark={StaticResource White}}" />
|
<Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Black}, Dark={StaticResource White}}" />
|
||||||
<Setter Property="FontFamily" Value="OpenSansRegular"/>
|
<Setter Property="FontFamily" Value="OpenSansRegular"/>
|
||||||
<Setter Property="FontSize" Value="14"/>
|
<Setter Property="FontSize" Value="14"/>
|
||||||
<Setter Property="MinimumHeightRequest" Value="44"/>
|
<Setter Property="MinimumHeightRequest" Value="44"/>
|
||||||
<Setter Property="MinimumWidthRequest" Value="44"/>
|
<Setter Property="MinimumWidthRequest" Value="44"/>
|
||||||
<Setter Property="VisualStateManager.VisualStateGroups">
|
<Setter Property="VisualStateManager.VisualStateGroups">
|
||||||
<VisualStateGroupList>
|
<VisualStateGroupList>
|
||||||
<VisualStateGroup x:Name="CommonStates">
|
<VisualStateGroup x:Name="CommonStates">
|
||||||
<VisualState x:Name="Normal" />
|
<VisualState x:Name="Normal" />
|
||||||
<VisualState x:Name="Disabled">
|
<VisualState x:Name="Disabled">
|
||||||
<VisualState.Setters>
|
<VisualState.Setters>
|
||||||
<Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Gray300}, Dark={StaticResource Gray600}}" />
|
<Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Gray300}, Dark={StaticResource Gray600}}" />
|
||||||
</VisualState.Setters>
|
</VisualState.Setters>
|
||||||
</VisualState>
|
</VisualState>
|
||||||
</VisualStateGroup>
|
</VisualStateGroup>
|
||||||
</VisualStateGroupList>
|
</VisualStateGroupList>
|
||||||
</Setter>
|
</Setter>
|
||||||
</Style>
|
</Style>
|
||||||
|
|
||||||
<Style TargetType="RefreshView">
|
<Style TargetType="RefreshView">
|
||||||
<Setter Property="RefreshColor" Value="{AppThemeBinding Light={StaticResource Gray900}, Dark={StaticResource Gray200}}" />
|
<Setter Property="RefreshColor" Value="{AppThemeBinding Light={StaticResource Gray900}, Dark={StaticResource Gray200}}" />
|
||||||
</Style>
|
</Style>
|
||||||
|
|
||||||
<Style TargetType="SearchBar">
|
<Style TargetType="SearchBar">
|
||||||
<Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Gray900}, Dark={StaticResource White}}" />
|
<Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Gray900}, Dark={StaticResource White}}" />
|
||||||
<Setter Property="PlaceholderColor" Value="{StaticResource Gray500}" />
|
<Setter Property="PlaceholderColor" Value="{StaticResource Gray500}" />
|
||||||
<Setter Property="CancelButtonColor" Value="{StaticResource Gray500}" />
|
<Setter Property="CancelButtonColor" Value="{StaticResource Gray500}" />
|
||||||
<Setter Property="BackgroundColor" Value="Transparent" />
|
<Setter Property="BackgroundColor" Value="Transparent" />
|
||||||
<Setter Property="FontFamily" Value="OpenSansRegular" />
|
<Setter Property="FontFamily" Value="OpenSansRegular" />
|
||||||
<Setter Property="FontSize" Value="14" />
|
<Setter Property="FontSize" Value="14" />
|
||||||
<Setter Property="MinimumHeightRequest" Value="44"/>
|
<Setter Property="MinimumHeightRequest" Value="44"/>
|
||||||
<Setter Property="MinimumWidthRequest" Value="44"/>
|
<Setter Property="MinimumWidthRequest" Value="44"/>
|
||||||
<Setter Property="VisualStateManager.VisualStateGroups">
|
<Setter Property="VisualStateManager.VisualStateGroups">
|
||||||
<VisualStateGroupList>
|
<VisualStateGroupList>
|
||||||
<VisualStateGroup x:Name="CommonStates">
|
<VisualStateGroup x:Name="CommonStates">
|
||||||
<VisualState x:Name="Normal" />
|
<VisualState x:Name="Normal" />
|
||||||
<VisualState x:Name="Disabled">
|
<VisualState x:Name="Disabled">
|
||||||
<VisualState.Setters>
|
<VisualState.Setters>
|
||||||
<Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Gray300}, Dark={StaticResource Gray600}}" />
|
<Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Gray300}, Dark={StaticResource Gray600}}" />
|
||||||
<Setter Property="PlaceholderColor" Value="{AppThemeBinding Light={StaticResource Gray300}, Dark={StaticResource Gray600}}" />
|
<Setter Property="PlaceholderColor" Value="{AppThemeBinding Light={StaticResource Gray300}, Dark={StaticResource Gray600}}" />
|
||||||
</VisualState.Setters>
|
</VisualState.Setters>
|
||||||
</VisualState>
|
</VisualState>
|
||||||
</VisualStateGroup>
|
</VisualStateGroup>
|
||||||
</VisualStateGroupList>
|
</VisualStateGroupList>
|
||||||
</Setter>
|
</Setter>
|
||||||
</Style>
|
</Style>
|
||||||
|
|
||||||
<Style TargetType="SearchHandler">
|
<Style TargetType="SearchHandler">
|
||||||
<Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Gray900}, Dark={StaticResource White}}" />
|
<Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Gray900}, Dark={StaticResource White}}" />
|
||||||
<Setter Property="PlaceholderColor" Value="{StaticResource Gray500}" />
|
<Setter Property="PlaceholderColor" Value="{StaticResource Gray500}" />
|
||||||
<Setter Property="BackgroundColor" Value="Transparent" />
|
<Setter Property="BackgroundColor" Value="Transparent" />
|
||||||
<Setter Property="FontFamily" Value="OpenSansRegular" />
|
<Setter Property="FontFamily" Value="OpenSansRegular" />
|
||||||
<Setter Property="FontSize" Value="14" />
|
<Setter Property="FontSize" Value="14" />
|
||||||
<Setter Property="VisualStateManager.VisualStateGroups">
|
<Setter Property="VisualStateManager.VisualStateGroups">
|
||||||
<VisualStateGroupList>
|
<VisualStateGroupList>
|
||||||
<VisualStateGroup x:Name="CommonStates">
|
<VisualStateGroup x:Name="CommonStates">
|
||||||
<VisualState x:Name="Normal" />
|
<VisualState x:Name="Normal" />
|
||||||
<VisualState x:Name="Disabled">
|
<VisualState x:Name="Disabled">
|
||||||
<VisualState.Setters>
|
<VisualState.Setters>
|
||||||
<Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Gray300}, Dark={StaticResource Gray600}}" />
|
<Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Gray300}, Dark={StaticResource Gray600}}" />
|
||||||
<Setter Property="PlaceholderColor" Value="{AppThemeBinding Light={StaticResource Gray300}, Dark={StaticResource Gray600}}" />
|
<Setter Property="PlaceholderColor" Value="{AppThemeBinding Light={StaticResource Gray300}, Dark={StaticResource Gray600}}" />
|
||||||
</VisualState.Setters>
|
</VisualState.Setters>
|
||||||
</VisualState>
|
</VisualState>
|
||||||
</VisualStateGroup>
|
</VisualStateGroup>
|
||||||
</VisualStateGroupList>
|
</VisualStateGroupList>
|
||||||
</Setter>
|
</Setter>
|
||||||
</Style>
|
</Style>
|
||||||
|
|
||||||
<Style TargetType="Shadow">
|
<Style TargetType="Shadow">
|
||||||
<Setter Property="Radius" Value="15" />
|
<Setter Property="Radius" Value="15" />
|
||||||
<Setter Property="Opacity" Value="0.5" />
|
<Setter Property="Opacity" Value="0.5" />
|
||||||
<Setter Property="Brush" Value="{AppThemeBinding Light={StaticResource White}, Dark={StaticResource White}}" />
|
<Setter Property="Brush" Value="{AppThemeBinding Light={StaticResource White}, Dark={StaticResource White}}" />
|
||||||
<Setter Property="Offset" Value="10,10" />
|
<Setter Property="Offset" Value="10,10" />
|
||||||
</Style>
|
</Style>
|
||||||
|
|
||||||
<Style TargetType="Slider">
|
<Style TargetType="Slider">
|
||||||
<Setter Property="MinimumTrackColor" Value="{AppThemeBinding Light={StaticResource Primary}, Dark={StaticResource White}}" />
|
<Setter Property="MinimumTrackColor" Value="{AppThemeBinding Light={StaticResource Primary}, Dark={StaticResource White}}" />
|
||||||
<Setter Property="MaximumTrackColor" Value="{AppThemeBinding Light={StaticResource Gray200}, Dark={StaticResource Gray600}}" />
|
<Setter Property="MaximumTrackColor" Value="{AppThemeBinding Light={StaticResource Gray200}, Dark={StaticResource Gray600}}" />
|
||||||
<Setter Property="ThumbColor" Value="{AppThemeBinding Light={StaticResource Primary}, Dark={StaticResource White}}" />
|
<Setter Property="ThumbColor" Value="{AppThemeBinding Light={StaticResource Primary}, Dark={StaticResource White}}" />
|
||||||
<Setter Property="VisualStateManager.VisualStateGroups">
|
<Setter Property="VisualStateManager.VisualStateGroups">
|
||||||
<VisualStateGroupList>
|
<VisualStateGroupList>
|
||||||
<VisualStateGroup x:Name="CommonStates">
|
<VisualStateGroup x:Name="CommonStates">
|
||||||
<VisualState x:Name="Normal" />
|
<VisualState x:Name="Normal" />
|
||||||
<VisualState x:Name="Disabled">
|
<VisualState x:Name="Disabled">
|
||||||
<VisualState.Setters>
|
<VisualState.Setters>
|
||||||
<Setter Property="MinimumTrackColor" Value="{AppThemeBinding Light={StaticResource Gray300}, Dark={StaticResource Gray600}}"/>
|
<Setter Property="MinimumTrackColor" Value="{AppThemeBinding Light={StaticResource Gray300}, Dark={StaticResource Gray600}}"/>
|
||||||
<Setter Property="MaximumTrackColor" Value="{AppThemeBinding Light={StaticResource Gray300}, Dark={StaticResource Gray600}}"/>
|
<Setter Property="MaximumTrackColor" Value="{AppThemeBinding Light={StaticResource Gray300}, Dark={StaticResource Gray600}}"/>
|
||||||
<Setter Property="ThumbColor" Value="{AppThemeBinding Light={StaticResource Gray300}, Dark={StaticResource Gray600}}"/>
|
<Setter Property="ThumbColor" Value="{AppThemeBinding Light={StaticResource Gray300}, Dark={StaticResource Gray600}}"/>
|
||||||
</VisualState.Setters>
|
</VisualState.Setters>
|
||||||
</VisualState>
|
</VisualState>
|
||||||
</VisualStateGroup>
|
</VisualStateGroup>
|
||||||
</VisualStateGroupList>
|
</VisualStateGroupList>
|
||||||
</Setter>
|
</Setter>
|
||||||
</Style>
|
</Style>
|
||||||
|
|
||||||
<Style TargetType="SwipeItem">
|
<Style TargetType="SwipeItem">
|
||||||
<Setter Property="BackgroundColor" Value="{AppThemeBinding Light={StaticResource White}, Dark={StaticResource Black}}" />
|
<Setter Property="BackgroundColor" Value="{AppThemeBinding Light={StaticResource White}, Dark={StaticResource Black}}" />
|
||||||
</Style>
|
</Style>
|
||||||
|
|
||||||
<Style TargetType="Switch">
|
<Style TargetType="Switch">
|
||||||
<Setter Property="OnColor" Value="{AppThemeBinding Light={StaticResource Primary}, Dark={StaticResource White}}" />
|
<Setter Property="OnColor" Value="{AppThemeBinding Light={StaticResource Primary}, Dark={StaticResource White}}" />
|
||||||
<Setter Property="ThumbColor" Value="{StaticResource White}" />
|
<Setter Property="ThumbColor" Value="{StaticResource White}" />
|
||||||
<Setter Property="VisualStateManager.VisualStateGroups">
|
<Setter Property="VisualStateManager.VisualStateGroups">
|
||||||
<VisualStateGroupList>
|
<VisualStateGroupList>
|
||||||
<VisualStateGroup x:Name="CommonStates">
|
<VisualStateGroup x:Name="CommonStates">
|
||||||
<VisualState x:Name="Normal" />
|
<VisualState x:Name="Normal" />
|
||||||
<VisualState x:Name="Disabled">
|
<VisualState x:Name="Disabled">
|
||||||
<VisualState.Setters>
|
<VisualState.Setters>
|
||||||
<Setter Property="OnColor" Value="{AppThemeBinding Light={StaticResource Gray300}, Dark={StaticResource Gray600}}" />
|
<Setter Property="OnColor" Value="{AppThemeBinding Light={StaticResource Gray300}, Dark={StaticResource Gray600}}" />
|
||||||
<Setter Property="ThumbColor" Value="{AppThemeBinding Light={StaticResource Gray300}, Dark={StaticResource Gray600}}" />
|
<Setter Property="ThumbColor" Value="{AppThemeBinding Light={StaticResource Gray300}, Dark={StaticResource Gray600}}" />
|
||||||
</VisualState.Setters>
|
</VisualState.Setters>
|
||||||
</VisualState>
|
</VisualState>
|
||||||
<VisualState x:Name="On">
|
<VisualState x:Name="On">
|
||||||
<VisualState.Setters>
|
<VisualState.Setters>
|
||||||
<Setter Property="OnColor" Value="{AppThemeBinding Light={StaticResource Secondary}, Dark={StaticResource Gray200}}" />
|
<Setter Property="OnColor" Value="{AppThemeBinding Light={StaticResource Secondary}, Dark={StaticResource Gray200}}" />
|
||||||
<Setter Property="ThumbColor" Value="{AppThemeBinding Light={StaticResource Primary}, Dark={StaticResource White}}" />
|
<Setter Property="ThumbColor" Value="{AppThemeBinding Light={StaticResource Primary}, Dark={StaticResource White}}" />
|
||||||
</VisualState.Setters>
|
</VisualState.Setters>
|
||||||
</VisualState>
|
</VisualState>
|
||||||
<VisualState x:Name="Off">
|
<VisualState x:Name="Off">
|
||||||
<VisualState.Setters>
|
<VisualState.Setters>
|
||||||
<Setter Property="ThumbColor" Value="{AppThemeBinding Light={StaticResource Gray400}, Dark={StaticResource Gray500}}" />
|
<Setter Property="ThumbColor" Value="{AppThemeBinding Light={StaticResource Gray400}, Dark={StaticResource Gray500}}" />
|
||||||
</VisualState.Setters>
|
</VisualState.Setters>
|
||||||
</VisualState>
|
</VisualState>
|
||||||
</VisualStateGroup>
|
</VisualStateGroup>
|
||||||
</VisualStateGroupList>
|
</VisualStateGroupList>
|
||||||
</Setter>
|
</Setter>
|
||||||
</Style>
|
</Style>
|
||||||
|
|
||||||
<Style TargetType="TimePicker">
|
<Style TargetType="TimePicker">
|
||||||
<Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Gray900}, Dark={StaticResource White}}" />
|
<Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Gray900}, Dark={StaticResource White}}" />
|
||||||
<Setter Property="BackgroundColor" Value="Transparent"/>
|
<Setter Property="BackgroundColor" Value="Transparent"/>
|
||||||
<Setter Property="FontFamily" Value="OpenSansRegular"/>
|
<Setter Property="FontFamily" Value="OpenSansRegular"/>
|
||||||
<Setter Property="FontSize" Value="14"/>
|
<Setter Property="FontSize" Value="14"/>
|
||||||
<Setter Property="MinimumHeightRequest" Value="44"/>
|
<Setter Property="MinimumHeightRequest" Value="44"/>
|
||||||
<Setter Property="MinimumWidthRequest" Value="44"/>
|
<Setter Property="MinimumWidthRequest" Value="44"/>
|
||||||
<Setter Property="VisualStateManager.VisualStateGroups">
|
<Setter Property="VisualStateManager.VisualStateGroups">
|
||||||
<VisualStateGroupList>
|
<VisualStateGroupList>
|
||||||
<VisualStateGroup x:Name="CommonStates">
|
<VisualStateGroup x:Name="CommonStates">
|
||||||
<VisualState x:Name="Normal" />
|
<VisualState x:Name="Normal" />
|
||||||
<VisualState x:Name="Disabled">
|
<VisualState x:Name="Disabled">
|
||||||
<VisualState.Setters>
|
<VisualState.Setters>
|
||||||
<Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Gray300}, Dark={StaticResource Gray600}}" />
|
<Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Gray300}, Dark={StaticResource Gray600}}" />
|
||||||
</VisualState.Setters>
|
</VisualState.Setters>
|
||||||
</VisualState>
|
</VisualState>
|
||||||
</VisualStateGroup>
|
</VisualStateGroup>
|
||||||
</VisualStateGroupList>
|
</VisualStateGroupList>
|
||||||
</Setter>
|
</Setter>
|
||||||
</Style>
|
</Style>
|
||||||
|
|
||||||
<Style TargetType="Page" ApplyToDerivedTypes="True">
|
<Style TargetType="Page" ApplyToDerivedTypes="True">
|
||||||
<Setter Property="Padding" Value="0"/>
|
<Setter Property="Padding" Value="0"/>
|
||||||
<Setter Property="BackgroundColor" Value="{AppThemeBinding Light={StaticResource White}, Dark={StaticResource Black}}" />
|
<Setter Property="BackgroundColor" Value="{AppThemeBinding Light={StaticResource White}, Dark={StaticResource Black}}" />
|
||||||
</Style>
|
</Style>
|
||||||
|
|
||||||
<Style TargetType="Shell" ApplyToDerivedTypes="True">
|
<Style TargetType="Shell" ApplyToDerivedTypes="True">
|
||||||
<Setter Property="Shell.BackgroundColor" Value="{AppThemeBinding Light={StaticResource Primary}, Dark={StaticResource Gray950}}" />
|
<Setter Property="Shell.BackgroundColor" Value="{AppThemeBinding Light={StaticResource Primary}, Dark={StaticResource Gray950}}" />
|
||||||
<Setter Property="Shell.ForegroundColor" Value="{OnPlatform WinUI={StaticResource Primary}, Default={StaticResource White}}" />
|
<Setter Property="Shell.ForegroundColor" Value="{OnPlatform WinUI={StaticResource Primary}, Default={StaticResource White}}" />
|
||||||
<Setter Property="Shell.TitleColor" Value="{AppThemeBinding Light={StaticResource White}, Dark={StaticResource White}}" />
|
<Setter Property="Shell.TitleColor" Value="{AppThemeBinding Light={StaticResource White}, Dark={StaticResource White}}" />
|
||||||
<Setter Property="Shell.DisabledColor" Value="{AppThemeBinding Light={StaticResource Gray200}, Dark={StaticResource Gray950}}" />
|
<Setter Property="Shell.DisabledColor" Value="{AppThemeBinding Light={StaticResource Gray200}, Dark={StaticResource Gray950}}" />
|
||||||
<Setter Property="Shell.UnselectedColor" Value="{AppThemeBinding Light={StaticResource Gray200}, Dark={StaticResource Gray200}}" />
|
<Setter Property="Shell.UnselectedColor" Value="{AppThemeBinding Light={StaticResource Gray200}, Dark={StaticResource Gray200}}" />
|
||||||
<Setter Property="Shell.NavBarHasShadow" Value="False" />
|
<Setter Property="Shell.NavBarHasShadow" Value="False" />
|
||||||
<Setter Property="Shell.TabBarBackgroundColor" Value="{AppThemeBinding Light={StaticResource White}, Dark={StaticResource Black}}" />
|
<Setter Property="Shell.TabBarBackgroundColor" Value="{AppThemeBinding Light={StaticResource White}, Dark={StaticResource Black}}" />
|
||||||
<Setter Property="Shell.TabBarForegroundColor" Value="{AppThemeBinding Light={StaticResource Primary}, Dark={StaticResource White}}" />
|
<Setter Property="Shell.TabBarForegroundColor" Value="{AppThemeBinding Light={StaticResource Primary}, Dark={StaticResource White}}" />
|
||||||
<Setter Property="Shell.TabBarTitleColor" Value="{AppThemeBinding Light={StaticResource Primary}, Dark={StaticResource White}}" />
|
<Setter Property="Shell.TabBarTitleColor" Value="{AppThemeBinding Light={StaticResource Primary}, Dark={StaticResource White}}" />
|
||||||
<Setter Property="Shell.TabBarUnselectedColor" Value="{AppThemeBinding Light={StaticResource Gray900}, Dark={StaticResource Gray200}}" />
|
<Setter Property="Shell.TabBarUnselectedColor" Value="{AppThemeBinding Light={StaticResource Gray900}, Dark={StaticResource Gray200}}" />
|
||||||
</Style>
|
</Style>
|
||||||
|
|
||||||
<Style TargetType="NavigationPage">
|
<Style TargetType="NavigationPage">
|
||||||
<Setter Property="BarBackgroundColor" Value="{AppThemeBinding Light={StaticResource Primary}, Dark={StaticResource Gray950}}" />
|
<Setter Property="BarBackgroundColor" Value="{AppThemeBinding Light={StaticResource Primary}, Dark={StaticResource Gray950}}" />
|
||||||
<Setter Property="BarTextColor" Value="{AppThemeBinding Light={StaticResource Gray200}, Dark={StaticResource White}}" />
|
<Setter Property="BarTextColor" Value="{AppThemeBinding Light={StaticResource Gray200}, Dark={StaticResource White}}" />
|
||||||
<Setter Property="IconColor" Value="{AppThemeBinding Light={StaticResource Gray200}, Dark={StaticResource White}}" />
|
<Setter Property="IconColor" Value="{AppThemeBinding Light={StaticResource Gray200}, Dark={StaticResource White}}" />
|
||||||
</Style>
|
</Style>
|
||||||
|
|
||||||
<Style TargetType="TabbedPage">
|
<Style TargetType="TabbedPage">
|
||||||
<Setter Property="BarBackgroundColor" Value="{AppThemeBinding Light={StaticResource White}, Dark={StaticResource Gray950}}" />
|
<Setter Property="BarBackgroundColor" Value="{AppThemeBinding Light={StaticResource White}, Dark={StaticResource Gray950}}" />
|
||||||
<Setter Property="BarTextColor" Value="{AppThemeBinding Light={StaticResource Primary}, Dark={StaticResource White}}" />
|
<Setter Property="BarTextColor" Value="{AppThemeBinding Light={StaticResource Primary}, Dark={StaticResource White}}" />
|
||||||
<Setter Property="UnselectedTabColor" Value="{AppThemeBinding Light={StaticResource Gray200}, Dark={StaticResource Gray950}}" />
|
<Setter Property="UnselectedTabColor" Value="{AppThemeBinding Light={StaticResource Gray200}, Dark={StaticResource Gray950}}" />
|
||||||
<Setter Property="SelectedTabColor" Value="{AppThemeBinding Light={StaticResource Gray950}, Dark={StaticResource Gray200}}" />
|
<Setter Property="SelectedTabColor" Value="{AppThemeBinding Light={StaticResource Gray950}, Dark={StaticResource Gray200}}" />
|
||||||
</Style>
|
</Style>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<Style TargetType="Image" x:Key="BigStar">
|
<Style TargetType="Image" x:Key="BigStar">
|
||||||
<Setter Property="Source" Value="star.png"/>
|
<Setter Property="Source" Value="star.png"/>
|
||||||
<Setter Property="HorizontalOptions" Value="Start"/>
|
<Setter Property="HorizontalOptions" Value="Start"/>
|
||||||
<Setter Property="VerticalOptions" Value="Start"/>
|
<Setter Property="VerticalOptions" Value="Start"/>
|
||||||
<Setter Property="Grid.Column" Value="2"/>
|
<Setter Property="Grid.Column" Value="2"/>
|
||||||
<Setter Property="HeightRequest" Value="10"/>
|
<Setter Property="HeightRequest" Value="10"/>
|
||||||
<Setter Property="WidthRequest" Value="10"/>
|
<Setter Property="WidthRequest" Value="10"/>
|
||||||
</Style>
|
</Style>
|
||||||
|
|
||||||
<Style TargetType="Image" x:Key="Star">
|
<Style TargetType="Image" x:Key="Star">
|
||||||
<Setter Property="Source" Value="bigstar.png"/>
|
<Setter Property="Source" Value="bigstar.png"/>
|
||||||
<Setter Property="HorizontalOptions" Value="Start"/>
|
<Setter Property="HorizontalOptions" Value="Start"/>
|
||||||
<Setter Property="VerticalOptions" Value="Start"/>
|
<Setter Property="VerticalOptions" Value="Start"/>
|
||||||
<Setter Property="Grid.Column" Value="2"/>
|
<Setter Property="Grid.Column" Value="2"/>
|
||||||
<Setter Property="HeightRequest" Value="15"/>
|
<Setter Property="HeightRequest" Value="15"/>
|
||||||
<Setter Property="WidthRequest" Value="15"/>
|
<Setter Property="WidthRequest" Value="15"/>
|
||||||
</Style>
|
</Style>
|
||||||
|
|
||||||
<Style TargetType="Image" x:Key="DownloadBlue">
|
<Style TargetType="Image" x:Key="DownloadBlue">
|
||||||
<Setter Property="Source" Value="download_blue.png"/>
|
<Setter Property="Source" Value="download_blue.png"/>
|
||||||
<Setter Property="HorizontalOptions" Value="Start"/>
|
<Setter Property="HorizontalOptions" Value="Start"/>
|
||||||
<Setter Property="VerticalOptions" Value="Start"/>
|
<Setter Property="VerticalOptions" Value="Start"/>
|
||||||
<Setter Property="HeightRequest" Value="15"/>
|
<Setter Property="HeightRequest" Value="15"/>
|
||||||
</Style>
|
</Style>
|
||||||
|
|
||||||
<Style TargetType="ImageButton" x:Key="ImageRecherche">
|
<Style TargetType="ImageButton" x:Key="ImageRecherche">
|
||||||
<Setter Property="HeightRequest" Value="97"/>
|
<Setter Property="HeightRequest" Value="97"/>
|
||||||
<Setter Property="WidthRequest" Value="170"/>
|
<Setter Property="WidthRequest" Value="170"/>
|
||||||
<Setter Property="Margin" Value="0,0,0,20"/>
|
<Setter Property="Margin" Value="0,0,0,20"/>
|
||||||
<Setter Property="CornerRadius" Value="10"/>
|
<Setter Property="CornerRadius" Value="10"/>
|
||||||
</Style>
|
</Style>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</ResourceDictionary>
|
</ResourceDictionary>
|
@ -1,47 +1,47 @@
|
|||||||
using GameAtlas.Models;
|
using GameAtlas.Models;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Collections.ObjectModel;
|
using System.Collections.ObjectModel;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
namespace GameAtlas.Stub
|
namespace GameAtlas.Stub
|
||||||
{
|
{
|
||||||
public class Stub : IPersistanceManager
|
public class Stub : IPersistanceManager
|
||||||
{
|
{
|
||||||
public (ObservableCollection<Jeu>,List<Admin>,List<Utilisateur>) ChargeDonnees()
|
public (ObservableCollection<Jeu>,List<Admin>,List<Utilisateur>) ChargeDonnees()
|
||||||
{
|
{
|
||||||
List<Utilisateur> ListUsers = new List<Utilisateur>();
|
List<Utilisateur> ListUsers = new List<Utilisateur>();
|
||||||
List<Admin> ListAdmins = new List<Admin>();
|
List<Admin> ListAdmins = new List<Admin>();
|
||||||
ObservableCollection<Jeu> ListJeu = new ObservableCollection<Jeu>();
|
ObservableCollection<Jeu> ListJeu = new ObservableCollection<Jeu>();
|
||||||
|
|
||||||
Utilisateur userTest = new Utilisateur("test@gmail.com", "test", "Test1234");
|
Utilisateur userTest = new Utilisateur("test@gmail.com", "test", "Test1234");
|
||||||
Admin admin = new Admin("admin@example.com", "admin", "Admin1234");
|
Admin admin = new Admin("admin@example.com", "admin", "Admin1234");
|
||||||
ListUsers.Add(userTest);
|
ListUsers.Add(userTest);
|
||||||
ListAdmins.Add(admin);
|
ListAdmins.Add(admin);
|
||||||
|
|
||||||
Jeu TheLastOfUs = new Jeu("The Last Of Us Part I", "Dans un monde dévasté où rôdent infectés et survivants endurcis, Joel, un protagoniste désabusé, est engagé pour faire sortir Ellie, 14 ans, d'une zone de quarantaine militaire. Mais ce qui devait être une simple mission de routine se transforme vite en un dangereux périple à travers le pays.", "28 Mars 2023", "PS5 PC", "Naughty Dog LLC", "PlayStation PC LLC", 8.5, 487, "Solo Action Aventure", "cover_lastofus1.png");
|
Jeu TheLastOfUs = new Jeu("The Last Of Us Part I", "Dans un monde dévasté où rôdent infectés et survivants endurcis, Joel, un protagoniste désabusé, est engagé pour faire sortir Ellie, 14 ans, d'une zone de quarantaine militaire. Mais ce qui devait être une simple mission de routine se transforme vite en un dangereux périple à travers le pays.", "28 Mars 2023", "PS5 PC", "Naughty Dog LLC", "PlayStation PC LLC", 8.5, 487, "Solo Action Aventure", "cover_lastofus1.png");
|
||||||
Jeu ForzaHorizon = new Jeu("Forza Horizon 5", "Dans ce jeu, vous pouvez explorer une carte en monde ouvert vraiment massive, cinquante pour cent plus grande que la carte non négligeable de Forza Horizon 4. Faites la course avec divers véhicules à travers la caldeira d'un volcan, explorez les jungles et les forêts tropicales à la recherche de villes en ruines cachées, parcourez les plages de sable blanc, et passez devant des chutes d'eau, des montagnes enneigées et de grandes villes comme Guanajuato, qui possède un réseau de tunnels secrets à explorer !", "9 Novembre 2021", "PC XOne", "Playground Games", "Xbox Game Studios", 6.5, 420, "Course Simulation Sport", "cover_forzahorizon5.png");
|
Jeu ForzaHorizon = new Jeu("Forza Horizon 5", "Dans ce jeu, vous pouvez explorer une carte en monde ouvert vraiment massive, cinquante pour cent plus grande que la carte non négligeable de Forza Horizon 4. Faites la course avec divers véhicules à travers la caldeira d'un volcan, explorez les jungles et les forêts tropicales à la recherche de villes en ruines cachées, parcourez les plages de sable blanc, et passez devant des chutes d'eau, des montagnes enneigées et de grandes villes comme Guanajuato, qui possède un réseau de tunnels secrets à explorer !", "9 Novembre 2021", "PC XOne", "Playground Games", "Xbox Game Studios", 6.5, 420, "Course Simulation Sport", "cover_forzahorizon5.png");
|
||||||
Jeu TOTK = new Jeu("The Legend of Zelda: Tears of the Kingdom", "Dans ce jeu, vous pouvez explorer une carte en monde ouvert vraiment massive, cinquante pour cent plus grande que la carte non négligeable de Forza Horizon 4. Faites la course avec divers véhicules à travers la caldeira d'un volcan, explorez les jungles et les forêts tropicales à la recherche de villes en ruines cachées, parcourez les plages de sable blanc, et passez devant des chutes d'eau, des montagnes enneigées et de grandes villes comme Guanajuato, qui possède un réseau de tunnels secrets à explorer !", "12 Mai 2023", "Switch", "Nintendo", "Nintendo", 10, 250, "Action Aventure", "cover_zelda.png");
|
Jeu TOTK = new Jeu("The Legend of Zelda: Tears of the Kingdom", "Dans ce jeu, vous pouvez explorer une carte en monde ouvert vraiment massive, cinquante pour cent plus grande que la carte non négligeable de Forza Horizon 4. Faites la course avec divers véhicules à travers la caldeira d'un volcan, explorez les jungles et les forêts tropicales à la recherche de villes en ruines cachées, parcourez les plages de sable blanc, et passez devant des chutes d'eau, des montagnes enneigées et de grandes villes comme Guanajuato, qui possède un réseau de tunnels secrets à explorer !", "12 Mai 2023", "Switch", "Nintendo", "Nintendo", 10, 250, "Action Aventure", "cover_zelda.png");
|
||||||
Jeu ReadyOrNot = new Jeu("Ready or Not", "Ready or Not est un jeu de tir tactique et intense en vue subjective. Membre d'une unité d'élite de la police, vous relevez les défis du monde moderne, tous plus délicats les uns que les autres.", "18 Décembre 2021", "PC", "VOID Interactive", "VOID Interactive", 7, 100, "Solo Action Aventure", "cover_readyornot.png");
|
Jeu ReadyOrNot = new Jeu("Ready or Not", "Ready or Not est un jeu de tir tactique et intense en vue subjective. Membre d'une unité d'élite de la police, vous relevez les défis du monde moderne, tous plus délicats les uns que les autres.", "18 Décembre 2021", "PC", "VOID Interactive", "VOID Interactive", 7, 100, "Solo Action Aventure", "cover_readyornot.png");
|
||||||
Jeu Hogwarts = new Jeu("Hogwarts Legacy : L'Héritage de Poudlard", "Hogwarts Legacy est un jeu de rôle d'action et d'aventure solo basé sur l'univers de Harry Potter, dans lequel le joueur incarne un nouveau venu dans le château enchanté tant apprécié des fans des livres et de la franchise cinématographique.", "10 Février 2023", "PC Switch XOne", "Avalanche Software", "Warner Bros. Games", 5, 100, "Solo Action Aventure RPG", "cover_hogwarts.png");
|
Jeu Hogwarts = new Jeu("Hogwarts Legacy : L'Héritage de Poudlard", "Hogwarts Legacy est un jeu de rôle d'action et d'aventure solo basé sur l'univers de Harry Potter, dans lequel le joueur incarne un nouveau venu dans le château enchanté tant apprécié des fans des livres et de la franchise cinématographique.", "10 Février 2023", "PC Switch XOne", "Avalanche Software", "Warner Bros. Games", 5, 100, "Solo Action Aventure RPG", "cover_hogwarts.png");
|
||||||
Jeu RE4 = new Jeu("Resident Evil 4", "Six ans se sont écoulés depuis la catastrophe biologique de Raccoon City. L'agent Leon S. Kennedy, l'un des survivants du drame, est envoyé secourir la fille du président qui a été kidnappée. Son enquête le mène jusqu'à un village européen isolé, dont les habitants cachent un effroyable secret. Et ainsi se lève le rideau d'une histoire de sauvetage audacieux et d'horreur atroce, où se mêlent vie, mort, terreur et catharsis.", "24 Mars 2023", "PC XSeries", "CAPCOM Co., Ltd.", "CAPCOM Co., Ltd.", 8, 100, "Solo Action Aventure", "cover_residentevil4.png");
|
Jeu RE4 = new Jeu("Resident Evil 4", "Six ans se sont écoulés depuis la catastrophe biologique de Raccoon City. L'agent Leon S. Kennedy, l'un des survivants du drame, est envoyé secourir la fille du président qui a été kidnappée. Son enquête le mène jusqu'à un village européen isolé, dont les habitants cachent un effroyable secret. Et ainsi se lève le rideau d'une histoire de sauvetage audacieux et d'horreur atroce, où se mêlent vie, mort, terreur et catharsis.", "24 Mars 2023", "PC XSeries", "CAPCOM Co., Ltd.", "CAPCOM Co., Ltd.", 8, 100, "Solo Action Aventure", "cover_residentevil4.png");
|
||||||
Jeu JediSurvivor = new Jeu("Star Wars Jedi: Survivor", "Poussé aux confins de la galaxie par l'Empire, Cal devra faire face à toujours plus de menaces, parmi lesquelles l'attendent des adversaires au visage familier. En tant qu'un des derniers représentants encore en vie des Chevaliers Jedi, Cal devra faire un choix pendant cette période sombre de l'histoire de la galaxie. Mais jusqu'où sera-t-il prêt à aller pour assurer sa survie et celle de son équipage, et défendre l'héritage de l'Ordre Jedi ?", "28 Avril 2023", "PC XSeries", "Respawn", "Electronic Arts", 5.5, 100, "Solo Action Aventure", "cover_starwarsjedisurvivor.png");
|
Jeu JediSurvivor = new Jeu("Star Wars Jedi: Survivor", "Poussé aux confins de la galaxie par l'Empire, Cal devra faire face à toujours plus de menaces, parmi lesquelles l'attendent des adversaires au visage familier. En tant qu'un des derniers représentants encore en vie des Chevaliers Jedi, Cal devra faire un choix pendant cette période sombre de l'histoire de la galaxie. Mais jusqu'où sera-t-il prêt à aller pour assurer sa survie et celle de son équipage, et défendre l'héritage de l'Ordre Jedi ?", "28 Avril 2023", "PC XSeries", "Respawn", "Electronic Arts", 5.5, 100, "Solo Action Aventure", "cover_starwarsjedisurvivor.png");
|
||||||
ListJeu.Add(TheLastOfUs);
|
ListJeu.Add(TheLastOfUs);
|
||||||
ListJeu.Add(ForzaHorizon);
|
ListJeu.Add(ForzaHorizon);
|
||||||
ListJeu.Add(TOTK);
|
ListJeu.Add(TOTK);
|
||||||
ListJeu.Add(ReadyOrNot);
|
ListJeu.Add(ReadyOrNot);
|
||||||
ListJeu.Add(Hogwarts);
|
ListJeu.Add(Hogwarts);
|
||||||
ListJeu.Add(RE4);
|
ListJeu.Add(RE4);
|
||||||
ListJeu.Add(JediSurvivor);
|
ListJeu.Add(JediSurvivor);
|
||||||
|
|
||||||
return (ListJeu,ListAdmins,ListUsers);
|
return (ListJeu,ListAdmins,ListUsers);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void SauvegardeDonnees(ObservableCollection<Jeu> jeux, List<Admin> admins, List<Utilisateur> utilisateurs)
|
public void SauvegardeDonnees(ObservableCollection<Jeu> jeux, List<Admin> admins, List<Utilisateur> utilisateurs)
|
||||||
{
|
{
|
||||||
throw new NotImplementedException();
|
throw new NotImplementedException();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -1,9 +1,9 @@
|
|||||||
<?xml version="1.0" encoding="utf-8" ?>
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
<ContentView xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
<ContentView xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||||
x:Class="GameAtlas.Views.Composants.BoutonVoir">
|
x:Class="GameAtlas.Views.Composants.BoutonVoir">
|
||||||
|
|
||||||
|
|
||||||
<Button Text="Voir" FontFamily="PTSansNarrow-Bold" FontSize="16" BackgroundColor="#FF4D00" HeightRequest="45" WidthRequest="93" Scale="0.85" CornerRadius="25" Clicked="OnVoirClicked" AnchorX="-1"/>
|
<Button Text="Voir" FontFamily="PTSansNarrow-Bold" FontSize="16" BackgroundColor="#FF4D00" HeightRequest="45" WidthRequest="93" Scale="0.85" CornerRadius="25" Clicked="OnVoirClicked" AnchorX="-1"/>
|
||||||
|
|
||||||
</ContentView>
|
</ContentView>
|
@ -1,21 +1,21 @@
|
|||||||
namespace GameAtlas.Views.Composants;
|
namespace GameAtlas.Views.Composants;
|
||||||
|
|
||||||
using GameAtlas.Models;
|
using GameAtlas.Models;
|
||||||
|
|
||||||
public partial class BoutonVoir : ContentView
|
public partial class BoutonVoir : ContentView
|
||||||
{
|
{
|
||||||
public BoutonVoir()
|
public BoutonVoir()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
}
|
}
|
||||||
|
|
||||||
private async void OnVoirClicked(object sender, EventArgs e)
|
private async void OnVoirClicked(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
var selectedjeu = (sender as Button)?.BindingContext as Jeu;
|
var selectedjeu = (sender as Button)?.BindingContext as Jeu;
|
||||||
if (selectedjeu != null)
|
if (selectedjeu != null)
|
||||||
{
|
{
|
||||||
//await Shell.Current.GoToAsync(nameof(PageJeu(selectedjeu)); ---- Ne marche pas ----
|
//await Shell.Current.GoToAsync(nameof(PageJeu(selectedjeu)); ---- Ne marche pas ----
|
||||||
await Navigation.PushAsync(new PageJeu(selectedjeu));
|
await Navigation.PushAsync(new PageJeu(selectedjeu));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -1,155 +1,155 @@
|
|||||||
<?xml version="1.0" encoding="utf-8" ?>
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||||
xmlns:toolkit="http://schemas.microsoft.com/dotnet/2022/maui/toolkit"
|
xmlns:toolkit="http://schemas.microsoft.com/dotnet/2022/maui/toolkit"
|
||||||
xmlns:views="clr-namespace:GameAtlas.Views.Composants"
|
xmlns:views="clr-namespace:GameAtlas.Views.Composants"
|
||||||
x:Class="GameAtlas.Views.PageAcceuil"
|
x:Class="GameAtlas.Views.PageAcceuil"
|
||||||
Title="ACCUEIL">
|
Title="ACCUEIL">
|
||||||
<!-- WidthRequest="390" HeightRequest="844"> -->
|
<!-- WidthRequest="390" HeightRequest="844"> -->
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<Grid>
|
<Grid>
|
||||||
|
|
||||||
<Grid.Background>
|
<Grid.Background>
|
||||||
<LinearGradientBrush EndPoint="1,0">
|
<LinearGradientBrush EndPoint="1,0">
|
||||||
<GradientStop Color="#DFE4FF"
|
<GradientStop Color="#DFE4FF"
|
||||||
Offset="0.1" />
|
Offset="0.1" />
|
||||||
<GradientStop Color="#FDF7E6"
|
<GradientStop Color="#FDF7E6"
|
||||||
Offset="1.0" />
|
Offset="1.0" />
|
||||||
</LinearGradientBrush>
|
</LinearGradientBrush>
|
||||||
</Grid.Background>
|
</Grid.Background>
|
||||||
|
|
||||||
<ScrollView VerticalScrollBarVisibility="Never">
|
<ScrollView VerticalScrollBarVisibility="Never">
|
||||||
|
|
||||||
<Grid
|
<Grid
|
||||||
RowDefinitions="auto, auto, auto, auto, auto, auto, *">
|
RowDefinitions="auto, auto, auto, auto, auto, auto, *">
|
||||||
|
|
||||||
|
|
||||||
<Grid HorizontalOptions="Start" Padding="25,20,0,20">
|
<Grid HorizontalOptions="Start" Padding="25,20,0,20">
|
||||||
<HorizontalStackLayout Spacing="10">
|
<HorizontalStackLayout Spacing="10">
|
||||||
<Frame Grid.Row="0" WidthRequest="50" HeightRequest="50" CornerRadius="25" VerticalOptions="Start" >
|
<Frame Grid.Row="0" WidthRequest="50" HeightRequest="50" CornerRadius="25" VerticalOptions="Start" >
|
||||||
<Frame.Background>
|
<Frame.Background>
|
||||||
<LinearGradientBrush EndPoint="1,0">
|
<LinearGradientBrush EndPoint="1,0">
|
||||||
<GradientStop Color="#C57CFF"
|
<GradientStop Color="#C57CFF"
|
||||||
Offset="0.1" />
|
Offset="0.1" />
|
||||||
<GradientStop Color="#8F00FF"
|
<GradientStop Color="#8F00FF"
|
||||||
Offset="1.0" />
|
Offset="1.0" />
|
||||||
</LinearGradientBrush>
|
</LinearGradientBrush>
|
||||||
</Frame.Background>
|
</Frame.Background>
|
||||||
<Frame HeightRequest="48" WidthRequest="48" CornerRadius="24" VerticalOptions="Center" HorizontalOptions="Center" IsClippedToBounds="True">
|
<Frame HeightRequest="48" WidthRequest="48" CornerRadius="24" VerticalOptions="Center" HorizontalOptions="Center" IsClippedToBounds="True">
|
||||||
<Image Source="default_user.png" Aspect="AspectFill"/>
|
<Image Source="default_user.png" Aspect="AspectFill"/>
|
||||||
</Frame>
|
</Frame>
|
||||||
</Frame>
|
</Frame>
|
||||||
<Label Text="{Binding AccueilManager.ConnectedUser.Pseudo}" FontSize="18" FontFamily="AladinRegular" TextColor="{StaticResource Black}" VerticalTextAlignment="Center"/>
|
<Label Text="{Binding AccueilManager.ConnectedUser.Pseudo}" FontSize="18" FontFamily="AladinRegular" TextColor="{StaticResource Black}" VerticalTextAlignment="Center"/>
|
||||||
</HorizontalStackLayout>
|
</HorizontalStackLayout>
|
||||||
</Grid>
|
</Grid>
|
||||||
|
|
||||||
|
|
||||||
<Label
|
<Label
|
||||||
Text="Parcourir les jeux"
|
Text="Parcourir les jeux"
|
||||||
FontFamily="PTSansCaption-Bold"
|
FontFamily="PTSansCaption-Bold"
|
||||||
FontSize="24"
|
FontSize="24"
|
||||||
Grid.Row="3"
|
Grid.Row="3"
|
||||||
Padding="25,25,0,25"
|
Padding="25,25,0,25"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<ScrollView Orientation="Horizontal" Grid.Row="4" Padding="20,0,20,0" HorizontalOptions="FillAndExpand" VerticalOptions="FillAndExpand" HorizontalScrollBarVisibility="Never">
|
<ScrollView Orientation="Horizontal" Grid.Row="4" Padding="20,0,20,0" HorizontalOptions="FillAndExpand" VerticalOptions="FillAndExpand" HorizontalScrollBarVisibility="Never">
|
||||||
<HorizontalStackLayout BindableLayout.ItemsSource="{Binding AccueilManager.ListJeuxAffiches}" Spacing="15">
|
<HorizontalStackLayout BindableLayout.ItemsSource="{Binding AccueilManager.ListJeuxAffiches}" Spacing="15">
|
||||||
<BindableLayout.ItemTemplate>
|
<BindableLayout.ItemTemplate>
|
||||||
<DataTemplate>
|
<DataTemplate>
|
||||||
<Grid>
|
<Grid>
|
||||||
<Frame CornerRadius="10" HeightRequest="160" WidthRequest="290">
|
<Frame CornerRadius="10" HeightRequest="160" WidthRequest="290">
|
||||||
<ImageButton Source="{Binding Image}" HeightRequest="160" WidthRequest="290" Aspect="AspectFill" Clicked="OnButtonClicked"/>
|
<ImageButton Source="{Binding Image}" HeightRequest="160" WidthRequest="290" Aspect="AspectFill" Clicked="OnButtonClicked"/>
|
||||||
</Frame>
|
</Frame>
|
||||||
<BoxView
|
<BoxView
|
||||||
Color="Black"
|
Color="Black"
|
||||||
Opacity="0.3"
|
Opacity="0.3"
|
||||||
CornerRadius="10"
|
CornerRadius="10"
|
||||||
HeightRequest="65"
|
HeightRequest="65"
|
||||||
VerticalOptions="End"/>
|
VerticalOptions="End"/>
|
||||||
<HorizontalStackLayout Margin="25,100,0,0" Spacing="5">
|
<HorizontalStackLayout Margin="25,100,0,0" Spacing="5">
|
||||||
<Image Style="{StaticResource BigStar}"/>
|
<Image Style="{StaticResource BigStar}"/>
|
||||||
<Image Style="{StaticResource BigStar}"/>
|
<Image Style="{StaticResource BigStar}"/>
|
||||||
<Image Style="{StaticResource BigStar}"/>
|
<Image Style="{StaticResource BigStar}"/>
|
||||||
<Image Style="{StaticResource BigStar}"/>
|
<Image Style="{StaticResource BigStar}"/>
|
||||||
<Image Style="{StaticResource BigStar}"/>
|
<Image Style="{StaticResource BigStar}"/>
|
||||||
</HorizontalStackLayout>
|
</HorizontalStackLayout>
|
||||||
<Label Text="{Binding Nom}"
|
<Label Text="{Binding Nom}"
|
||||||
TextColor="White"
|
TextColor="White"
|
||||||
FontFamily="PTSansCaption-Bold"
|
FontFamily="PTSansCaption-Bold"
|
||||||
FontSize="12"
|
FontSize="12"
|
||||||
Padding="25,115,0,0"/>
|
Padding="25,115,0,0"/>
|
||||||
<Image Source="download.png"
|
<Image Source="download.png"
|
||||||
HorizontalOptions="Start"
|
HorizontalOptions="Start"
|
||||||
HeightRequest="20"
|
HeightRequest="20"
|
||||||
WidthRequest="20"
|
WidthRequest="20"
|
||||||
Margin="23,125,0,0"/>
|
Margin="23,125,0,0"/>
|
||||||
|
|
||||||
<Label FontSize="8" FontFamily="PTSansCaption-Bold" TextColor="{StaticResource White}" Padding="46,138,0,0">
|
<Label FontSize="8" FontFamily="PTSansCaption-Bold" TextColor="{StaticResource White}" Padding="46,138,0,0">
|
||||||
<Label.FormattedText>
|
<Label.FormattedText>
|
||||||
<FormattedString>
|
<FormattedString>
|
||||||
<Span Text="{Binding NbTelechargement}"/>
|
<Span Text="{Binding NbTelechargement}"/>
|
||||||
<Span Text="k de téléchargements"/>
|
<Span Text="k de téléchargements"/>
|
||||||
</FormattedString>
|
</FormattedString>
|
||||||
</Label.FormattedText>
|
</Label.FormattedText>
|
||||||
</Label>
|
</Label>
|
||||||
</Grid>
|
</Grid>
|
||||||
</DataTemplate>
|
</DataTemplate>
|
||||||
</BindableLayout.ItemTemplate>
|
</BindableLayout.ItemTemplate>
|
||||||
</HorizontalStackLayout>
|
</HorizontalStackLayout>
|
||||||
</ScrollView>
|
</ScrollView>
|
||||||
|
|
||||||
<Label
|
<Label
|
||||||
Text="Jeux les mieux notés"
|
Text="Jeux les mieux notés"
|
||||||
FontFamily="PTSansCaption-Bold"
|
FontFamily="PTSansCaption-Bold"
|
||||||
FontSize="24"
|
FontSize="24"
|
||||||
Grid.Row="5"
|
Grid.Row="5"
|
||||||
Padding="25,25,0,25"
|
Padding="25,25,0,25"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<Grid Grid.Row="6">
|
<Grid Grid.Row="6">
|
||||||
<VerticalStackLayout Spacing="30" BindableLayout.ItemsSource="{Binding AccueilManager.TopRatedGames}">
|
<VerticalStackLayout Spacing="30" BindableLayout.ItemsSource="{Binding AccueilManager.TopRatedGames}">
|
||||||
<BindableLayout.ItemTemplate>
|
<BindableLayout.ItemTemplate>
|
||||||
<DataTemplate>
|
<DataTemplate>
|
||||||
<Grid ColumnDefinitions="auto,*,auto">
|
<Grid ColumnDefinitions="auto,*,auto">
|
||||||
<Frame Grid.Column="0" CornerRadius="5" HeightRequest="60" WidthRequest="100" Margin="25,0,0,0">
|
<Frame Grid.Column="0" CornerRadius="5" HeightRequest="60" WidthRequest="100" Margin="25,0,0,0">
|
||||||
<Image Source="{Binding Image}" Aspect="AspectFill" />
|
<Image Source="{Binding Image}" Aspect="AspectFill" />
|
||||||
</Frame>
|
</Frame>
|
||||||
<StackLayout Grid.Column="1" Spacing="25" Padding="20,0">
|
<StackLayout Grid.Column="1" Spacing="25" Padding="20,0">
|
||||||
<Label Text="{Binding Nom}" FontFamily="PTSansNarrow-Bold" FontSize="13" LineBreakMode="TailTruncation" MaxLines="2"/>
|
<Label Text="{Binding Nom}" FontFamily="PTSansNarrow-Bold" FontSize="13" LineBreakMode="TailTruncation" MaxLines="2"/>
|
||||||
<HorizontalStackLayout>
|
<HorizontalStackLayout>
|
||||||
<Image Style="{StaticResource Star}"/>
|
<Image Style="{StaticResource Star}"/>
|
||||||
<Label TextColor="#7C7C7C" FontFamily="PTSansNarrow-Bold" FontSize="12" Margin="6,0,15,0">
|
<Label TextColor="#7C7C7C" FontFamily="PTSansNarrow-Bold" FontSize="12" Margin="6,0,15,0">
|
||||||
<Label.FormattedText>
|
<Label.FormattedText>
|
||||||
<FormattedString>
|
<FormattedString>
|
||||||
<Span Text="{Binding Note}"/>
|
<Span Text="{Binding Note}"/>
|
||||||
<Span Text="/10" FontSize="8"/>
|
<Span Text="/10" FontSize="8"/>
|
||||||
</FormattedString>
|
</FormattedString>
|
||||||
</Label.FormattedText>
|
</Label.FormattedText>
|
||||||
</Label>
|
</Label>
|
||||||
<Image Style="{StaticResource DownloadBlue}"/>
|
<Image Style="{StaticResource DownloadBlue}"/>
|
||||||
<Label FontSize="12" FontFamily="PTSansNarrow-Bold" TextColor="#7C7C7C" Margin="6,0,0,0">
|
<Label FontSize="12" FontFamily="PTSansNarrow-Bold" TextColor="#7C7C7C" Margin="6,0,0,0">
|
||||||
<Label.FormattedText>
|
<Label.FormattedText>
|
||||||
<FormattedString>
|
<FormattedString>
|
||||||
<Span Text="{Binding NbTelechargement}"/>
|
<Span Text="{Binding NbTelechargement}"/>
|
||||||
<Span Text="k"/>
|
<Span Text="k"/>
|
||||||
</FormattedString>
|
</FormattedString>
|
||||||
</Label.FormattedText>
|
</Label.FormattedText>
|
||||||
</Label>
|
</Label>
|
||||||
</HorizontalStackLayout>
|
</HorizontalStackLayout>
|
||||||
</StackLayout>
|
</StackLayout>
|
||||||
<views:BoutonVoir Grid.Column="2"/>
|
<views:BoutonVoir Grid.Column="2"/>
|
||||||
</Grid>
|
</Grid>
|
||||||
</DataTemplate>
|
</DataTemplate>
|
||||||
</BindableLayout.ItemTemplate>
|
</BindableLayout.ItemTemplate>
|
||||||
</VerticalStackLayout>
|
</VerticalStackLayout>
|
||||||
</Grid>
|
</Grid>
|
||||||
|
|
||||||
|
|
||||||
</Grid>
|
</Grid>
|
||||||
|
|
||||||
</ScrollView>
|
</ScrollView>
|
||||||
</Grid>
|
</Grid>
|
||||||
|
|
||||||
</ContentPage>
|
</ContentPage>
|
@ -1,67 +1,67 @@
|
|||||||
<?xml version="1.0" encoding="utf-8" ?>
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||||
xmlns:toolkit="http://schemas.microsoft.com/dotnet/2022/maui/toolkit"
|
xmlns:toolkit="http://schemas.microsoft.com/dotnet/2022/maui/toolkit"
|
||||||
x:Class="GameAtlas.Views.PageConnexion"
|
x:Class="GameAtlas.Views.PageConnexion"
|
||||||
Title="ECRAN DE CONNEXION"
|
Title="ECRAN DE CONNEXION"
|
||||||
BackgroundColor="Beige">
|
BackgroundColor="Beige">
|
||||||
<!-- WidthRequest="390" HeightRequest="844" -->
|
<!-- WidthRequest="390" HeightRequest="844" -->
|
||||||
|
|
||||||
<VerticalStackLayout>
|
<VerticalStackLayout>
|
||||||
|
|
||||||
<Image Source="logo.png" WidthRequest="130" HeightRequest="130" Margin="0,60,0,0"/>
|
<Image Source="logo.png" WidthRequest="130" HeightRequest="130" Margin="0,60,0,0"/>
|
||||||
|
|
||||||
<Label
|
<Label
|
||||||
Text="Se Connecter"
|
Text="Se Connecter"
|
||||||
Margin="0,0,0,60"
|
Margin="0,0,0,60"
|
||||||
HorizontalTextAlignment="Center"
|
HorizontalTextAlignment="Center"
|
||||||
FontFamily="Roboto-Black"
|
FontFamily="Roboto-Black"
|
||||||
FontSize="24"
|
FontSize="24"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<Border StrokeShape="RoundRectangle 8" Margin="40,0,40,30" >
|
<Border StrokeShape="RoundRectangle 8" Margin="40,0,40,30" >
|
||||||
<Entry x:Name="pseudo" Placeholder="Nom d'utilisateur" ClearButtonVisibility="WhileEditing" BackgroundColor="White" PlaceholderColor="#5E5E5E"/>
|
<Entry x:Name="pseudo" Placeholder="Nom d'utilisateur" ClearButtonVisibility="WhileEditing" BackgroundColor="White" PlaceholderColor="#5E5E5E"/>
|
||||||
</Border>
|
</Border>
|
||||||
|
|
||||||
<Border StrokeShape="RoundRectangle 8" Margin="40,0,40,30" >
|
<Border StrokeShape="RoundRectangle 8" Margin="40,0,40,30" >
|
||||||
<Entry x:Name="mdp" Placeholder="Mot de passe" IsPassword="True" ClearButtonVisibility="WhileEditing" BackgroundColor="White" PlaceholderColor="#5E5E5E" />
|
<Entry x:Name="mdp" Placeholder="Mot de passe" IsPassword="True" ClearButtonVisibility="WhileEditing" BackgroundColor="White" PlaceholderColor="#5E5E5E" />
|
||||||
</Border>
|
</Border>
|
||||||
|
|
||||||
<Button Text="Connexion"
|
<Button Text="Connexion"
|
||||||
VerticalOptions="Center"
|
VerticalOptions="Center"
|
||||||
HorizontalOptions="Center"
|
HorizontalOptions="Center"
|
||||||
BackgroundColor="#FAD05D"
|
BackgroundColor="#FAD05D"
|
||||||
TextColor="Black"
|
TextColor="Black"
|
||||||
FontFamily="Roboto-Bold"
|
FontFamily="Roboto-Bold"
|
||||||
Margin="0,50,0,10"
|
Margin="0,50,0,10"
|
||||||
Padding="60,0,60,0"
|
Padding="60,0,60,0"
|
||||||
CornerRadius="15"
|
CornerRadius="15"
|
||||||
Clicked="OnSignInClicked"
|
Clicked="OnSignInClicked"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<HorizontalStackLayout Spacing="40" HorizontalOptions="Center">
|
<HorizontalStackLayout Spacing="40" HorizontalOptions="Center">
|
||||||
|
|
||||||
<Label
|
<Label
|
||||||
Text="Mot de Passe oublié"
|
Text="Mot de Passe oublié"
|
||||||
TextColor="#7392FF"
|
TextColor="#7392FF"
|
||||||
FontSize="13"
|
FontSize="13"
|
||||||
FontFamily="PTSansNRegular">
|
FontFamily="PTSansNRegular">
|
||||||
<Label.GestureRecognizers>
|
<Label.GestureRecognizers>
|
||||||
<TapGestureRecognizer Tapped="OnMotDePasseOublie_Tapped" />
|
<TapGestureRecognizer Tapped="OnMotDePasseOublie_Tapped" />
|
||||||
</Label.GestureRecognizers>
|
</Label.GestureRecognizers>
|
||||||
</Label>
|
</Label>
|
||||||
|
|
||||||
<Label
|
<Label
|
||||||
Text="S'inscrire >"
|
Text="S'inscrire >"
|
||||||
TextColor="#7392FF"
|
TextColor="#7392FF"
|
||||||
FontSize="13"
|
FontSize="13"
|
||||||
FontFamily="PTSansNBold">
|
FontFamily="PTSansNBold">
|
||||||
<Label.GestureRecognizers>
|
<Label.GestureRecognizers>
|
||||||
<TapGestureRecognizer Tapped="OnInscrire_Tapped" />
|
<TapGestureRecognizer Tapped="OnInscrire_Tapped" />
|
||||||
</Label.GestureRecognizers>
|
</Label.GestureRecognizers>
|
||||||
</Label>
|
</Label>
|
||||||
|
|
||||||
</HorizontalStackLayout>
|
</HorizontalStackLayout>
|
||||||
|
|
||||||
</VerticalStackLayout>
|
</VerticalStackLayout>
|
||||||
</ContentPage>
|
</ContentPage>
|
@ -1,110 +1,110 @@
|
|||||||
/**
|
/**
|
||||||
* \file PageConnexion.xaml.cs
|
* \file PageConnexion.xaml.cs
|
||||||
* \brief Système de connexion
|
* \brief Système de connexion
|
||||||
* Système de connexion avec vérification et chargement de l'utilisateur connecté
|
* Système de connexion avec vérification et chargement de l'utilisateur connecté
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace GameAtlas.Views;
|
namespace GameAtlas.Views;
|
||||||
|
|
||||||
using GameAtlas.Models;
|
using GameAtlas.Models;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
using System.Text.RegularExpressions;
|
using System.Text.RegularExpressions;
|
||||||
|
|
||||||
public partial class PageConnexion : ContentPage
|
public partial class PageConnexion : ContentPage
|
||||||
{
|
{
|
||||||
private bool connexionWorked;
|
private bool connexionWorked;
|
||||||
|
|
||||||
public Manager ConnexionManager => (App.Current as App).MyManager;
|
public Manager ConnexionManager => (App.Current as App).MyManager;
|
||||||
public PageConnexion()
|
public PageConnexion()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief Bouton "Connexion"
|
* \brief Bouton "Connexion"
|
||||||
* Réaction au clic sur le bouton, vérification des champs non vide.
|
* Réaction au clic sur le bouton, vérification des champs non vide.
|
||||||
* \return void
|
* \return void
|
||||||
*/
|
*/
|
||||||
private async void OnSignInClicked(object sender, EventArgs e)
|
private async void OnSignInClicked(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
|
|
||||||
string username = pseudo.Text;
|
string username = pseudo.Text;
|
||||||
string password = mdp.Text;
|
string password = mdp.Text;
|
||||||
|
|
||||||
|
|
||||||
if (string.IsNullOrWhiteSpace(username) || string.IsNullOrWhiteSpace(password))
|
if (string.IsNullOrWhiteSpace(username) || string.IsNullOrWhiteSpace(password))
|
||||||
{
|
{
|
||||||
await DisplayAlert("Erreur", "Entrez tous les champs", "Ok");
|
await DisplayAlert("Erreur", "Entrez tous les champs", "Ok");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
connexionWorked = Verification(username, password);
|
connexionWorked = Verification(username, password);
|
||||||
if (connexionWorked)
|
if (connexionWorked)
|
||||||
{
|
{
|
||||||
//await Navigation.PushAsync(new PageAcceuil());
|
//await Navigation.PushAsync(new PageAcceuil());
|
||||||
await Navigation.PopAsync();
|
await Navigation.PopAsync();
|
||||||
//await Shell.Current.GoToAsync("//page/PageAccueil");
|
//await Shell.Current.GoToAsync("//page/PageAccueil");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief Texte "S'inscrire"
|
* \brief Texte "S'inscrire"
|
||||||
* Réaction au clic sur le texte, envoie sur le page d'Inscription.
|
* Réaction au clic sur le texte, envoie sur le page d'Inscription.
|
||||||
* \return void
|
* \return void
|
||||||
*/
|
*/
|
||||||
private async void OnInscrire_Tapped(object sender, EventArgs e)
|
private async void OnInscrire_Tapped(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
await Navigation.PushAsync(new PageInscription());
|
await Navigation.PushAsync(new PageInscription());
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief Texte "Mot de Passe oublié"
|
* \brief Texte "Mot de Passe oublié"
|
||||||
* Réaction au clic sur le texte, affichage de pop-ups.
|
* Réaction au clic sur le texte, affichage de pop-ups.
|
||||||
* \return void
|
* \return void
|
||||||
*/
|
*/
|
||||||
private async void OnMotDePasseOublie_Tapped(object sender, EventArgs e)
|
private async void OnMotDePasseOublie_Tapped(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
await DisplayAlert("Oh non !", "Le mot de passe va te revenir à force", "Concentration");
|
await DisplayAlert("Oh non !", "Le mot de passe va te revenir à force", "Concentration");
|
||||||
await DisplayAlert("Oh non !", "Encore un petit effort !", "Concentration");
|
await DisplayAlert("Oh non !", "Encore un petit effort !", "Concentration");
|
||||||
|
|
||||||
bool reponse = await DisplayAlert("Alors ?", "Tu l'as retrouvé ce mot de passe ?", "Oui", "Non");
|
bool reponse = await DisplayAlert("Alors ?", "Tu l'as retrouvé ce mot de passe ?", "Oui", "Non");
|
||||||
if (!reponse)
|
if (!reponse)
|
||||||
{
|
{
|
||||||
await DisplayAlert("...", "Désolé on peut rien pour toi. La prochaine fois utilise un papier comme tout le monde.", "RIP");
|
await DisplayAlert("...", "Désolé on peut rien pour toi. La prochaine fois utilise un papier comme tout le monde.", "RIP");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
await DisplayAlert("...", "C'est bien, la prochaine fois tu le notera.", "Ok");
|
await DisplayAlert("...", "C'est bien, la prochaine fois tu le notera.", "Ok");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief Vérification et Chargement
|
* \brief Vérification et Chargement
|
||||||
* Vérification de la présence de l'utilisateur dans la Liste d'Utilisateurs.
|
* Vérification de la présence de l'utilisateur dans la Liste d'Utilisateurs.
|
||||||
* Si c'est le cas, comparaison du mot de passe fournis par celui de l'utilisateur.
|
* Si c'est le cas, comparaison du mot de passe fournis par celui de l'utilisateur.
|
||||||
* Si tout est bon, chargement de l'utilisateur dans ConnectedUser.
|
* Si tout est bon, chargement de l'utilisateur dans ConnectedUser.
|
||||||
* Dans le cas contraire, on renvoie un message d'erreur et termine la vérification.
|
* Dans le cas contraire, on renvoie un message d'erreur et termine la vérification.
|
||||||
* \return bool true si la connexion a fonctionnée, false sinon.
|
* \return bool true si la connexion a fonctionnée, false sinon.
|
||||||
*/
|
*/
|
||||||
public bool Verification(string username, string password)
|
public bool Verification(string username, string password)
|
||||||
{
|
{
|
||||||
foreach (Utilisateur user in ConnexionManager.Utilisateurs.Concat(ConnexionManager.Admins))
|
foreach (Utilisateur user in ConnexionManager.Utilisateurs.Concat(ConnexionManager.Admins))
|
||||||
{
|
{
|
||||||
if (user.Pseudo == username)
|
if (user.Pseudo == username)
|
||||||
{
|
{
|
||||||
Debug.WriteLine($"Pseudo \"{user.Pseudo}\" vérifié et valide");
|
Debug.WriteLine($"Pseudo \"{user.Pseudo}\" vérifié et valide");
|
||||||
if (user.Mdp == password)
|
if (user.Mdp == password)
|
||||||
{
|
{
|
||||||
Debug.WriteLine("Mot de Passe verifié et valide");
|
Debug.WriteLine("Mot de Passe verifié et valide");
|
||||||
ConnexionManager.ConnectedUser = user;
|
ConnexionManager.ConnectedUser = user;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Debug.WriteLine("La connexion a échoué (pseudo ou mot de passe invalide)");
|
Debug.WriteLine("La connexion a échoué (pseudo ou mot de passe invalide)");
|
||||||
DisplayAlert("Erreur", "Utilisateur ou Mot de Passe invalide.", "Ok");
|
DisplayAlert("Erreur", "Utilisateur ou Mot de Passe invalide.", "Ok");
|
||||||
ConnexionManager.ConnectedUser = null;
|
ConnexionManager.ConnectedUser = null;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
@ -1,49 +1,49 @@
|
|||||||
<?xml version="1.0" encoding="utf-8" ?>
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||||
xmlns:toolkit="http://schemas.microsoft.com/dotnet/2022/maui/toolkit"
|
xmlns:toolkit="http://schemas.microsoft.com/dotnet/2022/maui/toolkit"
|
||||||
x:Class="GameAtlas.Views.PageInscription"
|
x:Class="GameAtlas.Views.PageInscription"
|
||||||
Title="ECRAN D'INSCRIPTION"
|
Title="ECRAN D'INSCRIPTION"
|
||||||
BackgroundColor="Beige">
|
BackgroundColor="Beige">
|
||||||
<!-- WidthRequest="390" HeightRequest="844" -->
|
<!-- WidthRequest="390" HeightRequest="844" -->
|
||||||
|
|
||||||
<VerticalStackLayout>
|
<VerticalStackLayout>
|
||||||
|
|
||||||
<Image Source="logo.png" WidthRequest="130" HeightRequest="130" Margin="0,60,0,0"/>
|
<Image Source="logo.png" WidthRequest="130" HeightRequest="130" Margin="0,60,0,0"/>
|
||||||
|
|
||||||
<Label
|
<Label
|
||||||
Text="Créer un Compte"
|
Text="Créer un Compte"
|
||||||
Margin="0,0,0,60"
|
Margin="0,0,0,60"
|
||||||
HorizontalTextAlignment="Center"
|
HorizontalTextAlignment="Center"
|
||||||
FontFamily="RobotoBlack"
|
FontFamily="RobotoBlack"
|
||||||
FontSize="24"
|
FontSize="24"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<Border StrokeShape="RoundRectangle 8" Margin="40,0,40,30">
|
<Border StrokeShape="RoundRectangle 8" Margin="40,0,40,30">
|
||||||
<Entry x:Name="email" Placeholder="Adresse email" Keyboard="Email" ClearButtonVisibility="WhileEditing" BackgroundColor="White" PlaceholderColor="#5E5E5E" />
|
<Entry x:Name="email" Placeholder="Adresse email" Keyboard="Email" ClearButtonVisibility="WhileEditing" BackgroundColor="White" PlaceholderColor="#5E5E5E" />
|
||||||
</Border>
|
</Border>
|
||||||
|
|
||||||
<Border StrokeShape="RoundRectangle 8" Margin="40,0,40,30">
|
<Border StrokeShape="RoundRectangle 8" Margin="40,0,40,30">
|
||||||
<Entry x:Name="pseudo" Placeholder="Nom d'utilisateur" ClearButtonVisibility="WhileEditing" BackgroundColor="White" PlaceholderColor="#5E5E5E" />
|
<Entry x:Name="pseudo" Placeholder="Nom d'utilisateur" ClearButtonVisibility="WhileEditing" BackgroundColor="White" PlaceholderColor="#5E5E5E" />
|
||||||
</Border>
|
</Border>
|
||||||
|
|
||||||
<Border StrokeShape="RoundRectangle 8" Margin="40,0,40,30">
|
<Border StrokeShape="RoundRectangle 8" Margin="40,0,40,30">
|
||||||
<Entry x:Name="mdp" Placeholder="Mot de passe" IsPassword="True" ClearButtonVisibility="WhileEditing" BackgroundColor="White" PlaceholderColor="#5E5E5E" />
|
<Entry x:Name="mdp" Placeholder="Mot de passe" IsPassword="True" ClearButtonVisibility="WhileEditing" BackgroundColor="White" PlaceholderColor="#5E5E5E" />
|
||||||
</Border>
|
</Border>
|
||||||
|
|
||||||
<Button Text="S'inscrire"
|
<Button Text="S'inscrire"
|
||||||
VerticalOptions="Center"
|
VerticalOptions="Center"
|
||||||
HorizontalOptions="Center"
|
HorizontalOptions="Center"
|
||||||
BackgroundColor="#FAD05D"
|
BackgroundColor="#FAD05D"
|
||||||
TextColor="Black"
|
TextColor="Black"
|
||||||
FontFamily="RobotoBold"
|
FontFamily="RobotoBold"
|
||||||
Margin="0,50,0,10"
|
Margin="0,50,0,10"
|
||||||
Padding="60,0,60,0"
|
Padding="60,0,60,0"
|
||||||
CornerRadius="15"
|
CornerRadius="15"
|
||||||
Clicked="OnSignUpClicked"
|
Clicked="OnSignUpClicked"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</VerticalStackLayout>
|
</VerticalStackLayout>
|
||||||
</ContentPage>
|
</ContentPage>
|
@ -1,89 +1,89 @@
|
|||||||
namespace GameAtlas.Views;
|
namespace GameAtlas.Views;
|
||||||
|
|
||||||
using GameAtlas.Models;
|
using GameAtlas.Models;
|
||||||
using GameAtlas.DataContractPersistance;
|
using GameAtlas.DataContractPersistance;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
using System.Text.RegularExpressions;
|
using System.Text.RegularExpressions;
|
||||||
|
|
||||||
public partial class PageInscription : ContentPage
|
public partial class PageInscription : ContentPage
|
||||||
{
|
{
|
||||||
DataContractPers PersistanceManager = new DataContractPers();
|
DataContractPers PersistanceManager = new DataContractPers();
|
||||||
|
|
||||||
public Manager InscriptionManager => (App.Current as App).MyManager;
|
public Manager InscriptionManager => (App.Current as App).MyManager;
|
||||||
public PageInscription()
|
public PageInscription()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
private async void OnSignUpClicked(object sender, EventArgs e)
|
private async void OnSignUpClicked(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
|
|
||||||
string mail = email.Text;
|
string mail = email.Text;
|
||||||
string username = pseudo.Text;
|
string username = pseudo.Text;
|
||||||
string password = mdp.Text;
|
string password = mdp.Text;
|
||||||
|
|
||||||
|
|
||||||
if(string.IsNullOrWhiteSpace(mail) || string.IsNullOrWhiteSpace(username) || string.IsNullOrWhiteSpace(password))
|
if(string.IsNullOrWhiteSpace(mail) || string.IsNullOrWhiteSpace(username) || string.IsNullOrWhiteSpace(password))
|
||||||
{
|
{
|
||||||
await DisplayAlert("Erreur", "Entrez tous les champs", "Ok");
|
await DisplayAlert("Erreur", "Entrez tous les champs", "Ok");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
else if (!Regex.IsMatch(mail, @"^[a-zA-Z][\w\.-]*[a-zA-Z0-9]@[a-zA-Z0-9][\w\.-]*[a-zA-Z0-9]\.[a-zA-Z][a-zA-Z\.]*[a-zA-Z]$"))
|
else if (!Regex.IsMatch(mail, @"^[a-zA-Z][\w\.-]*[a-zA-Z0-9]@[a-zA-Z0-9][\w\.-]*[a-zA-Z0-9]\.[a-zA-Z][a-zA-Z\.]*[a-zA-Z]$"))
|
||||||
{
|
{
|
||||||
await DisplayAlert("Erreur","Email non valide","Ok");
|
await DisplayAlert("Erreur","Email non valide","Ok");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (IsPasswordStrong(password) == false)
|
if (IsPasswordStrong(password) == false)
|
||||||
{
|
{
|
||||||
await DisplayAlert("Erreur", "Le mot de passe n'est pas assez fort", "OK");
|
await DisplayAlert("Erreur", "Le mot de passe n'est pas assez fort", "OK");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
Utilisateur utilisateur = new Utilisateur(mail, username, password);
|
Utilisateur utilisateur = new Utilisateur(mail, username, password);
|
||||||
InscriptionManager.AddUtilisateur(utilisateur);
|
InscriptionManager.AddUtilisateur(utilisateur);
|
||||||
InscriptionManager.SauvegardeDonnees();
|
InscriptionManager.SauvegardeDonnees();
|
||||||
//PersistanceManager.SauvegardeUser(utilisateur);
|
//PersistanceManager.SauvegardeUser(utilisateur);
|
||||||
Debug.WriteLine(InscriptionManager.Utilisateurs.Count);
|
Debug.WriteLine(InscriptionManager.Utilisateurs.Count);
|
||||||
|
|
||||||
//await Navigation.PushAsync(new PageAcceuil());
|
//await Navigation.PushAsync(new PageAcceuil());
|
||||||
await Shell.Current.GoToAsync("//page/PageAccueil");
|
await Shell.Current.GoToAsync("//page/PageAccueil");
|
||||||
|
|
||||||
|
|
||||||
bool IsPasswordStrong(string password)
|
bool IsPasswordStrong(string password)
|
||||||
{
|
{
|
||||||
// Vérifier si le mot de passe est assez long
|
// Vérifier si le mot de passe est assez long
|
||||||
if (password.Length < 8)
|
if (password.Length < 8)
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Vérifier si le mot de passe contient au moins une majuscule, une minuscule et un chiffre
|
// Vérifier si le mot de passe contient au moins une majuscule, une minuscule et un chiffre
|
||||||
bool hasUppercase = false;
|
bool hasUppercase = false;
|
||||||
bool hasLowercase = false;
|
bool hasLowercase = false;
|
||||||
bool hasDigit = false;
|
bool hasDigit = false;
|
||||||
|
|
||||||
foreach (char c in password)
|
foreach (char c in password)
|
||||||
{
|
{
|
||||||
if (char.IsUpper(c))
|
if (char.IsUpper(c))
|
||||||
{
|
{
|
||||||
hasUppercase = true;
|
hasUppercase = true;
|
||||||
}
|
}
|
||||||
else if (char.IsLower(c))
|
else if (char.IsLower(c))
|
||||||
{
|
{
|
||||||
hasLowercase = true;
|
hasLowercase = true;
|
||||||
}
|
}
|
||||||
else if (char.IsDigit(c))
|
else if (char.IsDigit(c))
|
||||||
{
|
{
|
||||||
hasDigit = true;
|
hasDigit = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return hasUppercase && hasLowercase && hasDigit;
|
return hasUppercase && hasLowercase && hasDigit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -1,62 +1,62 @@
|
|||||||
<?xml version="1.0" encoding="utf-8" ?>
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||||
xmlns:toolkit="http://schemas.microsoft.com/dotnet/2022/maui/toolkit"
|
xmlns:toolkit="http://schemas.microsoft.com/dotnet/2022/maui/toolkit"
|
||||||
x:Class="GameAtlas.Views.PageParcourir"
|
x:Class="GameAtlas.Views.PageParcourir"
|
||||||
Title="ECRAN DE CONNEXION" WidthRequest="390" HeightRequest="844">
|
Title="ECRAN DE CONNEXION" WidthRequest="390" HeightRequest="844">
|
||||||
|
|
||||||
|
|
||||||
<Grid x:Name="outerGrid">
|
<Grid x:Name="outerGrid">
|
||||||
|
|
||||||
<Grid.Background>
|
<Grid.Background>
|
||||||
<LinearGradientBrush EndPoint="1,0">
|
<LinearGradientBrush EndPoint="1,0">
|
||||||
<GradientStop Color="#DFE4FF"
|
<GradientStop Color="#DFE4FF"
|
||||||
Offset="0.1" />
|
Offset="0.1" />
|
||||||
<GradientStop Color="#FDF7E6"
|
<GradientStop Color="#FDF7E6"
|
||||||
Offset="1.0" />
|
Offset="1.0" />
|
||||||
</LinearGradientBrush>
|
</LinearGradientBrush>
|
||||||
</Grid.Background>
|
</Grid.Background>
|
||||||
|
|
||||||
<VerticalStackLayout>
|
<VerticalStackLayout>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<StackLayout Padding="0,30,0,0" HorizontalOptions="Center" VerticalOptions="Center" Grid.Row="2">
|
<StackLayout Padding="0,30,0,0" HorizontalOptions="Center" VerticalOptions="Center" Grid.Row="2">
|
||||||
<Frame HeightRequest="40" WidthRequest="300" CornerRadius="8">
|
<Frame HeightRequest="40" WidthRequest="300" CornerRadius="8">
|
||||||
<SearchBar Placeholder="Rechercher" TextColor="Black" BackgroundColor="#D9D9D9" TextChanged="SearchBar_TextChanged"/>
|
<SearchBar Placeholder="Rechercher" TextColor="Black" BackgroundColor="#D9D9D9" TextChanged="SearchBar_TextChanged"/>
|
||||||
</Frame>
|
</Frame>
|
||||||
</StackLayout>
|
</StackLayout>
|
||||||
|
|
||||||
<Label
|
<Label
|
||||||
Text="Rechercher"
|
Text="Rechercher"
|
||||||
FontFamily="PTSansCBold"
|
FontFamily="PTSansCBold"
|
||||||
FontSize="24"
|
FontSize="24"
|
||||||
Grid.Row="3"
|
Grid.Row="3"
|
||||||
Padding="25"
|
Padding="25"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<Grid>
|
<Grid>
|
||||||
<CollectionView ItemsSource="{Binding ListJeux}" Margin="25,0,25,0" VerticalScrollBarVisibility="Never" x:Name="searchResults">
|
<CollectionView ItemsSource="{Binding ListJeux}" Margin="25,0,25,0" VerticalScrollBarVisibility="Never" x:Name="searchResults">
|
||||||
<CollectionView.ItemTemplate>
|
<CollectionView.ItemTemplate>
|
||||||
<DataTemplate>
|
<DataTemplate>
|
||||||
<Border HeightRequest="97.5" StrokeShape="RoundRectangle 5" VerticalOptions="Start" HorizontalOptions="Center">
|
<Border HeightRequest="97.5" StrokeShape="RoundRectangle 5" VerticalOptions="Start" HorizontalOptions="Center">
|
||||||
<Border.Shadow>
|
<Border.Shadow>
|
||||||
<Shadow Brush="Black" Offset="0,4" Radius="4" Opacity="0.4" />
|
<Shadow Brush="Black" Offset="0,4" Radius="4" Opacity="0.4" />
|
||||||
</Border.Shadow>
|
</Border.Shadow>
|
||||||
<Frame HasShadow="False" HeightRequest="97.5" CornerRadius="5" IsClippedToBounds="True">
|
<Frame HasShadow="False" HeightRequest="97.5" CornerRadius="5" IsClippedToBounds="True">
|
||||||
<ImageButton HeightRequest="97.5" Source="{Binding Image}" Aspect="AspectFill" Clicked="OnGame_Tapped"/>
|
<ImageButton HeightRequest="97.5" Source="{Binding Image}" Aspect="AspectFill" Clicked="OnGame_Tapped"/>
|
||||||
</Frame>
|
</Frame>
|
||||||
</Border>
|
</Border>
|
||||||
</DataTemplate>
|
</DataTemplate>
|
||||||
</CollectionView.ItemTemplate>
|
</CollectionView.ItemTemplate>
|
||||||
<CollectionView.ItemsLayout>
|
<CollectionView.ItemsLayout>
|
||||||
<GridItemsLayout Span="2" Orientation="Vertical" VerticalItemSpacing="30" HorizontalItemSpacing="15"/>
|
<GridItemsLayout Span="2" Orientation="Vertical" VerticalItemSpacing="30" HorizontalItemSpacing="15"/>
|
||||||
</CollectionView.ItemsLayout>
|
</CollectionView.ItemsLayout>
|
||||||
</CollectionView>
|
</CollectionView>
|
||||||
</Grid>
|
</Grid>
|
||||||
|
|
||||||
</VerticalStackLayout>
|
</VerticalStackLayout>
|
||||||
|
|
||||||
</Grid>
|
</Grid>
|
||||||
|
|
||||||
</ContentPage>
|
</ContentPage>
|
@ -1,43 +1,43 @@
|
|||||||
namespace GameAtlas.Views;
|
namespace GameAtlas.Views;
|
||||||
|
|
||||||
using GameAtlas.Models;
|
using GameAtlas.Models;
|
||||||
using System.Collections.ObjectModel;
|
using System.Collections.ObjectModel;
|
||||||
|
|
||||||
public partial class PageParcourir : ContentPage
|
public partial class PageParcourir : ContentPage
|
||||||
{
|
{
|
||||||
|
|
||||||
public Manager ParcourirManager => (App.Current as App).MyManager;
|
public Manager ParcourirManager => (App.Current as App).MyManager;
|
||||||
public PageParcourir()
|
public PageParcourir()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
BindingContext = ParcourirManager;
|
BindingContext = ParcourirManager;
|
||||||
}
|
}
|
||||||
|
|
||||||
async void OnGame_Tapped(System.Object sender, EventArgs e)
|
async void OnGame_Tapped(System.Object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
var selectedjeu = (sender as ImageButton)?.BindingContext as Jeu;
|
var selectedjeu = (sender as ImageButton)?.BindingContext as Jeu;
|
||||||
if (selectedjeu != null)
|
if (selectedjeu != null)
|
||||||
{
|
{
|
||||||
|
|
||||||
await Navigation.PushAsync(new PageJeu(selectedjeu));
|
await Navigation.PushAsync(new PageJeu(selectedjeu));
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
async void Back_Tapped(System.Object sender, Microsoft.Maui.Controls.TappedEventArgs e)
|
async void Back_Tapped(System.Object sender, Microsoft.Maui.Controls.TappedEventArgs e)
|
||||||
{
|
{
|
||||||
await Navigation.PopAsync();
|
await Navigation.PopAsync();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void SearchBar_TextChanged(object sender, TextChangedEventArgs e)
|
private void SearchBar_TextChanged(object sender, TextChangedEventArgs e)
|
||||||
{
|
{
|
||||||
if(string.IsNullOrWhiteSpace(e.NewTextValue))
|
if(string.IsNullOrWhiteSpace(e.NewTextValue))
|
||||||
{
|
{
|
||||||
searchResults.ItemsSource = ParcourirManager.ListJeux;
|
searchResults.ItemsSource = ParcourirManager.ListJeux;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
searchResults.ItemsSource = ParcourirManager.ListJeux.Where(i => i.Nom.ToLower().Contains(e.NewTextValue.ToLower()));
|
searchResults.ItemsSource = ParcourirManager.ListJeux.Where(i => i.Nom.ToLower().Contains(e.NewTextValue.ToLower()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -1,48 +1,48 @@
|
|||||||
using GameAtlas.Models;
|
using GameAtlas.Models;
|
||||||
|
|
||||||
namespace GameAtlas.Views;
|
namespace GameAtlas.Views;
|
||||||
|
|
||||||
public partial class PageProfil : ContentPage
|
public partial class PageProfil : ContentPage
|
||||||
{
|
{
|
||||||
public Manager ProfilManager => (App.Current as App).MyManager;
|
public Manager ProfilManager => (App.Current as App).MyManager;
|
||||||
public PageProfil()
|
public PageProfil()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
BindingContext = ProfilManager;
|
BindingContext = ProfilManager;
|
||||||
SwitchPage();
|
SwitchPage();
|
||||||
}
|
}
|
||||||
|
|
||||||
async void SwitchPage()
|
async void SwitchPage()
|
||||||
{
|
{
|
||||||
if (ProfilManager.ConnectedUser == null)
|
if (ProfilManager.ConnectedUser == null)
|
||||||
{
|
{
|
||||||
await Navigation.PushAsync(new PageConnexion());
|
await Navigation.PushAsync(new PageConnexion());
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
await Shell.Current.GoToAsync("//page/PageProfil");
|
await Shell.Current.GoToAsync("//page/PageProfil");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
async void OnGame_Tapped(System.Object sender, EventArgs e)
|
async void OnGame_Tapped(System.Object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
var selectedjeu = (sender as ImageButton)?.BindingContext as Jeu;
|
var selectedjeu = (sender as ImageButton)?.BindingContext as Jeu;
|
||||||
if (selectedjeu != null)
|
if (selectedjeu != null)
|
||||||
{
|
{
|
||||||
|
|
||||||
await Navigation.PushAsync(new PageJeu(selectedjeu));
|
await Navigation.PushAsync(new PageJeu(selectedjeu));
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
async void OnAdmin_Tapped(System.Object sender, Microsoft.Maui.Controls.TappedEventArgs e)
|
async void OnAdmin_Tapped(System.Object sender, Microsoft.Maui.Controls.TappedEventArgs e)
|
||||||
{
|
{
|
||||||
await Shell.Current.GoToAsync(nameof(PageAdmin));
|
await Shell.Current.GoToAsync(nameof(PageAdmin));
|
||||||
}
|
}
|
||||||
|
|
||||||
async void OnDisconnect_Tapped(System.Object sender, Microsoft.Maui.Controls.TappedEventArgs e)
|
async void OnDisconnect_Tapped(System.Object sender, Microsoft.Maui.Controls.TappedEventArgs e)
|
||||||
{
|
{
|
||||||
await Shell.Current.GoToAsync("//page/PageAccueil");
|
await Shell.Current.GoToAsync("//page/PageAccueil");
|
||||||
ProfilManager.ConnectedUser = null;
|
ProfilManager.ConnectedUser = null;
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -0,0 +1,429 @@
|
|||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# Project related configuration options
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
DOXYFILE_ENCODING = UTF-8
|
||||||
|
PROJECT_NAME = "GameAtlas"
|
||||||
|
PROJECT_NUMBER = 1.0.0
|
||||||
|
PROJECT_BRIEF = "Une Application Android .NET MAUI avec XAML et C#"
|
||||||
|
PROJECT_LOGO = images/mylogo.png
|
||||||
|
OUTPUT_DIRECTORY = /docs/doxygen
|
||||||
|
CREATE_SUBDIRS = NO
|
||||||
|
ALLOW_UNICODE_NAMES = NO
|
||||||
|
OUTPUT_LANGUAGE = French
|
||||||
|
BRIEF_MEMBER_DESC = YES
|
||||||
|
REPEAT_BRIEF = YES
|
||||||
|
ABBREVIATE_BRIEF = "The $name class" \
|
||||||
|
"The $name widget" \
|
||||||
|
"The $name file" \
|
||||||
|
is \
|
||||||
|
provides \
|
||||||
|
specifies \
|
||||||
|
contains \
|
||||||
|
represents \
|
||||||
|
a \
|
||||||
|
an \
|
||||||
|
the
|
||||||
|
ALWAYS_DETAILED_SEC = NO
|
||||||
|
INLINE_INHERITED_MEMB = NO
|
||||||
|
FULL_PATH_NAMES = YES
|
||||||
|
STRIP_FROM_PATH =
|
||||||
|
STRIP_FROM_INC_PATH =
|
||||||
|
SHORT_NAMES = NO
|
||||||
|
JAVADOC_AUTOBRIEF = NO
|
||||||
|
JAVADOC_BANNER = NO
|
||||||
|
QT_AUTOBRIEF = NO
|
||||||
|
MULTILINE_CPP_IS_BRIEF = NO
|
||||||
|
PYTHON_DOCSTRING = YES
|
||||||
|
INHERIT_DOCS = YES
|
||||||
|
SEPARATE_MEMBER_PAGES = NO
|
||||||
|
TAB_SIZE = 4
|
||||||
|
ALIASES =
|
||||||
|
OPTIMIZE_OUTPUT_FOR_C = NO
|
||||||
|
# Well... the one for Java looks so similar to the one for C#...
|
||||||
|
OPTIMIZE_OUTPUT_JAVA = YES
|
||||||
|
OPTIMIZE_FOR_FORTRAN = NO
|
||||||
|
OPTIMIZE_OUTPUT_VHDL = NO
|
||||||
|
OPTIMIZE_OUTPUT_SLICE = NO
|
||||||
|
EXTENSION_MAPPING =
|
||||||
|
MARKDOWN_SUPPORT = YES
|
||||||
|
TOC_INCLUDE_HEADINGS = 5
|
||||||
|
AUTOLINK_SUPPORT = YES
|
||||||
|
BUILTIN_STL_SUPPORT = NO
|
||||||
|
CPP_CLI_SUPPORT = NO
|
||||||
|
SIP_SUPPORT = NO
|
||||||
|
IDL_PROPERTY_SUPPORT = YES
|
||||||
|
DISTRIBUTE_GROUP_DOC = NO
|
||||||
|
GROUP_NESTED_COMPOUNDS = NO
|
||||||
|
SUBGROUPING = YES
|
||||||
|
INLINE_GROUPED_CLASSES = NO
|
||||||
|
INLINE_SIMPLE_STRUCTS = NO
|
||||||
|
TYPEDEF_HIDES_STRUCT = NO
|
||||||
|
LOOKUP_CACHE_SIZE = 0
|
||||||
|
NUM_PROC_THREADS = 1
|
||||||
|
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# Build related configuration options
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
EXTRACT_ALL = YES
|
||||||
|
# I do not like other members to see my private members... but you can set it to YES if you prefer.
|
||||||
|
EXTRACT_PRIVATE = NO
|
||||||
|
EXTRACT_PRIV_VIRTUAL = NO
|
||||||
|
EXTRACT_PACKAGE = NO
|
||||||
|
EXTRACT_STATIC = YES
|
||||||
|
EXTRACT_LOCAL_CLASSES = YES
|
||||||
|
EXTRACT_LOCAL_METHODS = NO
|
||||||
|
EXTRACT_ANON_NSPACES = NO
|
||||||
|
RESOLVE_UNNAMED_PARAMS = YES
|
||||||
|
HIDE_UNDOC_MEMBERS = NO
|
||||||
|
HIDE_UNDOC_CLASSES = NO
|
||||||
|
HIDE_FRIEND_COMPOUNDS = NO
|
||||||
|
HIDE_IN_BODY_DOCS = NO
|
||||||
|
INTERNAL_DOCS = NO
|
||||||
|
CASE_SENSE_NAMES = NO
|
||||||
|
HIDE_SCOPE_NAMES = NO
|
||||||
|
HIDE_COMPOUND_REFERENCE= NO
|
||||||
|
SHOW_HEADERFILE = YES
|
||||||
|
SHOW_INCLUDE_FILES = YES
|
||||||
|
SHOW_GROUPED_MEMB_INC = NO
|
||||||
|
FORCE_LOCAL_INCLUDES = NO
|
||||||
|
INLINE_INFO = YES
|
||||||
|
SORT_MEMBER_DOCS = NO
|
||||||
|
SORT_BRIEF_DOCS = NO
|
||||||
|
SORT_MEMBERS_CTORS_1ST = NO
|
||||||
|
SORT_GROUP_NAMES = NO
|
||||||
|
SORT_BY_SCOPE_NAME = NO
|
||||||
|
STRICT_PROTO_MATCHING = NO
|
||||||
|
GENERATE_TODOLIST = YES
|
||||||
|
GENERATE_TESTLIST = YES
|
||||||
|
GENERATE_BUGLIST = YES
|
||||||
|
GENERATE_DEPRECATEDLIST= YES
|
||||||
|
ENABLED_SECTIONS =
|
||||||
|
MAX_INITIALIZER_LINES = 30
|
||||||
|
SHOW_USED_FILES = YES
|
||||||
|
SHOW_FILES = YES
|
||||||
|
SHOW_NAMESPACES = YES
|
||||||
|
FILE_VERSION_FILTER =
|
||||||
|
LAYOUT_FILE =
|
||||||
|
CITE_BIB_FILES =
|
||||||
|
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# Configuration options related to warning and progress messages
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
QUIET = NO
|
||||||
|
WARNINGS = YES
|
||||||
|
WARN_IF_UNDOCUMENTED = YES
|
||||||
|
WARN_IF_DOC_ERROR = YES
|
||||||
|
WARN_IF_INCOMPLETE_DOC = YES
|
||||||
|
WARN_NO_PARAMDOC = NO
|
||||||
|
WARN_AS_ERROR = NO
|
||||||
|
WARN_FORMAT = "$file:$line: $text"
|
||||||
|
WARN_LOGFILE =
|
||||||
|
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# Configuration options related to the input files
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
INPUT = ../../Sources
|
||||||
|
INPUT_ENCODING = UTF-8
|
||||||
|
FILE_PATTERNS = *.c \
|
||||||
|
*.cc \
|
||||||
|
*.cxx \
|
||||||
|
*.cpp \
|
||||||
|
*.c++ \
|
||||||
|
*.java \
|
||||||
|
*.ii \
|
||||||
|
*.ixx \
|
||||||
|
*.ipp \
|
||||||
|
*.i++ \
|
||||||
|
*.inl \
|
||||||
|
*.idl \
|
||||||
|
*.ddl \
|
||||||
|
*.odl \
|
||||||
|
*.h \
|
||||||
|
*.hh \
|
||||||
|
*.hxx \
|
||||||
|
*.hpp \
|
||||||
|
*.h++ \
|
||||||
|
*.l \
|
||||||
|
*.cs \
|
||||||
|
*.d \
|
||||||
|
*.php \
|
||||||
|
*.php4 \
|
||||||
|
*.php5 \
|
||||||
|
*.phtml \
|
||||||
|
*.inc \
|
||||||
|
*.m \
|
||||||
|
*.markdown \
|
||||||
|
*.md \
|
||||||
|
*.mm \
|
||||||
|
*.dox \
|
||||||
|
*.py \
|
||||||
|
*.pyw \
|
||||||
|
*.f90 \
|
||||||
|
*.f95 \
|
||||||
|
*.f03 \
|
||||||
|
*.f08 \
|
||||||
|
*.f18 \
|
||||||
|
*.f \
|
||||||
|
*.for \
|
||||||
|
*.vhd \
|
||||||
|
*.vhdl \
|
||||||
|
*.ucf \
|
||||||
|
*.qsf \
|
||||||
|
*.ice
|
||||||
|
RECURSIVE = YES
|
||||||
|
EXCLUDE =
|
||||||
|
EXCLUDE_SYMLINKS = NO
|
||||||
|
EXCLUDE_PATTERNS = */Tests/*
|
||||||
|
EXCLUDE_PATTERNS += */bin/*
|
||||||
|
EXCLUDE_PATTERNS += */obj/*
|
||||||
|
EXCLUDE_SYMBOLS =
|
||||||
|
EXAMPLE_PATH =
|
||||||
|
EXAMPLE_PATTERNS = *
|
||||||
|
EXAMPLE_RECURSIVE = NO
|
||||||
|
IMAGE_PATH =
|
||||||
|
INPUT_FILTER =
|
||||||
|
FILTER_PATTERNS =
|
||||||
|
FILTER_SOURCE_FILES = NO
|
||||||
|
FILTER_SOURCE_PATTERNS =
|
||||||
|
USE_MDFILE_AS_MAINPAGE =
|
||||||
|
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# Configuration options related to source browsing
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
SOURCE_BROWSER = NO
|
||||||
|
INLINE_SOURCES = NO
|
||||||
|
STRIP_CODE_COMMENTS = YES
|
||||||
|
REFERENCED_BY_RELATION = NO
|
||||||
|
REFERENCES_RELATION = NO
|
||||||
|
REFERENCES_LINK_SOURCE = YES
|
||||||
|
SOURCE_TOOLTIPS = YES
|
||||||
|
USE_HTAGS = NO
|
||||||
|
VERBATIM_HEADERS = YES
|
||||||
|
CLANG_ASSISTED_PARSING = NO
|
||||||
|
CLANG_ADD_INC_PATHS = YES
|
||||||
|
CLANG_OPTIONS =
|
||||||
|
CLANG_DATABASE_PATH =
|
||||||
|
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# Configuration options related to the alphabetical class index
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
ALPHABETICAL_INDEX = YES
|
||||||
|
IGNORE_PREFIX =
|
||||||
|
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# Configuration options related to the HTML output
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
GENERATE_HTML = YES
|
||||||
|
HTML_OUTPUT = html
|
||||||
|
HTML_FILE_EXTENSION = .html
|
||||||
|
HTML_HEADER =
|
||||||
|
HTML_FOOTER = footer.html
|
||||||
|
HTML_STYLESHEET =
|
||||||
|
HTML_EXTRA_STYLESHEET =
|
||||||
|
HTML_EXTRA_FILES = images/CodeFirst.png images/clubinfo.png
|
||||||
|
HTML_COLORSTYLE_HUE = 215
|
||||||
|
HTML_COLORSTYLE_SAT = 45
|
||||||
|
HTML_COLORSTYLE_GAMMA = 240
|
||||||
|
HTML_TIMESTAMP = NO
|
||||||
|
HTML_DYNAMIC_MENUS = YES
|
||||||
|
HTML_DYNAMIC_SECTIONS = NO
|
||||||
|
HTML_INDEX_NUM_ENTRIES = 100
|
||||||
|
GENERATE_DOCSET = NO
|
||||||
|
DOCSET_FEEDNAME = "Doxygen generated docs"
|
||||||
|
DOCSET_FEEDURL =
|
||||||
|
DOCSET_BUNDLE_ID = org.doxygen.Project
|
||||||
|
DOCSET_PUBLISHER_ID = org.doxygen.Publisher
|
||||||
|
DOCSET_PUBLISHER_NAME = Publisher
|
||||||
|
GENERATE_HTMLHELP = NO
|
||||||
|
CHM_FILE =
|
||||||
|
HHC_LOCATION =
|
||||||
|
GENERATE_CHI = NO
|
||||||
|
CHM_INDEX_ENCODING =
|
||||||
|
BINARY_TOC = NO
|
||||||
|
TOC_EXPAND = NO
|
||||||
|
GENERATE_QHP = NO
|
||||||
|
QCH_FILE =
|
||||||
|
QHP_NAMESPACE = org.doxygen.Project
|
||||||
|
QHP_VIRTUAL_FOLDER = doc
|
||||||
|
QHP_CUST_FILTER_NAME =
|
||||||
|
QHP_CUST_FILTER_ATTRS =
|
||||||
|
QHP_SECT_FILTER_ATTRS =
|
||||||
|
QHG_LOCATION =
|
||||||
|
GENERATE_ECLIPSEHELP = NO
|
||||||
|
ECLIPSE_DOC_ID = org.doxygen.Project
|
||||||
|
DISABLE_INDEX = NO
|
||||||
|
GENERATE_TREEVIEW = NO
|
||||||
|
FULL_SIDEBAR = NO
|
||||||
|
ENUM_VALUES_PER_LINE = 4
|
||||||
|
TREEVIEW_WIDTH = 250
|
||||||
|
EXT_LINKS_IN_WINDOW = NO
|
||||||
|
OBFUSCATE_EMAILS = YES
|
||||||
|
HTML_FORMULA_FORMAT = png
|
||||||
|
FORMULA_FONTSIZE = 10
|
||||||
|
FORMULA_TRANSPARENT = YES
|
||||||
|
FORMULA_MACROFILE =
|
||||||
|
USE_MATHJAX = NO
|
||||||
|
MATHJAX_VERSION = MathJax_2
|
||||||
|
MATHJAX_FORMAT = HTML-CSS
|
||||||
|
MATHJAX_RELPATH =
|
||||||
|
MATHJAX_EXTENSIONS =
|
||||||
|
MATHJAX_CODEFILE =
|
||||||
|
SEARCHENGINE = YES
|
||||||
|
SERVER_BASED_SEARCH = NO
|
||||||
|
EXTERNAL_SEARCH = NO
|
||||||
|
SEARCHENGINE_URL =
|
||||||
|
SEARCHDATA_FILE = searchdata.xml
|
||||||
|
EXTERNAL_SEARCH_ID =
|
||||||
|
EXTRA_SEARCH_MAPPINGS =
|
||||||
|
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# Configuration options related to the LaTeX output
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
GENERATE_LATEX = NO
|
||||||
|
LATEX_OUTPUT = latex
|
||||||
|
LATEX_CMD_NAME =
|
||||||
|
MAKEINDEX_CMD_NAME = makeindex
|
||||||
|
LATEX_MAKEINDEX_CMD = makeindex
|
||||||
|
COMPACT_LATEX = NO
|
||||||
|
PAPER_TYPE = a4
|
||||||
|
EXTRA_PACKAGES =
|
||||||
|
LATEX_HEADER =
|
||||||
|
LATEX_FOOTER =
|
||||||
|
LATEX_EXTRA_STYLESHEET =
|
||||||
|
LATEX_EXTRA_FILES =
|
||||||
|
PDF_HYPERLINKS = YES
|
||||||
|
USE_PDFLATEX = YES
|
||||||
|
LATEX_BATCHMODE = NO
|
||||||
|
LATEX_HIDE_INDICES = NO
|
||||||
|
LATEX_BIB_STYLE = plain
|
||||||
|
LATEX_TIMESTAMP = NO
|
||||||
|
LATEX_EMOJI_DIRECTORY =
|
||||||
|
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# Configuration options related to the RTF output
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
GENERATE_RTF = NO
|
||||||
|
RTF_OUTPUT = rtf
|
||||||
|
COMPACT_RTF = NO
|
||||||
|
RTF_HYPERLINKS = NO
|
||||||
|
RTF_STYLESHEET_FILE =
|
||||||
|
RTF_EXTENSIONS_FILE =
|
||||||
|
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# Configuration options related to the man page output
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
GENERATE_MAN = NO
|
||||||
|
MAN_OUTPUT = man
|
||||||
|
MAN_EXTENSION = .3
|
||||||
|
MAN_SUBDIR =
|
||||||
|
MAN_LINKS = NO
|
||||||
|
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# Configuration options related to the XML output
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
GENERATE_XML = NO
|
||||||
|
XML_OUTPUT = xml
|
||||||
|
XML_PROGRAMLISTING = YES
|
||||||
|
XML_NS_MEMB_FILE_SCOPE = NO
|
||||||
|
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# Configuration options related to the DOCBOOK output
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
GENERATE_DOCBOOK = NO
|
||||||
|
DOCBOOK_OUTPUT = docbook
|
||||||
|
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# Configuration options for the AutoGen Definitions output
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
GENERATE_AUTOGEN_DEF = NO
|
||||||
|
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# Configuration options related to Sqlite3 output
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# Configuration options related to the Perl module output
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
GENERATE_PERLMOD = NO
|
||||||
|
PERLMOD_LATEX = NO
|
||||||
|
PERLMOD_PRETTY = YES
|
||||||
|
PERLMOD_MAKEVAR_PREFIX =
|
||||||
|
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# Configuration options related to the preprocessor
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
ENABLE_PREPROCESSING = YES
|
||||||
|
MACRO_EXPANSION = NO
|
||||||
|
EXPAND_ONLY_PREDEF = NO
|
||||||
|
SEARCH_INCLUDES = YES
|
||||||
|
INCLUDE_PATH =
|
||||||
|
INCLUDE_FILE_PATTERNS =
|
||||||
|
PREDEFINED =
|
||||||
|
EXPAND_AS_DEFINED =
|
||||||
|
SKIP_FUNCTION_MACROS = YES
|
||||||
|
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# Configuration options related to external references
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
TAGFILES =
|
||||||
|
GENERATE_TAGFILE =
|
||||||
|
ALLEXTERNALS = NO
|
||||||
|
EXTERNAL_GROUPS = YES
|
||||||
|
EXTERNAL_PAGES = YES
|
||||||
|
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# Configuration options related to the dot tool
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
DIA_PATH =
|
||||||
|
HIDE_UNDOC_RELATIONS = YES
|
||||||
|
HAVE_DOT = NO
|
||||||
|
DOT_NUM_THREADS = 0
|
||||||
|
DOT_FONTNAME = Helvetica
|
||||||
|
DOT_FONTSIZE = 10
|
||||||
|
DOT_FONTPATH =
|
||||||
|
CLASS_GRAPH = YES
|
||||||
|
COLLABORATION_GRAPH = YES
|
||||||
|
GROUP_GRAPHS = YES
|
||||||
|
UML_LOOK = NO
|
||||||
|
UML_LIMIT_NUM_FIELDS = 10
|
||||||
|
DOT_UML_DETAILS = NO
|
||||||
|
DOT_WRAP_THRESHOLD = 17
|
||||||
|
TEMPLATE_RELATIONS = NO
|
||||||
|
INCLUDE_GRAPH = YES
|
||||||
|
INCLUDED_BY_GRAPH = YES
|
||||||
|
CALL_GRAPH = NO
|
||||||
|
CALLER_GRAPH = NO
|
||||||
|
GRAPHICAL_HIERARCHY = YES
|
||||||
|
DIRECTORY_GRAPH = YES
|
||||||
|
DIR_GRAPH_MAX_DEPTH = 1
|
||||||
|
DOT_IMAGE_FORMAT = png
|
||||||
|
INTERACTIVE_SVG = NO
|
||||||
|
DOT_PATH =
|
||||||
|
DOTFILE_DIRS =
|
||||||
|
MSCFILE_DIRS =
|
||||||
|
DIAFILE_DIRS =
|
||||||
|
PLANTUML_JAR_PATH =
|
||||||
|
PLANTUML_CFG_FILE =
|
||||||
|
PLANTUML_INCLUDE_PATH =
|
||||||
|
DOT_GRAPH_MAX_NODES = 50
|
||||||
|
MAX_DOT_GRAPH_DEPTH = 0
|
||||||
|
DOT_TRANSPARENT = NO
|
||||||
|
DOT_MULTI_TARGETS = NO
|
||||||
|
GENERATE_LEGEND = YES
|
||||||
|
DOT_CLEANUP = YES
|