From 14da21fe55fe951d06fdaa5900032fa0eabaea1f Mon Sep 17 00:00:00 2001 From: pin Date: Mon, 6 Sep 2010 11:20:12 +0000 Subject: [PATCH] =?utf8?q?Ajout=20du=20param=C3=A8tre=20SCREEN=5FRESOLUTIO?= =?utf8?q?N=20(par=20d=C3=A9faut=20=C3=A0=201024=20=C3=97=20768).?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit git-svn-id: https://svn.cri.ensmp.fr/svn/minwii/trunk@310 fe552daf-6dbe-4428-90eb-1537e0879342 --- src/minwii/config.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/minwii/config.py b/src/minwii/config.py index 6538f16..eada9b9 100755 --- a/src/minwii/config.py +++ b/src/minwii/config.py @@ -41,6 +41,7 @@ conf.set('playingscreen', 'MIDI_VELOCITY_RANGE', '(64, 127)') conf.set('playingscreen', 'MIDI_PAN_RANGE', '(32, 96)') conf.set('playingscreen', 'MIDI_VELOCITY_WRONG_NOTE_ATTN', '0.5') conf.set('playingscreen', 'IR_POSITION', 'ABOVE') +conf.set('playingscreen', 'SCREEN_RESOLUTION', '(1024, 768)') conf.add_section('locations') conf.set('locations', 'notes_font_file', _computePath('fonts/Arial Unicode.ttf')) @@ -65,6 +66,7 @@ MIDI_VELOCITY_RANGE = str2IntTuple(conf.get('playingscreen', 'MIDI_VELOCITY_RANG MIDI_PAN_RANGE = str2IntTuple(conf.get('playingscreen', 'MIDI_PAN_RANGE')) MIDI_VELOCITY_WRONG_NOTE_ATTN = conf.getfloat('playingscreen', 'MIDI_VELOCITY_WRONG_NOTE_ATTN') IR_POSITION = conf.get('playingscreen', 'IR_POSITION') +SCREEN_RESOLUTION = str2IntTuple(conf.get('playingscreen', 'SCREEN_RESOLUTION')) SONG_FILE_PATH = conf.get('locations', 'SONG_FILE_PATH') LOGS_DIR = conf.get('locations', 'LOGS_DIR') -- 2.20.1