From f09e43584fa049cbba743ef69cfdeeff048d2a93 Mon Sep 17 00:00:00 2001 From: Dominik Jagosz Date: Mon, 7 Mar 2022 20:51:55 +0100 Subject: [PATCH] =?UTF-8?q?Pr=C3=B3ba=20utworzenia=20innego=20brancha.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/main.py b/main.py index 23edd39..c8536ae 100644 --- a/main.py +++ b/main.py @@ -15,10 +15,13 @@ TRAKTOR_IKONA = pygame.transform.scale(pygame.image.load(os.path.join('Ikony', ' def wyswietl_okno(): - OKNO.fill(BIALY) + OKNO.fill((150, 200, 150)) OKNO.blit(TEST1_IKONA, (SZEROKOSC_OKNA / 2 - TEST1_IKONA.get_width() / 2, WYSOKOSC_OKNA / 2 - TEST1_IKONA.get_height() / 2)) OKNO.blit(TRAKTOR_IKONA, (0, 0)) + OKNO.blit(TRAKTOR_IKONA, (SZEROKOSC_OKNA - TRAKTOR_IKONA.get_width(), 0)) + OKNO.blit(TRAKTOR_IKONA, (SZEROKOSC_OKNA - TRAKTOR_IKONA.get_width(), WYSOKOSC_OKNA - TRAKTOR_IKONA.get_height())) + OKNO.blit(TRAKTOR_IKONA, (0, WYSOKOSC_OKNA - TRAKTOR_IKONA.get_height())) pygame.display.update()