Modifications

Sauter à la navigation Sauter à la recherche
Ligne 4 : Ligne 4 :     
== Installation ==
 
== Installation ==
We're now going to improve the UI by introducing a widget framework [https://github.com/fictorial/pygameui PygameUI].  
+
Nous allons améliorer notre interface utilisateur en ajoutant le framework de widget [https://github.com/fictorial/pygameui PygameUI].
   −
Update your version of distribute:
+
Un peu de vocabulaire:
 +
* Widget: Widget certainement dérivé de gadget (''plus connu''). Est un composant d'interfae graphique (bouton, barre de défilement, zone de saisie, libellé) avec lequel il est possible d'interagir.
 +
* Framework: c'est un ensemble cohérent de composants logiciels qui sert de fondation aux développement de logiciel avancé. L'avantage d'un framework est de vous faire gagné beaucoup de temps puisque des développeurs se sont acharnés à réaliser une fondation (travail déjà fait) sur-laquelle vous pourrez bâtir (plus rapidement) vos propres éléments logiciels.
 +
 
 +
Faite une mise-à-jour de votre distribution:
    
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
Ligne 12 : Ligne 16 :  
</syntaxhighlight>
 
</syntaxhighlight>
   −
Install PygameUI:
+
Installer PygameUI:
    
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
 
sudo pip install pygameui
 
sudo pip install pygameui
 
</syntaxhighlight>
 
</syntaxhighlight>
 +
 +
{{traduction}}
    
PygameUI by default uses, IMO, a rather ugly font. If you want to change this you can simply copy a couple of True Type fonts into the pygameui resources directory.
 
PygameUI by default uses, IMO, a rather ugly font. If you want to change this you can simply copy a couple of True Type fonts into the pygameui resources directory.
29 918

modifications

Menu de navigation