X-Git-Url: https://scm.cri.ensmp.fr/git/minwii.git/blobdiff_plain/a5fce1a57c3a50012db8d914b4d36851e048ad67..d8f1a6a8411ce90fe864182e9077827a80d5bf08:/src/app/widgets/playingscreen.py diff --git a/src/app/widgets/playingscreen.py b/src/app/widgets/playingscreen.py index 9558770..f881433 100755 --- a/src/app/widgets/playingscreen.py +++ b/src/app/widgets/playingscreen.py @@ -13,16 +13,15 @@ from cursors import WarpingCursor from eventutils import event_handler, EventDispatcher, EventHandlerMixin from math import floor 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) :