projects
/
minwii.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
qq préparatif avant de rentrer dans le vif du sujet : jouer les chansons dans les...
[minwii.git]
/
src
/
app
/
config.py
1
"""
2
constantes de configuration
3
4
$Id$
5
$URL$
6
"""
7
8
import
pygame
9
pygame
.
font
.
init
()
10
11
# playingscreen
12
FRAMERATE
=
50
13
BORDER
=
0
# 5px
14
FIRST_HUE
=
0.6
15
OFF_LUMINANCE
=
0.2
16
OFF_SATURATION
=
1
17
ON_TOP_LUMINANCE
=
0.6
18
ON_BOTTOM_LUMINANCE
=
0.9
19
ON_SATURATION
=
1
20
ON_COLUMN_OVERSIZING
=
2
21
ON_COLUMN_ALPHA
=
1
22
FONT
=
pygame
.
font
.
Font
(
None
,
80
)
23
FONT_COLOR
= (
0
,
0
,
0
)
24
DEFAULT_MIDI_VELOCITY
=
96