From 0d9da8d56f9cc7bf61f37252abc15c4c18e0efd9 Mon Sep 17 00:00:00 2001 From: Sugaravel Date: Fri, 29 Mar 2024 11:02:33 +0100 Subject: [PATCH] Mogucnost da se promeni redosled prozora u zavisnosti sa kojim prozorom radimo trenutno --- ClassWindowMenager.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ClassWindowMenager.py b/ClassWindowMenager.py index 767d3bc..9d1692d 100644 --- a/ClassWindowMenager.py +++ b/ClassWindowMenager.py @@ -13,11 +13,14 @@ def draw(self,screen): prozor.draw(screen) def check_click(self,x,y): for i in range(len(self.prozori)-1,-1,-1): - print(i) if(x>=self.prozori[i].x and x<=self.prozori[i].x+self.prozori[i].width) and (y>self.prozori[i].y and y