Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Corentin MIMEAU
PolyDefense
Commits
de34cb14
Commit
de34cb14
authored
Dec 13, 2015
by
Vincent BRULE
Browse files
maj
parent
a69a8232
Changes
1
Show whitespace changes
Inline
Side-by-side
main.py
View file @
de34cb14
...
@@ -20,8 +20,6 @@ Constante.hauteur = info.current_h # Récupère la hauteur de l'écran
...
@@ -20,8 +20,6 @@ Constante.hauteur = info.current_h # Récupère la hauteur de l'écran
Constante
.
ratio
=
float
(
Constante
.
largeur
)
/
float
(
Constante
.
hauteur
)
Constante
.
ratio
=
float
(
Constante
.
largeur
)
/
float
(
Constante
.
hauteur
)
Constante
.
taille_rel
=
Constante
.
taille_tuile
*
Constante
.
largeur
/
Constante
.
largeur_ref
Constante
.
taille_rel
=
Constante
.
taille_tuile
*
Constante
.
largeur
/
Constante
.
largeur_ref
font
.
init
()
#Initialise la police
font
.
init
()
#Initialise la police
Constante
.
type_ecriture
=
font
.
SysFont
(
'Bauhaus 93'
,
50
*
Constante
.
largeur
/
Constante
.
largeur_ref
)
# Définition d'une police d'écriture
Constante
.
type_ecriture
=
font
.
SysFont
(
'Bauhaus 93'
,
50
*
Constante
.
largeur
/
Constante
.
largeur_ref
)
# Définition d'une police d'écriture
Constante
.
type_ecriture_titre
=
font
.
SysFont
(
'Bauhaus 93'
,
50
*
Constante
.
largeur
/
Constante
.
largeur_ref
,
False
,
True
)
Constante
.
type_ecriture_titre
=
font
.
SysFont
(
'Bauhaus 93'
,
50
*
Constante
.
largeur
/
Constante
.
largeur_ref
,
False
,
True
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment