1
0
Fork 0
mirror of https://github.com/Nioux/AideDeJeu.git synced 2025-10-29 14:35:45 +00:00

Test GTK#

This commit is contained in:
Yan Maniez 2018-10-04 20:15:10 +02:00
parent 3bbf07a209
commit adddd1008c
27 changed files with 387 additions and 6 deletions

View file

@ -21,11 +21,13 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AideDeJeuCmd", "AideDeJeu\A
{C0597D88-5C09-4314-80A3-64712B02D0E9} = {C0597D88-5C09-4314-80A3-64712B02D0E9}
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AideDeJeuUnitTest", "AideDeJeu\AideDeJeuUnitTest\AideDeJeuUnitTest.csproj", "{443C655C-FDE9-48C9-95E4-630DD368ABDB}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AideDeJeuUnitTest", "AideDeJeu\AideDeJeuUnitTest\AideDeJeuUnitTest.csproj", "{443C655C-FDE9-48C9-95E4-630DD368ABDB}"
ProjectSection(ProjectDependencies) = postProject
{C0597D88-5C09-4314-80A3-64712B02D0E9} = {C0597D88-5C09-4314-80A3-64712B02D0E9}
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AideDeJeu.GTK", "AideDeJeu\AideDeJeu.GTK\AideDeJeu.GTK.csproj", "{F3173507-0CED-44BB-92D2-9DB7832FF011}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Ad-Hoc|Any CPU = Ad-Hoc|Any CPU
@ -410,6 +412,54 @@ Global
{443C655C-FDE9-48C9-95E4-630DD368ABDB}.Release|x64.Build.0 = Release|Any CPU
{443C655C-FDE9-48C9-95E4-630DD368ABDB}.Release|x86.ActiveCfg = Release|Any CPU
{443C655C-FDE9-48C9-95E4-630DD368ABDB}.Release|x86.Build.0 = Release|Any CPU
{F3173507-0CED-44BB-92D2-9DB7832FF011}.Ad-Hoc|Any CPU.ActiveCfg = Release|Any CPU
{F3173507-0CED-44BB-92D2-9DB7832FF011}.Ad-Hoc|Any CPU.Build.0 = Release|Any CPU
{F3173507-0CED-44BB-92D2-9DB7832FF011}.Ad-Hoc|ARM.ActiveCfg = Release|Any CPU
{F3173507-0CED-44BB-92D2-9DB7832FF011}.Ad-Hoc|ARM.Build.0 = Release|Any CPU
{F3173507-0CED-44BB-92D2-9DB7832FF011}.Ad-Hoc|iPhone.ActiveCfg = Release|Any CPU
{F3173507-0CED-44BB-92D2-9DB7832FF011}.Ad-Hoc|iPhone.Build.0 = Release|Any CPU
{F3173507-0CED-44BB-92D2-9DB7832FF011}.Ad-Hoc|iPhoneSimulator.ActiveCfg = Release|Any CPU
{F3173507-0CED-44BB-92D2-9DB7832FF011}.Ad-Hoc|iPhoneSimulator.Build.0 = Release|Any CPU
{F3173507-0CED-44BB-92D2-9DB7832FF011}.Ad-Hoc|x64.ActiveCfg = Release|Any CPU
{F3173507-0CED-44BB-92D2-9DB7832FF011}.Ad-Hoc|x64.Build.0 = Release|Any CPU
{F3173507-0CED-44BB-92D2-9DB7832FF011}.Ad-Hoc|x86.ActiveCfg = Release|Any CPU
{F3173507-0CED-44BB-92D2-9DB7832FF011}.Ad-Hoc|x86.Build.0 = Release|Any CPU
{F3173507-0CED-44BB-92D2-9DB7832FF011}.AppStore|Any CPU.ActiveCfg = Release|Any CPU
{F3173507-0CED-44BB-92D2-9DB7832FF011}.AppStore|Any CPU.Build.0 = Release|Any CPU
{F3173507-0CED-44BB-92D2-9DB7832FF011}.AppStore|ARM.ActiveCfg = Release|Any CPU
{F3173507-0CED-44BB-92D2-9DB7832FF011}.AppStore|ARM.Build.0 = Release|Any CPU
{F3173507-0CED-44BB-92D2-9DB7832FF011}.AppStore|iPhone.ActiveCfg = Release|Any CPU
{F3173507-0CED-44BB-92D2-9DB7832FF011}.AppStore|iPhone.Build.0 = Release|Any CPU
{F3173507-0CED-44BB-92D2-9DB7832FF011}.AppStore|iPhoneSimulator.ActiveCfg = Release|Any CPU
{F3173507-0CED-44BB-92D2-9DB7832FF011}.AppStore|iPhoneSimulator.Build.0 = Release|Any CPU
{F3173507-0CED-44BB-92D2-9DB7832FF011}.AppStore|x64.ActiveCfg = Release|Any CPU
{F3173507-0CED-44BB-92D2-9DB7832FF011}.AppStore|x64.Build.0 = Release|Any CPU
{F3173507-0CED-44BB-92D2-9DB7832FF011}.AppStore|x86.ActiveCfg = Release|Any CPU
{F3173507-0CED-44BB-92D2-9DB7832FF011}.AppStore|x86.Build.0 = Release|Any CPU
{F3173507-0CED-44BB-92D2-9DB7832FF011}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{F3173507-0CED-44BB-92D2-9DB7832FF011}.Debug|Any CPU.Build.0 = Debug|Any CPU
{F3173507-0CED-44BB-92D2-9DB7832FF011}.Debug|ARM.ActiveCfg = Debug|Any CPU
{F3173507-0CED-44BB-92D2-9DB7832FF011}.Debug|ARM.Build.0 = Debug|Any CPU
{F3173507-0CED-44BB-92D2-9DB7832FF011}.Debug|iPhone.ActiveCfg = Debug|Any CPU
{F3173507-0CED-44BB-92D2-9DB7832FF011}.Debug|iPhone.Build.0 = Debug|Any CPU
{F3173507-0CED-44BB-92D2-9DB7832FF011}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU
{F3173507-0CED-44BB-92D2-9DB7832FF011}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU
{F3173507-0CED-44BB-92D2-9DB7832FF011}.Debug|x64.ActiveCfg = Debug|Any CPU
{F3173507-0CED-44BB-92D2-9DB7832FF011}.Debug|x64.Build.0 = Debug|Any CPU
{F3173507-0CED-44BB-92D2-9DB7832FF011}.Debug|x86.ActiveCfg = Debug|Any CPU
{F3173507-0CED-44BB-92D2-9DB7832FF011}.Debug|x86.Build.0 = Debug|Any CPU
{F3173507-0CED-44BB-92D2-9DB7832FF011}.Release|Any CPU.ActiveCfg = Release|Any CPU
{F3173507-0CED-44BB-92D2-9DB7832FF011}.Release|Any CPU.Build.0 = Release|Any CPU
{F3173507-0CED-44BB-92D2-9DB7832FF011}.Release|ARM.ActiveCfg = Release|Any CPU
{F3173507-0CED-44BB-92D2-9DB7832FF011}.Release|ARM.Build.0 = Release|Any CPU
{F3173507-0CED-44BB-92D2-9DB7832FF011}.Release|iPhone.ActiveCfg = Release|Any CPU
{F3173507-0CED-44BB-92D2-9DB7832FF011}.Release|iPhone.Build.0 = Release|Any CPU
{F3173507-0CED-44BB-92D2-9DB7832FF011}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU
{F3173507-0CED-44BB-92D2-9DB7832FF011}.Release|iPhoneSimulator.Build.0 = Release|Any CPU
{F3173507-0CED-44BB-92D2-9DB7832FF011}.Release|x64.ActiveCfg = Release|Any CPU
{F3173507-0CED-44BB-92D2-9DB7832FF011}.Release|x64.Build.0 = Release|Any CPU
{F3173507-0CED-44BB-92D2-9DB7832FF011}.Release|x86.ActiveCfg = Release|Any CPU
{F3173507-0CED-44BB-92D2-9DB7832FF011}.Release|x86.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE

View file

@ -68,7 +68,7 @@
<Version>1.60.3</Version>
</PackageReference>
<PackageReference Include="Xamarin.Forms">
<Version>3.2.0.839982</Version>
<Version>3.2.0.871581</Version>
</PackageReference>
</ItemGroup>
<ItemGroup>

View file

@ -0,0 +1,170 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="..\..\packages\Xamarin.Forms.3.2.0.871581\build\netstandard2.0\Xamarin.Forms.props" Condition="Exists('..\..\packages\Xamarin.Forms.3.2.0.871581\build\netstandard2.0\Xamarin.Forms.props')" />
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{F3173507-0CED-44BB-92D2-9DB7832FF011}</ProjectGuid>
<OutputType>WinExe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>AideDeJeu.GTK</RootNamespace>
<AssemblyName>AideDeJeu.GTK</AssemblyName>
<TargetFrameworkVersion>v4.7.1</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<Deterministic>true</Deterministic>
<NuGetPackageImportStamp>
</NuGetPackageImportStamp>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup>
<StartupObject />
</PropertyGroup>
<ItemGroup>
<Reference Include="atk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\..\..\..\..\..\Program Files (x86)\GtkSharp\2.12\lib\gtk-sharp-2.0\atk-sharp.dll</HintPath>
</Reference>
<Reference Include="gdk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\..\..\..\..\..\Program Files (x86)\GtkSharp\2.12\lib\gtk-sharp-2.0\gdk-sharp.dll</HintPath>
</Reference>
<Reference Include="glade-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\..\..\..\..\..\Program Files (x86)\GtkSharp\2.12\lib\gtk-sharp-2.0\glade-sharp.dll</HintPath>
</Reference>
<Reference Include="glib-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\..\..\..\..\..\Program Files (x86)\GtkSharp\2.12\lib\gtk-sharp-2.0\glib-sharp.dll</HintPath>
</Reference>
<Reference Include="gtk-dotnet, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\..\..\..\..\..\Program Files (x86)\GtkSharp\2.12\lib\gtk-sharp-2.0\gtk-dotnet.dll</HintPath>
</Reference>
<Reference Include="gtk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\..\..\..\..\..\Program Files (x86)\GtkSharp\2.12\lib\gtk-sharp-2.0\gtk-sharp.dll</HintPath>
</Reference>
<Reference Include="Markdig, Version=0.15.3.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\..\packages\Markdig.0.15.3\lib\net40\Markdig.dll</HintPath>
</Reference>
<Reference Include="OpenTK, Version=3.0.0.0, Culture=neutral, PublicKeyToken=bad199fe84eb3df4, processorArchitecture=MSIL">
<HintPath>..\..\packages\Xamarin.Forms.Platform.GTK.3.2.0.871581\lib\net45\OpenTK.dll</HintPath>
</Reference>
<Reference Include="pango-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\..\..\..\..\..\Program Files (x86)\GtkSharp\2.12\lib\gtk-sharp-2.0\pango-sharp.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Net.Http" />
<Reference Include="System.Xml" />
<Reference Include="webkit-sharp, Version=1.1.15.0, Culture=neutral, PublicKeyToken=eaa1d335d2e19745, processorArchitecture=MSIL">
<HintPath>..\..\packages\Xamarin.Forms.Platform.GTK.3.2.0.871581\lib\net45\webkit-sharp.dll</HintPath>
</Reference>
<Reference Include="Xamarin.Forms.Core, Version=2.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\..\packages\Xamarin.Forms.3.2.0.871581\lib\netstandard2.0\Xamarin.Forms.Core.dll</HintPath>
</Reference>
<Reference Include="Xamarin.Forms.Platform, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\..\packages\Xamarin.Forms.3.2.0.871581\lib\netstandard2.0\Xamarin.Forms.Platform.dll</HintPath>
</Reference>
<Reference Include="Xamarin.Forms.Platform.GTK, Version=2.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\..\packages\Xamarin.Forms.Platform.GTK.3.2.0.871581\lib\net45\Xamarin.Forms.Platform.GTK.dll</HintPath>
</Reference>
<Reference Include="Xamarin.Forms.Xaml, Version=2.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\..\packages\Xamarin.Forms.3.2.0.871581\lib\netstandard2.0\Xamarin.Forms.Xaml.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
<Compile Include="NativeAPI.cs" />
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<None Include="OpenTK.dll.config" />
<None Include="packages.config" />
<None Include="webkit-sharp.dll.config" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\AideDeJeu\AideDeJeu.csproj">
<Project>{c0597d88-5c09-4314-80a3-64712b02d0e9}</Project>
<Name>AideDeJeu</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Content Include="battle_axe.png">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Include="crystal_ball.png">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Include="dragon_head.png">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Include="funnel.png">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Include="icon.png">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Include="ic_launcher.png">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Include="plain_arrow_down.png">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Include="plain_arrow_up.png">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Include="round_star.png">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Include="settings_knobs.png">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Include="spell_book.png">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Include="stars_stack.png">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Include="trash_can.png">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Include="wooden_sign.png">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Include="xamarin_logo.png">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
<PropertyGroup>
<ErrorText>Ce projet fait référence à des packages NuGet qui sont manquants sur cet ordinateur. Utilisez l'option de restauration des packages NuGet pour les télécharger. Pour plus d'informations, consultez http://go.microsoft.com/fwlink/?LinkID=322105. Le fichier manquant est : {0}.</ErrorText>
</PropertyGroup>
<Error Condition="!Exists('..\..\packages\Xamarin.Forms.3.2.0.871581\build\netstandard2.0\Xamarin.Forms.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Xamarin.Forms.3.2.0.871581\build\netstandard2.0\Xamarin.Forms.props'))" />
<Error Condition="!Exists('..\..\packages\Xamarin.Forms.3.2.0.871581\build\netstandard2.0\Xamarin.Forms.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Xamarin.Forms.3.2.0.871581\build\netstandard2.0\Xamarin.Forms.targets'))" />
</Target>
<Import Project="..\..\packages\Xamarin.Forms.3.2.0.871581\build\netstandard2.0\Xamarin.Forms.targets" Condition="Exists('..\..\packages\Xamarin.Forms.3.2.0.871581\build\netstandard2.0\Xamarin.Forms.targets')" />
</Project>

View file

@ -0,0 +1,63 @@
using AideDeJeu.Tools;
using System;
using System.IO;
[assembly: Xamarin.Forms.Dependency(typeof(AideDeJeu.GTK.Version_GTK))]
namespace AideDeJeu.GTK
{
public class Version_GTK : INativeAPI
{
public string GetVersion()
{
return "";
//var context = global::Android.App.Application.Context;
//PackageManager manager = context.PackageManager;
//PackageInfo info = manager.GetPackageInfo(context.PackageName, 0);
//return info.VersionName;
}
public int GetBuild()
{
return 0;
//var context = global::Android.App.Application.Context;
//PackageManager manager = context.PackageManager;
//PackageInfo info = manager.GetPackageInfo(context.PackageName, 0);
//return info.VersionCode;
}
public string GetDatabasePath(string databaseName)
{
return null;
//var documentsDirectoryPath = System.Environment.GetFolderPath(System.Environment.SpecialFolder.Personal);
//var path = Path.Combine(documentsDirectoryPath, databaseName);
//// This is where we copy in our pre-created database
//if (!File.Exists(path))
//{
// using (var inStream = Android.App.Application.Context.Assets.Open(databaseName))
// {
// using (var outStream = new FileStream(path, FileMode.Create))
// {
// inStream.CopyTo(outStream);
// }
// }
// //using (var binaryReader = new BinaryReader(Android.App.Application.Context.Assets.Open(databaseName)))
// //{
// // using (var binaryWriter = new BinaryWriter(new FileStream(path, FileMode.Create)))
// // {
// // byte[] buffer = new byte[2048];
// // int length = 0;
// // while ((length = binaryReader.Read(buffer, 0, buffer.Length)) > 0)
// // {
// // binaryWriter.Write(buffer, 0, length);
// // }
// // }
// //}
//}
//return path;
}
}
}

View file

@ -0,0 +1,25 @@
<configuration>
<dllmap os="linux" dll="opengl32.dll" target="libGL.so.1"/>
<dllmap os="linux" dll="glu32.dll" target="libGLU.so.1"/>
<dllmap os="linux" dll="openal32.dll" target="libopenal.so.1"/>
<dllmap os="linux" dll="alut.dll" target="libalut.so.0"/>
<dllmap os="linux" dll="opencl.dll" target="libOpenCL.so"/>
<dllmap os="linux" dll="libX11" target="libX11.so.6"/>
<dllmap os="linux" dll="libXi" target="libXi.so.6"/>
<dllmap os="linux" dll="SDL2.dll" target="libSDL2-2.0.so.0"/>
<dllmap os="osx" dll="opengl32.dll" target="/System/Library/Frameworks/OpenGL.framework/OpenGL"/>
<dllmap os="osx" dll="openal32.dll" target="/System/Library/Frameworks/OpenAL.framework/OpenAL" />
<dllmap os="osx" dll="alut.dll" target="/System/Library/Frameworks/OpenAL.framework/OpenAL" />
<dllmap os="osx" dll="libGLES.dll" target="/System/Library/Frameworks/OpenGLES.framework/OpenGLES" />
<dllmap os="osx" dll="libGLESv1_CM.dll" target="/System/Library/Frameworks/OpenGLES.framework/OpenGLES" />
<dllmap os="osx" dll="libGLESv2.dll" target="/System/Library/Frameworks/OpenGLES.framework/OpenGLES" />
<dllmap os="osx" dll="opencl.dll" target="/System/Library/Frameworks/OpenCL.framework/OpenCL"/>
<dllmap os="osx" dll="SDL2.dll" target="libSDL2.dylib"/>
<!-- XQuartz compatibility (X11 on Mac) -->
<dllmap os="osx" dll="libGL.so.1" target="/usr/X11/lib/libGL.dylib"/>
<dllmap os="osx" dll="libX11" target="/usr/X11/lib/libX11.dylib"/>
<dllmap os="osx" dll="libXcursor.so.1" target="/usr/X11/lib/libXcursor.dylib"/>
<dllmap os="osx" dll="libXi" target="/usr/X11/lib/libXi.dylib"/>
<dllmap os="osx" dll="libXinerama" target="/usr/X11/lib/libXinerama.dylib"/>
<dllmap os="osx" dll="libXrandr.so.2" target="/usr/X11/lib/libXrandr.dylib"/>
</configuration>

View file

@ -0,0 +1,28 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
using Xamarin.Forms.Platform.GTK;
namespace AideDeJeu.GTK
{
class MainClass
{
[STAThread]
public static void Main(string[] args)
{
Gtk.Application.Init();
Forms.Init();
var app = new App();
var window = new FormsWindow();
window.LoadApplication(app);
window.SetApplicationTitle("Haches & Dés");
window.Show();
Gtk.Application.Run();
}
}
}

View file

@ -0,0 +1,36 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// Les informations générales relatives à un assembly dépendent de
// l'ensemble d'attributs suivant. Changez les valeurs de ces attributs pour modifier les informations
// associées à un assembly.
[assembly: AssemblyTitle("AideDeJeu.GTK")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("AideDeJeu.GTK")]
[assembly: AssemblyCopyright("Copyright © 2018")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// L'affectation de la valeur false à ComVisible rend les types invisibles dans cet assembly
// aux composants COM. Si vous devez accéder à un type dans cet assembly à partir de
// COM, affectez la valeur true à l'attribut ComVisible sur ce type.
[assembly: ComVisible(false)]
// Le GUID suivant est pour l'ID de la typelib si ce projet est exposé à COM
[assembly: Guid("f3173507-0ced-44bb-92d2-9db7832ff011")]
// Les informations de version pour un assembly se composent des quatre valeurs suivantes :
//
// Version principale
// Version secondaire
// Numéro de build
// Révision
//
// Vous pouvez spécifier toutes les valeurs ou indiquer les numéros de build et de révision par défaut
// en utilisant '*', comme indiqué ci-dessous :
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.9 KiB

View file

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Markdig" version="0.15.3" targetFramework="net471" />
<package id="Xamarin.Forms" version="3.2.0.871581" targetFramework="net471" />
<package id="Xamarin.Forms.Platform.GTK" version="3.2.0.871581" targetFramework="net471" />
</packages>

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 889 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

View file

@ -0,0 +1,3 @@
<configuration>
<dllmap dll="webkit-1.0" target="/usr/lib/x86_64-linux-gnu/libwebkitgtk-1.0.so"/>
</configuration>

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

View file

@ -200,7 +200,7 @@
</PackageReference>
<PackageReference Include="Microsoft.NETCore.UniversalWindowsPlatform" Version="6.1.7" />
<PackageReference Include="Xamarin.Forms">
<Version>3.2.0.839982</Version>
<Version>3.2.0.871581</Version>
</PackageReference>
</ItemGroup>
<ItemGroup>

View file

@ -121,7 +121,7 @@
<Version>1.60.3</Version>
</PackageReference>
<PackageReference Include="Xamarin.Forms">
<Version>3.2.0.839982</Version>
<Version>3.2.0.871581</Version>
</PackageReference>
</ItemGroup>
<ItemGroup>

View file

@ -28,11 +28,11 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="Markdig" Version="0.15.2" />
<PackageReference Include="Markdig" Version="0.15.3" />
<PackageReference Include="Rg.Plugins.Popup" Version="1.1.4.168" />
<PackageReference Include="SkiaSharp.Svg" Version="1.60.0" />
<PackageReference Include="SkiaSharp.Views.Forms" Version="1.60.3" />
<PackageReference Include="Xamarin.Forms" Version="3.2.0.839982" />
<PackageReference Include="Xamarin.Forms" Version="3.2.0.871581" />
</ItemGroup>
<ItemGroup>