summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
a72de39)
en-tête pour exécution directe de start.py
git-svn-id: https://svn.cri.ensmp.fr/svn/minwii/trunk@59
fe552daf-6dbe-4428-90eb-
1537e0879342
--- /dev/null
+"""
+constantes de configuration
+
+$Id$
+$URL$
+"""
+
+# playingscreen
+BORDER = 0 # 5px
+FIRST_HUE = 0.6
+OFF_LUMINANCE = 0.2
+OFF_SATURATION = 1
+ON_TOP_LUMINANCE = 0.6
+ON_BOTTOM_LUMINANCE = 0.9
+ON_SATURATION = 1
+ON_COLUMN_OVERSIZING = 1.75
from minwii import MinWii
pygame.init()
from minwii import MinWii
pygame.init()
- #modeResolution = (1024,768)
- modeResolution = (600,480)
+ modeResolution = (1024,768)
+ #modeResolution = (600,480)
window = pygame.display.set_mode(modeResolution)#, pygame.FULLSCREEN)
MinWii()
# from gui.PGUConfiguration import PGUConfiguration
window = pygame.display.set_mode(modeResolution)#, pygame.FULLSCREEN)
MinWii()
# from gui.PGUConfiguration import PGUConfiguration
import types
# TODO : positionner cette constance en fonction de la résolution d'affichage
# externaliser la conf.
import types
# TODO : positionner cette constance en fonction de la résolution d'affichage
# externaliser la conf.
-BORDER = 0 # 5px
-FIRST_HUE = 0.6
-OFF_LUMINANCE = 0.2
-OFF_SATURATION = 1
-ON_TOP_LUMINANCE = 0.6
-ON_BOTTOM_LUMINANCE = 0.9
-ON_SATURATION = 1
-ON_COLUMN_OVERSIZING = 1.75
+from config import BORDER
+from config import FIRST_HUE
+from config import OFF_LUMINANCE
+from config import OFF_SATURATION
+from config import ON_TOP_LUMINANCE
+from config import ON_BOTTOM_LUMINANCE
+from config import ON_SATURATION
+from config import ON_COLUMN_OVERSIZING
class _PlayingScreenBase(pygame.sprite.LayeredUpdates, EventHandlerMixin) :
class _PlayingScreenBase(pygame.sprite.LayeredUpdates, EventHandlerMixin) :