You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

150 lines
5.5 KiB

<?xml version="1.0" encoding="utf-8"?>
<ContentPage BackgroundColor="{DynamicResource BlackColor}"
xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:d="http://xamarin.com/schemas/2014/forms/design"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:skia="clr-namespace:SkiaSharp.Views.Forms;assembly=SkiaSharp.Views.Forms"
xmlns:tt="clr-namespace:TouchTracking.Forms;assembly=TouchTracking.Forms"
mc:Ignorable="d"
x:Class="TheGameExtreme.view.MainPage">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="*"></RowDefinition>
<RowDefinition Height="*"></RowDefinition>
<RowDefinition Height="*"></RowDefinition>
</Grid.RowDefinitions>
<Grid.Effects>
<tt:TouchEffect
Capture="True"
TouchAction="OnTouchEffectAction" />
</Grid.Effects>
<Label
x:Name="pseudo"
Text="Pseudo"
HorizontalTextAlignment="Center"
VerticalTextAlignment="Start"
TextColor="{DynamicResource WhiteColor}"
Margin="30"
FontSize="28" Grid.Row="0"/>
<ImageButton
Source="HomeIcon.png"
HorizontalOptions="Start"
VerticalOptions="Start"
WidthRequest="45"
Margin="20,20,0,0"
HeightRequest="45"
BackgroundColor="{DynamicResource BlackColor}"
Grid.Row="0"
Clicked="PlayToHome"/>
<Button
Text="End Turn"
HorizontalOptions="End"
VerticalOptions="Start"
BackgroundColor="{DynamicResource SkyBlueColor}"
HeightRequest="35"
Margin="0,30,20,0"
Grid.Row="0"/>
<skia:SKCanvasView
x:Name="canvasView"
PaintSurface="OnCanvasViewPaintSurface"
Grid.Row="0"
Grid.RowSpan="3"/>
<!--<StackLayout>
<StackLayout
Orientation="Vertical">
<Label HorizontalTextAlignment="Center" x:Name="pile0" Text="1" />
<StackLayout
Orientation="Horizontal">
<CheckBox x:Name="checkbox0" CheckedChanged="radioButton" />
<Label VerticalTextAlignment="Center" Text="Pile Ascendante" />
</StackLayout>
</StackLayout>
<StackLayout
Orientation="Vertical">
<Label HorizontalTextAlignment="Center" x:Name="pile1" Text="1" />
<StackLayout
Orientation="Horizontal">
<CheckBox x:Name="checkbox1" CheckedChanged="radioButton" />
<Label VerticalTextAlignment="Center" Text="Pile Ascendante" />
</StackLayout>
</StackLayout>
<StackLayout
Orientation="Vertical">
<Label HorizontalTextAlignment="Center" x:Name="pile2" Text="100" />
<StackLayout
Orientation="Horizontal">
<CheckBox x:Name="checkbox2" CheckedChanged="radioButton" />
<Label VerticalTextAlignment="Center" Text="Pile Descendante" />
</StackLayout>
</StackLayout>
<StackLayout
Orientation="Vertical">
<Label HorizontalTextAlignment="Center" x:Name="pile3" Text="100" />
<StackLayout
Orientation="Horizontal">
<CheckBox x:Name="checkbox3" CheckedChanged="radioButton" />
<Label VerticalTextAlignment="Center" Text="Pile Descendante" />
</StackLayout>
</StackLayout>
<Label Text="Veuillez selectionner une carte à placer:" />
<ScrollView
Orientation="Horizontal"
Padding="0,5,0,5">
<StackLayout
Orientation="Horizontal"
x:Name="Hand">
<Button x:Name="card1" Clicked="played" />
<Button x:Name="card2" Clicked="played" />
<Button x:Name="card3" Clicked="played" />
<Button x:Name="card4" Clicked="played" />
<Button x:Name="card5" Clicked="played" />
<Button x:Name="card6" Clicked="played" />
<Button x:Name="card7" Clicked="played" />
</StackLayout>
</ScrollView>
<StackLayout
x:Name="botPanel"
Orientation="Vertical"
Margin="20">
<Label x:Name="Alert"/>
</StackLayout>
</StackLayout>-->
</Grid>
</ContentPage>