Everything bloody works !! Deleted the tiles png files now that we don't need them
continuous-integration/drone/push Build is passing Details

test_old_branch
Jules LASCRET 11 months ago
parent b8565d384a
commit a6746b66d8

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

@ -17,6 +17,94 @@
</ContentView.Resources> </ContentView.Resources>
<Grid> <Grid>
<!-- Étoile / Star -->
<Grid
IsVisible="{Binding Shape, Source={x:Reference Root}, Converter={StaticResource StarToVisibilityConverter}}">
<Ellipse HeightRequest="10"
WidthRequest="50"
Fill="{Binding Color, Source={x:Reference Root}, Converter={StaticResource Int2ColorConverter}}"
Grid.Row="0"
Grid.Column="0" />
<Ellipse HeightRequest="10"
WidthRequest="50"
Rotation="45"
Fill="{Binding Color, Source={x:Reference Root}, Converter={StaticResource Int2ColorConverter}}"
Grid.Row="0"
Grid.Column="0"/>
<Ellipse HeightRequest="10"
WidthRequest="50"
Rotation="90"
Fill="{Binding Color, Source={x:Reference Root}, Converter={StaticResource Int2ColorConverter}}"
Grid.Row="0"
Grid.Column="0" />
<Ellipse HeightRequest="10"
WidthRequest="50"
Rotation="135"
Fill="{Binding Color, Source={x:Reference Root}, Converter={StaticResource Int2ColorConverter}}"
Grid.Row="0"
Grid.Column="0" />
</Grid>
<!-- Shuriken -->
<Grid
IsVisible="{Binding Shape, Source={x:Reference Root}, Converter={StaticResource ShurikenToVisibilityConverter}}">
<Ellipse HeightRequest="10"
WidthRequest="50"
Fill="{Binding Color, Source={x:Reference Root}, Converter={StaticResource Int2ColorConverter}}"
Grid.Row="0"
Grid.Column="0" />
<Ellipse HeightRequest="10"
WidthRequest="50"
Rotation="90"
Fill="{Binding Color, Source={x:Reference Root}, Converter={StaticResource Int2ColorConverter}}"
Grid.Row="0"
Grid.Column="0" />
</Grid>
<!-- Trèfle / Club -->
<Grid
RowDefinitions="60"
ColumnDefinitions="60"
Padding="5, 5, 0, 0"
IsVisible="{Binding Shape, Source={x:Reference Root}, Converter={StaticResource ClubToVisibilityConverter}}">
<Ellipse HeightRequest="26"
WidthRequest="26"
Fill="{Binding Color, Source={x:Reference Root}, Converter={StaticResource Int2ColorConverter}}"
HorizontalOptions="Start"
VerticalOptions="Center"
Grid.Column="0"
Grid.Row="0"/>
<Ellipse HeightRequest="26"
WidthRequest="26"
Fill="{Binding Color, Source={x:Reference Root}, Converter={StaticResource Int2ColorConverter}}"
HorizontalOptions="End"
VerticalOptions="Center"
Grid.Column="0"
Grid.Row="0" />
<Ellipse HeightRequest="26"
WidthRequest="26"
Fill="{Binding Color, Source={x:Reference Root}, Converter={StaticResource Int2ColorConverter}}"
VerticalOptions="End"
HorizontalOptions="Center"
Grid.Column="0"
Grid.Row="0" />
<Ellipse HeightRequest="26"
WidthRequest="26"
Fill="{Binding Color, Source={x:Reference Root}, Converter={StaticResource Int2ColorConverter}}"
VerticalOptions="Start"
HorizontalOptions="Center"
Grid.Column="0"
Grid.Row="0"/>
<Rectangle HeightRequest="20"
WidthRequest="20"
StrokeThickness="0"
VerticalOptions="Center"
HorizontalOptions="Center"
Grid.Column="0"
Grid.Row="0"
Fill="{Binding Color, Source={x:Reference Root}, Converter={StaticResource Int2ColorConverter}}" />
</Grid>
<Rectangle HeightRequest="70" <Rectangle HeightRequest="70"
Grid.Row="0" Grid.Row="0"
Grid.Column="0" Grid.Column="0"
@ -25,7 +113,6 @@
HorizontalOptions="Center" HorizontalOptions="Center"
BackgroundColor="Transparent"/> BackgroundColor="Transparent"/>
<!--Rond / round--> <!--Rond / round-->
<Ellipse HeightRequest="50" <Ellipse HeightRequest="50"
WidthRequest="50" WidthRequest="50"
@ -39,6 +126,7 @@
Grid.Row="0" Grid.Row="0"
Grid.Column="0" Grid.Column="0"
Rotation="45" Rotation="45"
StrokeThickness="0"
WidthRequest="35" WidthRequest="35"
VerticalOptions="Center" VerticalOptions="Center"
HorizontalOptions="Center" HorizontalOptions="Center"
@ -50,44 +138,11 @@
Grid.Row="0" Grid.Row="0"
Grid.Column="0" Grid.Column="0"
WidthRequest="40" WidthRequest="40"
StrokeThickness="0"
VerticalOptions="Center" VerticalOptions="Center"
HorizontalOptions="Center" HorizontalOptions="Center"
Fill="{Binding Color, Source={x:Reference Root}, Converter={StaticResource Int2ColorConverter}}" Fill="{Binding Color, Source={x:Reference Root}, Converter={StaticResource Int2ColorConverter}}"
IsVisible="{Binding Shape, Source={x:Reference Root}, Converter={StaticResource SquareToVisibilityConverter}}" /> IsVisible="{Binding Shape, Source={x:Reference Root}, Converter={StaticResource SquareToVisibilityConverter}}" />
<!--Trefle / Club-->
<Image Source="club.png"
Grid.Row="0"
Grid.Column="0"
WidthRequest="100"
HeightRequest="100"
IsVisible="{Binding Shape, Source={x:Reference Root}, Converter={StaticResource ClubToVisibilityConverter}}">
<Image.Behaviors>
<toolkit:IconTintColorBehavior TintColor="{Binding Color, Source={x:Reference Root}, Converter={StaticResource Int2ColorConverter}}"/>
</Image.Behaviors>
</Image>
<Image Source="shuriken.png"
Grid.Row="0"
Grid.Column="0"
WidthRequest="60"
HeightRequest="60"
IsVisible="{Binding Shape, Source={x:Reference Root}, Converter={StaticResource ShurikenToVisibilityConverter}}">
<Image.Behaviors>
<toolkit:IconTintColorBehavior TintColor="{Binding Color, Source={x:Reference Root}, Converter={StaticResource Int2ColorConverter}}"/>
</Image.Behaviors>
</Image>
<Image Source="star.png"
Grid.Row="0"
Grid.Column="0"
WidthRequest="60"
HeightRequest="60"
IsVisible="{Binding Shape, Source={x:Reference Root}, Converter={StaticResource StarToVisibilityConverter}}">
<Image.Behaviors>
<toolkit:IconTintColorBehavior TintColor="{Binding Color, Source={x:Reference Root}, Converter={StaticResource Int2ColorConverter}}"/>
</Image.Behaviors>
</Image>
</Grid> </Grid>
</ContentView> </ContentView>
Loading…
Cancel
Save