Diagramme classe finale + Added a Diagramme folder + better style
continuous-integration/drone/push Build is failing Details

pull/37/head
Matheo HERSAN 2 years ago
parent 57c23dc9ff
commit 38f4d0c4e4

File diff suppressed because it is too large Load Diff

Before

Width:  |  Height:  |  Size: 148 KiB

After

Width:  |  Height:  |  Size: 148 KiB

Before

Width:  |  Height:  |  Size: 227 KiB

After

Width:  |  Height:  |  Size: 227 KiB

Before

Width:  |  Height:  |  Size: 91 KiB

After

Width:  |  Height:  |  Size: 91 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 112 KiB

Before

Width:  |  Height:  |  Size: 103 KiB

After

Width:  |  Height:  |  Size: 103 KiB

@ -1,13 +0,0 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MangaMap.DataBinding
{
public interface INotifyPropertyChanged
{
}
}

@ -128,4 +128,8 @@
</MauiXaml> </MauiXaml>
</ItemGroup> </ItemGroup>
<ItemGroup>
<Folder Include="DataBinding\" />
</ItemGroup>
</Project> </Project>

@ -6,7 +6,6 @@ using System.Linq;
using System.Runtime.CompilerServices; using System.Runtime.CompilerServices;
using System.Text; using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
using MangaMap.DataBinding;
using MangaMap.Stub; using MangaMap.Stub;
namespace MangaMap.Model namespace MangaMap.Model

@ -136,6 +136,7 @@ public partial class ficheAnime : ContentPage, INotifyPropertyChanged
ImageButton imageButton = new ImageButton ImageButton imageButton = new ImageButton
{ {
Source = "star_full.png", Source = "star_full.png",
BackgroundColor = Microsoft.Maui.Graphics.Color.FromHex("1E1E1E"),
WidthRequest = 50, WidthRequest = 50,
HeightRequest = 50, HeightRequest = 50,
AutomationId = i.ToString(), AutomationId = i.ToString(),
@ -208,12 +209,14 @@ public partial class ficheAnime : ContentPage, INotifyPropertyChanged
my_manager.UtilisateurActuel.notesNombres.Remove(AnimeModel.Nom, out x); my_manager.UtilisateurActuel.notesNombres.Remove(AnimeModel.Nom, out x);
x[0] = id + 1; x[0] = id + 1;
my_manager.UtilisateurActuel.notesNombres.Add(AnimeModel.Nom, x); my_manager.UtilisateurActuel.notesNombres.Add(AnimeModel.Nom, x);
BackgroundColor = Microsoft.Maui.Graphics.Color.FromHex("1E1E1E");
} }
else else
{ {
x.Add(id + 1); x.Add(id + 1);
x.Add(0); x.Add(0);
my_manager.UtilisateurActuel.notesNombres.Add(AnimeModel.Nom, x); my_manager.UtilisateurActuel.notesNombres.Add(AnimeModel.Nom, x);
//BackgroundColor = Microsoft.Maui.Graphics.Color.FromHex("1E1E1E");
} }
SetNote(); SetNote();

@ -36,7 +36,7 @@
BackgroundColor="{StaticResource Primary}" BackgroundColor="{StaticResource Primary}"
Clicked="AjouterListe"/> Clicked="AjouterListe"/>
<Entry x:Name="nombreEP" Placeholder="Nombre d'épisodes vu" Margin="10,10,10,10" HeightRequest="20" WidthRequest="180" PlaceholderColor="White"/> <Entry x:Name="nombreEP" Placeholder="Nombre d'épisodes vu" Margin="10,10,10,10" HeightRequest="20" WidthRequest="180" PlaceholderColor="White" TextColor="White"/>
<Label Text="{Binding AnimeModel.NbEpisodes, StringFormat='/ {0}'}" FontSize="Medium" VerticalOptions="Center"/> <Label Text="{Binding AnimeModel.NbEpisodes, StringFormat='/ {0}'}" FontSize="Medium" VerticalOptions="Center"/>
<ImageButton Source="ok.png" Margin="20,0,0,0" HeightRequest="20" Clicked="NbEpCheck"/> <ImageButton Source="ok.png" Margin="20,0,0,0" HeightRequest="20" Clicked="NbEpCheck"/>
</HorizontalStackLayout> </HorizontalStackLayout>

Loading…
Cancel
Save