mirror of
				https://github.com/Nioux/AideDeJeu.git
				synced 2025-10-31 07:26:09 +00:00 
			
		
		
		
	Début refonte background + ajout greetings
This commit is contained in:
		
							parent
							
								
									605b7b5338
								
							
						
					
					
						commit
						3e0b3ca36b
					
				
					 4 changed files with 70 additions and 2 deletions
				
			
		|  | @ -0,0 +1,16 @@ | ||||||
|  | using AideDeJeuLib; | ||||||
|  | using System; | ||||||
|  | using System.Collections.Generic; | ||||||
|  | using System.Text; | ||||||
|  | 
 | ||||||
|  | namespace AideDeJeu.ViewModels.PlayerCharacter | ||||||
|  | { | ||||||
|  |     public class BackgroundViewModel : BaseViewModel | ||||||
|  |     { | ||||||
|  |         private BackgroundItem _Background = null; | ||||||
|  |         public BackgroundItem Background { get { return _Background; } set { SetProperty(ref _Background, value); } } | ||||||
|  | 
 | ||||||
|  |         private SubBackgroundItem _SubBackground = null; | ||||||
|  |         public SubBackgroundItem SubBackground { get { return _SubBackground; } set { SetProperty(ref _SubBackground, value); } } | ||||||
|  |     } | ||||||
|  | } | ||||||
|  | @ -44,6 +44,19 @@ namespace AideDeJeu.ViewModels.PlayerCharacter | ||||||
|                 _Class.LoadDetailsAsync().ConfigureAwait(true); |                 _Class.LoadDetailsAsync().ConfigureAwait(true); | ||||||
|             } |             } | ||||||
|         } |         } | ||||||
|  |         //private BackgroundViewModel _Background = null; | ||||||
|  |         //public BackgroundViewModel Background | ||||||
|  |         //{ | ||||||
|  |         //    get | ||||||
|  |         //    { | ||||||
|  |         //        return _Background; | ||||||
|  |         //    } | ||||||
|  |         //    set | ||||||
|  |         //    { | ||||||
|  |         //        SetProperty(ref _Background, value); | ||||||
|  |         //        _Background.LoadDetailsAsync().ConfigureAwait(true); | ||||||
|  |         //    } | ||||||
|  |         //} | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -9,8 +9,11 @@ namespace AideDeJeu.ViewModels.PlayerCharacter | ||||||
| { | { | ||||||
|     public class RaceViewModel : BaseViewModel |     public class RaceViewModel : BaseViewModel | ||||||
|     { |     { | ||||||
|         public RaceItem Race { get; set; } |         private RaceItem _Race = null; | ||||||
|         public SubRaceItem SubRace { get; set; } |         public RaceItem Race { get { return _Race; } set { SetProperty(ref _Race, value); } } | ||||||
|  | 
 | ||||||
|  |         private SubRaceItem _SubRace = null; | ||||||
|  |         public SubRaceItem SubRace { get { return _SubRace; } set { SetProperty(ref _SubRace, value); } } | ||||||
| 
 | 
 | ||||||
|         private RaceItem RaceOrSubRace { get { return SubRace ?? Race; } } |         private RaceItem RaceOrSubRace { get { return SubRace ?? Race; } } | ||||||
|         public string Name { get { return RaceOrSubRace.Name; } } |         public string Name { get { return RaceOrSubRace.Name; } } | ||||||
|  |  | ||||||
|  | @ -70,6 +70,42 @@ | ||||||
|                     </Label.GestureRecognizers> |                     </Label.GestureRecognizers> | ||||||
|                 </Label> |                 </Label> | ||||||
| 
 | 
 | ||||||
|  |                 <Label> | ||||||
|  |                     <Label.FormattedText> | ||||||
|  |                         <FormattedString> | ||||||
|  |                             <Span Text="La génération des caractéristiques utilise la " /> | ||||||
|  |                             <Span Text="méthode MRick" FontAttributes="Bold" /> | ||||||
|  |                         </FormattedString> | ||||||
|  |                     </Label.FormattedText> | ||||||
|  |                     <Label.GestureRecognizers> | ||||||
|  |                         <TapGestureRecognizer Command="{Binding OpenWebCommand}" CommandParameter="https://www.black-book-editions.fr/forums.php?topic_id=5626" /> | ||||||
|  |                     </Label.GestureRecognizers> | ||||||
|  |                 </Label> | ||||||
|  | 
 | ||||||
|  |                 <Label> | ||||||
|  |                     <Label.FormattedText> | ||||||
|  |                         <FormattedString> | ||||||
|  |                             <Span Text="La feuille de personnages en couleur a été créée par " /> | ||||||
|  |                             <Span Text="GhorGhor Blue et DarKDinDoN" FontAttributes="Bold" /> | ||||||
|  |                         </FormattedString> | ||||||
|  |                     </Label.FormattedText> | ||||||
|  |                     <Label.GestureRecognizers> | ||||||
|  |                         <TapGestureRecognizer Command="{Binding OpenWebCommand}" CommandParameter="https://www.black-book-editions.fr/forums.php?topic_id=12619" /> | ||||||
|  |                     </Label.GestureRecognizers> | ||||||
|  |                 </Label> | ||||||
|  | 
 | ||||||
|  |                 <Label> | ||||||
|  |                     <Label.FormattedText> | ||||||
|  |                         <FormattedString> | ||||||
|  |                             <Span Text="La feuille de personnages en noir et blanc a été créée par " /> | ||||||
|  |                             <Span Text="Kryssprollz" FontAttributes="Bold" /> | ||||||
|  |                         </FormattedString> | ||||||
|  |                     </Label.FormattedText> | ||||||
|  |                     <Label.GestureRecognizers> | ||||||
|  |                         <TapGestureRecognizer Command="{Binding OpenWebCommand}" CommandParameter="https://www.black-book-editions.fr/forums.php?topic_id=7400&tid=304699#msg304699" /> | ||||||
|  |                     </Label.GestureRecognizers> | ||||||
|  |                 </Label> | ||||||
|  | 
 | ||||||
|                 <Label> |                 <Label> | ||||||
|                     <Label.FormattedText> |                     <Label.FormattedText> | ||||||
|                         <FormattedString> |                         <FormattedString> | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Yan Maniez
						Yan Maniez