mirror of
				https://github.com/Nioux/AideDeJeu.git
				synced 2025-10-31 15:36:07 +00:00 
			
		
		
		
	Tests
This commit is contained in:
		
							parent
							
								
									893019a4d7
								
							
						
					
					
						commit
						9321fc4bc3
					
				
					 3 changed files with 49 additions and 1 deletions
				
			
		|  | @ -11,6 +11,14 @@ | ||||||
|             <tools:NullToFalseConverter x:Key="NullToFalseConverter" /> |             <tools:NullToFalseConverter x:Key="NullToFalseConverter" /> | ||||||
|         </ResourceDictionary> |         </ResourceDictionary> | ||||||
|     </StackLayout.Resources> |     </StackLayout.Resources> | ||||||
|  |     <StackLayout.Triggers> | ||||||
|  |         <DataTrigger TargetType="StackLayout" Binding="{Binding Source={x:Reference this}, Path=IsEnabled}" Value="False"> | ||||||
|  |             <Setter Property="Opacity" Value="0.5" /> | ||||||
|  |         </DataTrigger> | ||||||
|  |         <DataTrigger TargetType="StackLayout" Binding="{Binding Source={x:Reference this}, Path=IsEnabled}" Value="True"> | ||||||
|  |             <Setter Property="Opacity" Value="1" /> | ||||||
|  |         </DataTrigger> | ||||||
|  |     </StackLayout.Triggers> | ||||||
|     <Frame BorderColor="Black" Padding="2" Margin="10"> |     <Frame BorderColor="Black" Padding="2" Margin="10"> | ||||||
|         <Grid> |         <Grid> | ||||||
|             <Grid.ColumnDefinitions> |             <Grid.ColumnDefinitions> | ||||||
|  |  | ||||||
|  | @ -16,6 +16,12 @@ | ||||||
|                 width: 150; |                 width: 150; | ||||||
|                 height: 150; |                 height: 150; | ||||||
|             } |             } | ||||||
|  |             grid image { | ||||||
|  |                 background-color: transparent; | ||||||
|  |                 padding: 30; | ||||||
|  |                 width: 150; | ||||||
|  |                 height: 150; | ||||||
|  |             } | ||||||
|             grid label { |             grid label { | ||||||
|                 text-align: center; |                 text-align: center; | ||||||
|                 font-family: LinuxLibertineCapitalsBold; |                 font-family: LinuxLibertineCapitalsBold; | ||||||
|  | @ -38,23 +44,49 @@ | ||||||
|             <FlexLayout> |             <FlexLayout> | ||||||
|                 <Grid> |                 <Grid> | ||||||
|                     <Label Text="Personnages" /> |                     <Label Text="Personnages" /> | ||||||
|                     <ImageButton Source="battle_axe.png" Command="{Binding Main.Navigator.PlayerCharacterEditorCommand}"/> |                     <!--<Image Source="battle_axe.png" Parent="30" />--> | ||||||
|  |                     <ImageButton  | ||||||
|  |                         HorizontalOptions="Center" | ||||||
|  |                         VerticalOptions="CenterAndExpand" | ||||||
|  |                         Source="battle_axe.png"  | ||||||
|  |                         Command="{Binding Main.Navigator.PlayerCharacterEditorCommand}"/> | ||||||
|  | 
 | ||||||
|  |                     <!--<Grid.GestureRecognizers> | ||||||
|  |                         <ClickGestureRecognizer Command="{Binding Main.Navigator.PlayerCharacterEditorCommand}" /> | ||||||
|  |                         <TapGestureRecognizer Command="{Binding Main.Navigator.PlayerCharacterEditorCommand}" /> | ||||||
|  |                     </Grid.GestureRecognizers>--> | ||||||
|                 </Grid> |                 </Grid> | ||||||
|                 <Grid> |                 <Grid> | ||||||
|                     <Label Text="Bibliothèque" /> |                     <Label Text="Bibliothèque" /> | ||||||
|                     <ImageButton Source="spell_book.png" Command="{Binding Main.Navigator.LibraryCommand}" /> |                     <ImageButton Source="spell_book.png" Command="{Binding Main.Navigator.LibraryCommand}" /> | ||||||
|  |                     <Grid.GestureRecognizers> | ||||||
|  |                         <ClickGestureRecognizer Command="{Binding Main.Navigator.LibraryCommand}" /> | ||||||
|  |                         <TapGestureRecognizer Command="{Binding Main.Navigator.LibraryCommand}" /> | ||||||
|  |                     </Grid.GestureRecognizers> | ||||||
|                 </Grid> |                 </Grid> | ||||||
|                 <Grid> |                 <Grid> | ||||||
|                     <Label Text="Favoris" /> |                     <Label Text="Favoris" /> | ||||||
|                     <ImageButton Source="stars_stack.png" Command="{Binding Main.Navigator.BookmarksCommand}" /> |                     <ImageButton Source="stars_stack.png" Command="{Binding Main.Navigator.BookmarksCommand}" /> | ||||||
|  |                     <Grid.GestureRecognizers> | ||||||
|  |                         <ClickGestureRecognizer Command="{Binding Main.Navigator.BookmarksCommand}" /> | ||||||
|  |                         <TapGestureRecognizer Command="{Binding Main.Navigator.BookmarksCommand}" /> | ||||||
|  |                     </Grid.GestureRecognizers> | ||||||
|                 </Grid> |                 </Grid> | ||||||
|                 <Grid> |                 <Grid> | ||||||
|                     <Label Text="Recherche" /> |                     <Label Text="Recherche" /> | ||||||
|                     <ImageButton Source="crystal_ball.png" Command="{Binding Main.Navigator.DeepSearchCommand}" /> |                     <ImageButton Source="crystal_ball.png" Command="{Binding Main.Navigator.DeepSearchCommand}" /> | ||||||
|  |                     <Grid.GestureRecognizers> | ||||||
|  |                         <ClickGestureRecognizer Command="{Binding Main.Navigator.DeepSearchCommand}" /> | ||||||
|  |                         <TapGestureRecognizer Command="{Binding Main.Navigator.DeepSearchCommand}" /> | ||||||
|  |                     </Grid.GestureRecognizers> | ||||||
|                 </Grid> |                 </Grid> | ||||||
|                 <Grid> |                 <Grid> | ||||||
|                     <Label Text="A propos de..." /> |                     <Label Text="A propos de..." /> | ||||||
|                     <ImageButton Source="wooden_sign.png" Command="{Binding Main.Navigator.AboutCommand}" /> |                     <ImageButton Source="wooden_sign.png" Command="{Binding Main.Navigator.AboutCommand}" /> | ||||||
|  |                     <Grid.GestureRecognizers> | ||||||
|  |                         <ClickGestureRecognizer Command="{Binding Main.Navigator.AboutCommand}" /> | ||||||
|  |                         <TapGestureRecognizer Command="{Binding Main.Navigator.AboutCommand}" /> | ||||||
|  |                     </Grid.GestureRecognizers> | ||||||
|                 </Grid> |                 </Grid> | ||||||
|             </FlexLayout> |             </FlexLayout> | ||||||
|         </ScrollView> |         </ScrollView> | ||||||
|  |  | ||||||
|  | @ -11,6 +11,14 @@ | ||||||
|             <tools:NullToFalseConverter x:Key="NullToFalseConverter" /> |             <tools:NullToFalseConverter x:Key="NullToFalseConverter" /> | ||||||
|         </ResourceDictionary> |         </ResourceDictionary> | ||||||
|     </StackLayout.Resources> |     </StackLayout.Resources> | ||||||
|  |     <StackLayout.Triggers> | ||||||
|  |         <DataTrigger TargetType="StackLayout" Binding="{Binding Source={x:Reference this}, Path=IsEnabled}" Value="False"> | ||||||
|  |             <Setter Property="Opacity" Value="0.5" /> | ||||||
|  |         </DataTrigger> | ||||||
|  |         <DataTrigger TargetType="StackLayout" Binding="{Binding Source={x:Reference this}, Path=IsEnabled}" Value="True"> | ||||||
|  |             <Setter Property="Opacity" Value="1" /> | ||||||
|  |         </DataTrigger> | ||||||
|  |     </StackLayout.Triggers> | ||||||
|     <Frame BorderColor="Black" Padding="2" Margin="10"> |     <Frame BorderColor="Black" Padding="2" Margin="10"> | ||||||
|         <Grid> |         <Grid> | ||||||
|             <Grid.ColumnDefinitions> |             <Grid.ColumnDefinitions> | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Yan Maniez
						Yan Maniez