mirror of
https://github.com/Nioux/AideDeJeu.git
synced 2025-12-16 23:29:47 +00:00
Suite refactor
This commit is contained in:
parent
2bb2173f01
commit
e1a4b2c7e4
25 changed files with 31 additions and 28 deletions
|
|
@ -62,10 +62,10 @@
|
||||||
<Compile Update="Views\Library\MainTabbedPage.xaml.cs">
|
<Compile Update="Views\Library\MainTabbedPage.xaml.cs">
|
||||||
<DependentUpon>MainTabbedPage.xaml</DependentUpon>
|
<DependentUpon>MainTabbedPage.xaml</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Update="Views\PlayerCharacter\ItemPicker.xaml.cs">
|
<Compile Update="Views\ItemPicker.xaml.cs">
|
||||||
<DependentUpon>ItemPicker.xaml</DependentUpon>
|
<DependentUpon>ItemPicker.xaml</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Update="Views\PlayerCharacter\ItemPickerView.xaml.cs">
|
<Compile Update="Views\ItemPickerView.xaml.cs">
|
||||||
<DependentUpon>ItemPickerView.xaml</DependentUpon>
|
<DependentUpon>ItemPickerView.xaml</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
@ -106,10 +106,10 @@
|
||||||
<EmbeddedResource Update="Views\PlayerCharacter\PlayerCharacterEditorPage.xaml">
|
<EmbeddedResource Update="Views\PlayerCharacter\PlayerCharacterEditorPage.xaml">
|
||||||
<Generator>MSBuild:UpdateDesignTimeXaml</Generator>
|
<Generator>MSBuild:UpdateDesignTimeXaml</Generator>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
<EmbeddedResource Update="Views\PlayerCharacter\StringPicker.xaml">
|
<EmbeddedResource Update="Views\StringPicker.xaml">
|
||||||
<Generator>MSBuild:UpdateDesignTimeXaml</Generator>
|
<Generator>MSBuild:UpdateDesignTimeXaml</Generator>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
<EmbeddedResource Update="Views\PlayerCharacter\StringPickerView.xaml">
|
<EmbeddedResource Update="Views\StringPickerView.xaml">
|
||||||
<Generator>MSBuild:UpdateDesignTimeXaml</Generator>
|
<Generator>MSBuild:UpdateDesignTimeXaml</Generator>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
<EmbeddedResource Update="Views\TextInputCancellableView.xaml">
|
<EmbeddedResource Update="Views\TextInputCancellableView.xaml">
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
using AideDeJeu.Tools;
|
using AideDeJeu.Tools;
|
||||||
using AideDeJeu.ViewModels.Library;
|
using AideDeJeu.ViewModels.Library;
|
||||||
using AideDeJeu.Views;
|
using AideDeJeu.Views;
|
||||||
|
using AideDeJeu.Views.Library;
|
||||||
using AideDeJeuLib;
|
using AideDeJeuLib;
|
||||||
using Rg.Plugins.Popup.Services;
|
using Rg.Plugins.Popup.Services;
|
||||||
using System;
|
using System;
|
||||||
|
|
@ -73,7 +74,7 @@ namespace AideDeJeu.ViewModels
|
||||||
public async Task GotoLibraryPageAsync()
|
public async Task GotoLibraryPageAsync()
|
||||||
{
|
{
|
||||||
//await Navigation.PushAsync(new Views.ItemDetailPage(),true);
|
//await Navigation.PushAsync(new Views.ItemDetailPage(),true);
|
||||||
await Navigation.PushAsync(new Views.MainTabbedPage(), true);
|
await Navigation.PushAsync(new Views.Library.MainTabbedPage(), true);
|
||||||
//TestNotify = new NotifyTaskCompletion<bool>(TestGotoAsync(), true);
|
//TestNotify = new NotifyTaskCompletion<bool>(TestGotoAsync(), true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -88,7 +89,7 @@ namespace AideDeJeu.ViewModels
|
||||||
|
|
||||||
public async Task GotoBookmarksPageAsync()
|
public async Task GotoBookmarksPageAsync()
|
||||||
{
|
{
|
||||||
await Navigation.PushAsync(new Views.BookmarksPage(), true);
|
await Navigation.PushAsync(new Views.Library.BookmarksPage(), true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -104,7 +105,7 @@ namespace AideDeJeu.ViewModels
|
||||||
|
|
||||||
public async Task GotoPlayerCharacterEditorPageAsync()
|
public async Task GotoPlayerCharacterEditorPageAsync()
|
||||||
{
|
{
|
||||||
await Navigation.PushAsync(new Views.PlayerCharacterEditorPage(), true);
|
await Navigation.PushAsync(new Views.PlayerCharacter.PlayerCharacterEditorPage(), true);
|
||||||
}
|
}
|
||||||
|
|
||||||
private Command _DeepSearchCommand = null;
|
private Command _DeepSearchCommand = null;
|
||||||
|
|
@ -118,7 +119,7 @@ namespace AideDeJeu.ViewModels
|
||||||
|
|
||||||
public async Task GotoDeepSearchPageAsync()
|
public async Task GotoDeepSearchPageAsync()
|
||||||
{
|
{
|
||||||
await Navigation.PushAsync(new Views.DeepSearchPage(), true);
|
await Navigation.PushAsync(new Views.Library.DeepSearchPage(), true);
|
||||||
}
|
}
|
||||||
|
|
||||||
private Command _AddToFavoritesCommand = null;
|
private Command _AddToFavoritesCommand = null;
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||||
xmlns:android="clr-namespace:Xamarin.Forms.PlatformConfiguration.AndroidSpecific;assembly=Xamarin.Forms.Core"
|
xmlns:android="clr-namespace:Xamarin.Forms.PlatformConfiguration.AndroidSpecific;assembly=Xamarin.Forms.Core"
|
||||||
xmlns:tools="clr-namespace:AideDeJeu.Tools"
|
xmlns:tools="clr-namespace:AideDeJeu.Tools"
|
||||||
x:Class="AideDeJeu.Views.BookmarksPage"
|
x:Class="AideDeJeu.Views.Library.BookmarksPage"
|
||||||
x:Name="This"
|
x:Name="This"
|
||||||
Title="Favoris"
|
Title="Favoris"
|
||||||
Icon="stars_stack.png">
|
Icon="stars_stack.png">
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ using System.Threading.Tasks;
|
||||||
using Xamarin.Forms;
|
using Xamarin.Forms;
|
||||||
using Xamarin.Forms.Xaml;
|
using Xamarin.Forms.Xaml;
|
||||||
|
|
||||||
namespace AideDeJeu.Views
|
namespace AideDeJeu.Views.Library
|
||||||
{
|
{
|
||||||
[XamlCompilation(XamlCompilationOptions.Compile)]
|
[XamlCompilation(XamlCompilationOptions.Compile)]
|
||||||
public partial class BookmarksPage : ContentPage
|
public partial class BookmarksPage : ContentPage
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
<ContentPage
|
<ContentPage
|
||||||
xmlns="http://xamarin.com/schemas/2014/forms"
|
xmlns="http://xamarin.com/schemas/2014/forms"
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||||
x:Class="AideDeJeu.Views.DeepSearchPage"
|
x:Class="AideDeJeu.Views.Library.DeepSearchPage"
|
||||||
xmlns:tools="clr-namespace:AideDeJeu.Tools"
|
xmlns:tools="clr-namespace:AideDeJeu.Tools"
|
||||||
xmlns:properties="clr-namespace:AideDeJeu.Properties"
|
xmlns:properties="clr-namespace:AideDeJeu.Properties"
|
||||||
x:Name="This"
|
x:Name="This"
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ using Xamarin.Forms;
|
||||||
using Xamarin.Forms.Xaml;
|
using Xamarin.Forms.Xaml;
|
||||||
using static AideDeJeu.ViewModels.Library.DeepSearchViewModel;
|
using static AideDeJeu.ViewModels.Library.DeepSearchViewModel;
|
||||||
|
|
||||||
namespace AideDeJeu.Views
|
namespace AideDeJeu.Views.Library
|
||||||
{
|
{
|
||||||
[XamlCompilation(XamlCompilationOptions.Compile)]
|
[XamlCompilation(XamlCompilationOptions.Compile)]
|
||||||
public partial class DeepSearchPage : ContentPage
|
public partial class DeepSearchPage : ContentPage
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||||
xmlns:local="clr-namespace:AideDeJeu.Views"
|
xmlns:local="clr-namespace:AideDeJeu.Views"
|
||||||
xmlns:tools="clr-namespace:AideDeJeu.Tools"
|
xmlns:tools="clr-namespace:AideDeJeu.Tools"
|
||||||
x:Class="AideDeJeu.Views.FilteredItemsPage"
|
x:Class="AideDeJeu.Views.Library.FilteredItemsPage"
|
||||||
x:Name="This"
|
x:Name="This"
|
||||||
Title="{Binding Title}">
|
Title="{Binding Title}">
|
||||||
<MasterDetailPage.Resources>
|
<MasterDetailPage.Resources>
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ using System.Linq;
|
||||||
using Xamarin.Forms;
|
using Xamarin.Forms;
|
||||||
using Xamarin.Forms.Xaml;
|
using Xamarin.Forms.Xaml;
|
||||||
|
|
||||||
namespace AideDeJeu.Views
|
namespace AideDeJeu.Views.Library
|
||||||
{
|
{
|
||||||
[XamlCompilation(XamlCompilationOptions.Compile)]
|
[XamlCompilation(XamlCompilationOptions.Compile)]
|
||||||
public partial class FilteredItemsPage : MasterDetailPage
|
public partial class FilteredItemsPage : MasterDetailPage
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||||
xmlns:tools="clr-namespace:AideDeJeu.Tools"
|
xmlns:tools="clr-namespace:AideDeJeu.Tools"
|
||||||
xmlns:mdview="clr-namespace:Xam.Forms.Markdown"
|
xmlns:mdview="clr-namespace:Xam.Forms.Markdown"
|
||||||
x:Class="AideDeJeu.Views.ItemDetailPage"
|
x:Class="AideDeJeu.Views.Library.ItemDetailPage"
|
||||||
Title="{Binding Title}"
|
Title="{Binding Title}"
|
||||||
Icon="spell_book.png"
|
Icon="spell_book.png"
|
||||||
x:Name="This">
|
x:Name="This">
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@ using System.Threading.Tasks;
|
||||||
using Xamarin.Forms;
|
using Xamarin.Forms;
|
||||||
using Xamarin.Forms.Xaml;
|
using Xamarin.Forms.Xaml;
|
||||||
|
|
||||||
namespace AideDeJeu.Views
|
namespace AideDeJeu.Views.Library
|
||||||
{
|
{
|
||||||
[XamlCompilation(XamlCompilationOptions.Compile)]
|
[XamlCompilation(XamlCompilationOptions.Compile)]
|
||||||
public partial class ItemDetailPage : ContentPage
|
public partial class ItemDetailPage : ContentPage
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
xmlns:local="clr-namespace:AideDeJeu.Views"
|
xmlns:local="clr-namespace:AideDeJeu.Views"
|
||||||
xmlns:tools="clr-namespace:AideDeJeu.Tools"
|
xmlns:tools="clr-namespace:AideDeJeu.Tools"
|
||||||
xmlns:mdview="clr-namespace:Xam.Forms.Markdown"
|
xmlns:mdview="clr-namespace:Xam.Forms.Markdown"
|
||||||
x:Class="AideDeJeu.Views.ItemsPage"
|
x:Class="AideDeJeu.Views.Library.ItemsPage"
|
||||||
x:Name="This"
|
x:Name="This"
|
||||||
Title="{Binding Title}">
|
Title="{Binding Title}">
|
||||||
<ContentPage.Resources>
|
<ContentPage.Resources>
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ using System.Linq;
|
||||||
using Xamarin.Forms;
|
using Xamarin.Forms;
|
||||||
using Xamarin.Forms.Xaml;
|
using Xamarin.Forms.Xaml;
|
||||||
|
|
||||||
namespace AideDeJeu.Views
|
namespace AideDeJeu.Views.Library
|
||||||
{
|
{
|
||||||
[XamlCompilation(XamlCompilationOptions.Compile)]
|
[XamlCompilation(XamlCompilationOptions.Compile)]
|
||||||
public partial class ItemsPage : ContentPage
|
public partial class ItemsPage : ContentPage
|
||||||
|
|
|
||||||
|
|
@ -3,9 +3,11 @@
|
||||||
xmlns="http://xamarin.com/schemas/2014/forms"
|
xmlns="http://xamarin.com/schemas/2014/forms"
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||||
xmlns:views="clr-namespace:AideDeJeu.Views"
|
xmlns:views="clr-namespace:AideDeJeu.Views"
|
||||||
|
xmlns:libviews="clr-namespace:AideDeJeu.Views.Library"
|
||||||
|
xmlns:pcviews="clr-namespace:AideDeJeu.Views.PlayerCharacter"
|
||||||
xmlns:windows="clr-namespace:Xamarin.Forms.PlatformConfiguration.WindowsSpecific;assembly=Xamarin.Forms.Core"
|
xmlns:windows="clr-namespace:Xamarin.Forms.PlatformConfiguration.WindowsSpecific;assembly=Xamarin.Forms.Core"
|
||||||
xmlns:android="clr-namespace:Xamarin.Forms.PlatformConfiguration.AndroidSpecific;assembly=Xamarin.Forms.Core"
|
xmlns:android="clr-namespace:Xamarin.Forms.PlatformConfiguration.AndroidSpecific;assembly=Xamarin.Forms.Core"
|
||||||
x:Class="AideDeJeu.Views.MainTabbedPage"
|
x:Class="AideDeJeu.Views.Library.MainTabbedPage"
|
||||||
Padding="0"
|
Padding="0"
|
||||||
IsEnabled="{Binding Main.IsEnabled}"
|
IsEnabled="{Binding Main.IsEnabled}"
|
||||||
SelectedTabColor="{StaticResource HDRed}"
|
SelectedTabColor="{StaticResource HDRed}"
|
||||||
|
|
@ -21,21 +23,21 @@
|
||||||
</x:Arguments>
|
</x:Arguments>
|
||||||
</Size>
|
</Size>
|
||||||
</windows:TabbedPage.HeaderIconsSize>
|
</windows:TabbedPage.HeaderIconsSize>
|
||||||
<views:ItemDetailPage x:Name="NavigationPage" Title="Bibliothèque" Icon="spell_book.png">
|
<libviews:ItemDetailPage x:Name="NavigationPage" Title="Bibliothèque" Icon="spell_book.png">
|
||||||
<!--<x:Arguments>
|
<!--<x:Arguments>
|
||||||
<views:ItemDetailPage />
|
<views:ItemDetailPage />
|
||||||
</x:Arguments>-->
|
</x:Arguments>-->
|
||||||
</views:ItemDetailPage>
|
</libviews:ItemDetailPage>
|
||||||
<views:BookmarksPage Title="Favoris" Icon="stars_stack.png">
|
<libviews:BookmarksPage Title="Favoris" Icon="stars_stack.png">
|
||||||
<!--<x:Arguments>
|
<!--<x:Arguments>
|
||||||
<views:BookmarksPage />
|
<views:BookmarksPage />
|
||||||
</x:Arguments>-->
|
</x:Arguments>-->
|
||||||
</views:BookmarksPage>
|
</libviews:BookmarksPage>
|
||||||
<views:DeepSearchPage Title="Recherche" Icon="crystal_ball.png">
|
<libviews:DeepSearchPage Title="Recherche" Icon="crystal_ball.png">
|
||||||
<!--<x:Arguments>
|
<!--<x:Arguments>
|
||||||
<views:DeepSearchPage />
|
<views:DeepSearchPage />
|
||||||
</x:Arguments>-->
|
</x:Arguments>-->
|
||||||
</views:DeepSearchPage>
|
</libviews:DeepSearchPage>
|
||||||
<!--<views:AboutPage Title="À propos de..." Icon="wooden_sign.png">
|
<!--<views:AboutPage Title="À propos de..." Icon="wooden_sign.png">
|
||||||
</views:AboutPage>-->
|
</views:AboutPage>-->
|
||||||
</TabbedPage>
|
</TabbedPage>
|
||||||
|
|
@ -8,7 +8,7 @@ using System.Threading.Tasks;
|
||||||
using Xamarin.Forms;
|
using Xamarin.Forms;
|
||||||
using Xamarin.Forms.Xaml;
|
using Xamarin.Forms.Xaml;
|
||||||
|
|
||||||
namespace AideDeJeu.Views
|
namespace AideDeJeu.Views.Library
|
||||||
{
|
{
|
||||||
[XamlCompilation(XamlCompilationOptions.Compile)]
|
[XamlCompilation(XamlCompilationOptions.Compile)]
|
||||||
public partial class MainTabbedPage : TabbedPage
|
public partial class MainTabbedPage : TabbedPage
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
<TabbedPage
|
<TabbedPage
|
||||||
xmlns="http://xamarin.com/schemas/2014/forms"
|
xmlns="http://xamarin.com/schemas/2014/forms"
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||||
x:Class="AideDeJeu.Views.PlayerCharacterEditorPage"
|
x:Class="AideDeJeu.Views.PlayerCharacter.PlayerCharacterEditorPage"
|
||||||
xmlns:windows="clr-namespace:Xamarin.Forms.PlatformConfiguration.WindowsSpecific;assembly=Xamarin.Forms.Core"
|
xmlns:windows="clr-namespace:Xamarin.Forms.PlatformConfiguration.WindowsSpecific;assembly=Xamarin.Forms.Core"
|
||||||
xmlns:android="clr-namespace:Xamarin.Forms.PlatformConfiguration.AndroidSpecific;assembly=Xamarin.Forms.Core"
|
xmlns:android="clr-namespace:Xamarin.Forms.PlatformConfiguration.AndroidSpecific;assembly=Xamarin.Forms.Core"
|
||||||
xmlns:tools="clr-namespace:AideDeJeu.Tools"
|
xmlns:tools="clr-namespace:AideDeJeu.Tools"
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@ using System.Threading.Tasks;
|
||||||
using Xamarin.Forms;
|
using Xamarin.Forms;
|
||||||
using Xamarin.Forms.Xaml;
|
using Xamarin.Forms.Xaml;
|
||||||
|
|
||||||
namespace AideDeJeu.Views
|
namespace AideDeJeu.Views.PlayerCharacter
|
||||||
{
|
{
|
||||||
[XamlCompilation(XamlCompilationOptions.Compile)]
|
[XamlCompilation(XamlCompilationOptions.Compile)]
|
||||||
public partial class PlayerCharacterEditorPage : TabbedPage
|
public partial class PlayerCharacterEditorPage : TabbedPage
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue