From 9dac0222dc4dc005b903712df052c9636c983156 Mon Sep 17 00:00:00 2001 From: Yoan Date: Wed, 3 May 2023 08:41:31 +0200 Subject: [PATCH] Page information bestiaire et style dynamique sur les frames objets --- Sources/Ohara/AppShell.xaml | 4 +- Sources/Ohara/Ohara.csproj | 6 ++ Sources/Ohara/PageBateau.xaml | 35 +------ Sources/Ohara/PageBestiaire.xaml | 2 +- Sources/Ohara/PageEquipage.xaml | 100 ++++++++++---------- Sources/Ohara/PageEquipage.xaml.cs | 3 - Sources/Ohara/PageFDD.xaml | 4 +- Sources/Ohara/PageIle.xaml | 24 +---- Sources/Ohara/PageInfoBestiaire.xaml | 104 +++++++++++++++++++++ Sources/Ohara/PageInfoBestiaire.xaml.cs | 16 ++++ Sources/Ohara/PagePersonnage.xaml | 29 ++---- Sources/Ohara/Resources/Styles/Styles.xaml | 69 ++++++++++++-- 12 files changed, 255 insertions(+), 141 deletions(-) create mode 100644 Sources/Ohara/PageInfoBestiaire.xaml create mode 100644 Sources/Ohara/PageInfoBestiaire.xaml.cs diff --git a/Sources/Ohara/AppShell.xaml b/Sources/Ohara/AppShell.xaml index 3058a7d..97c8cea 100644 --- a/Sources/Ohara/AppShell.xaml +++ b/Sources/Ohara/AppShell.xaml @@ -13,8 +13,8 @@ + ContentTemplate="{DataTemplate local:PageInfoBestiaire}" + Route="PageInfoBestiaire" /> diff --git a/Sources/Ohara/Ohara.csproj b/Sources/Ohara/Ohara.csproj index 6055149..6b7e757 100644 --- a/Sources/Ohara/Ohara.csproj +++ b/Sources/Ohara/Ohara.csproj @@ -57,6 +57,9 @@ + + PageInfoBestiaire.xaml + PageIle.xaml @@ -81,6 +84,9 @@ + + MSBuild:Compile + MSBuild:Compile diff --git a/Sources/Ohara/PageBateau.xaml b/Sources/Ohara/PageBateau.xaml index 272c75a..ceb2475 100644 --- a/Sources/Ohara/PageBateau.xaml +++ b/Sources/Ohara/PageBateau.xaml @@ -83,37 +83,24 @@ - + - +