Pages traduites Pages à traduire Pages en cours de traduction
A propos
 

Différences

Cette page vous donne les différences entre la révision choisie et la version actuelle de la page.

ags58 16/11/2008 00:55 ags58 03/05/2011 16:20 version actuelle
Ligne 2: Ligne 2:
---- ----
-=====GUI Label functions and properties===== +=====Fonctions et propriétés des étiquettes de GUI (Label)=====
- +
- \\  +
- +
- +
-----+
====Font property (label)==== ====Font property (label)====
- // (Formerly known as SetLabelFont, which is now obsolete) // \\ \\ + // (Anciennement SetLabelFont, désormais obsolète) // \\ \\
   
  FontType Label.Font;   FontType Label.Font;
-Gets/sets the font used to display the label's text. This is useful if you +Retourne/Détermine la police utilisée pour afficher le texte de l'étiquette
-have a standard SCI font for your English version, but want to change to +Ceci est utile si vous avez une police SCI standard pour la version anglaise
-a TTF font for foreign language versions.\\ \\  +mais que vous voulez changer pour une police TTF pour des versions dans d'autres 
-Example:+langues.\\ \\  
 +Exemple :
   
  if (IsTranslationAvailable()) {   if (IsTranslationAvailable()) {
-    lblStatus.Font = eFontForeign;+    lblStatuts.Font = eFontEtrangere;
  }   }
-will change label 'lblStatus' to use font "Foreign" if a game translation is in use.\\ \\  +changera la police utilisée par l'étiquette 'lblStatuts' pour la police "Etrangere" si une traduction est en cours d'utilisation.\\ \\  
- // See Also: //  [[ags53#IsTranslationAvailable|IsTranslationAvailable]], + // Voir aussi : //  [[ags53#IsTranslationAvailable|IsTranslationAvailable]], 
-[[ags58#Label.Text|Label.Text]], [[ags61#TextBox.Font|TextBox.Font]]\\ \\ +[[ags58#Text|Label.Text]], [[ags61#Font|TextBox.Font]]\\ \\
Ligne 32: Ligne 28:
====Text property (label)==== ====Text property (label)====
- // (Formerly known as SetLabelText, which is now obsolete) //  + // (Anciennement SetLabelText, désormais obsolète) // 
- // (Formerly known as Label.GetText, which is now obsolete) //  + // (Anciennement Label.GetText, désormais obsolète) // 
- // (Formerly known as Label.SetText, which is now obsolete) // \\ \\ + // (Anciennement Label.SetText, désormais obsolète) // \\ \\
   
  String Label.Text;   String Label.Text;
-Gets/sets the text displayed in the specified label. This allows you to change +Retourne/Définit le texte affiché dans l'étiquette spécifiée. Ceci vous permet de changer 
-the text during the game, for example to create a Lucasarts-style status line.\\ \\  +le texte pendant l'exécution du jeu, par exemple pour créer une ligne de statut à la Lucasarts.\\ \\  
-Example:+Exemple :
   
-  lblStatus.Text = Game.GetLocationName(mouse.x, mouse.y);+  lblStatuts.Text = Game.GetLocationName(mouse.x, mouse.y);
-will display the name of the location the cursor is over on label 'lblStatus'\\ \\  +affichera le nom de ce que le curseur survole dans l'étiquette 'lblStatuts'.\\ \\  
- // See Also: //  [[ags56#Button.NormalGraphic|Button.NormalGraphic]],+ // Voir aussi : //  [[ags56#Button.NormalGraphic|Button.NormalGraphic]],
[[ags56#Button.Text|Button.Text]], [[ags56#Button.Text|Button.Text]],
-[[ags58#Label.TextColor|Label.TextColor]], [[ags58#Label.Font|Label.Font]]\\ \\ +[[ags58#TextColor|Label.TextColor]], [[ags58#Font|Label.Font]]\\ \\
Ligne 56: Ligne 52:
====TextColor property (label)==== ====TextColor property (label)====
- // (Formerly known as SetLabelColor, which is now obsolete) // \\ \\ + // (Anciennement SetLabelColor, désormais obsolète) // \\ \\
   
  int Label.TextColor;   int Label.TextColor;
-Gets/sets the text colour used to display the label's text. \\ \\  +Retourne/Définit la couleur du texte utilisée pour afficher le texte de l'étiquette.\\ \\  
-Example:+Exemple :
   
-  lblStatus.TextColor = 14;+  lblStatuts.TextColor = 14;
-will change label 'lblStatus' to have yellow text.\\ \\  +rendra le texte de l'étiquette 'lblStatuts' jaune.\\ \\  
- // See Also: //  [[ags58#Label.Font|Label.Font]], [[ags58#Label.Text|Label.Text]]+ // Voir aussi : //  [[ags58#Font|Label.Font]], [[ags58#Text|Label.Text]]
-{{tag>anglais}}+{{tag>français}}
 
ags58.txt · Dernière modification: 03/05/2011 16:20 par kitai
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki