Merge pull request 'Próba scalenia branchy.' (#3) from branch2 into master
Reviewed-on: #3
This commit is contained in:
commit
d5d9b00331
5
main.py
5
main.py
@ -15,10 +15,13 @@ TRAKTOR_IKONA = pygame.transform.scale(pygame.image.load(os.path.join('Ikony', '
|
|||||||
|
|
||||||
|
|
||||||
def wyswietl_okno():
|
def wyswietl_okno():
|
||||||
OKNO.fill(BIALY)
|
OKNO.fill((150, 200, 150))
|
||||||
OKNO.blit(TEST1_IKONA,
|
OKNO.blit(TEST1_IKONA,
|
||||||
(SZEROKOSC_OKNA / 2 - TEST1_IKONA.get_width() / 2, WYSOKOSC_OKNA / 2 - TEST1_IKONA.get_height() / 2))
|
(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, (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()
|
pygame.display.update()
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user