Update of /cvsroot/freevo/freevo/src/gui In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25819
Modified Files: Button.py Log Message: only draw border when needed Index: Button.py =================================================================== RCS file: /cvsroot/freevo/freevo/src/gui/Button.py,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** Button.py 18 Feb 2004 21:52:04 -0000 1.18 --- Button.py 21 Feb 2004 19:37:01 -0000 1.19 *************** *** 10,13 **** --- 10,16 ---- # ----------------------------------------------------------------------- # $Log$ + # Revision 1.19 2004/02/21 19:37:01 dischi + # only draw border when needed + # # Revision 1.18 2004/02/18 21:52:04 dischi # Major GUI update: *************** *** 149,155 **** self.surface = self.get_surface() ! self.osd.drawroundbox(0, 0, self.width, self.height, ! rect.bgcolor, rect.size, rect.color, ! rect.radius, self.surface) Container._draw(self) --- 152,163 ---- self.surface = self.get_surface() ! if not self.border: ! self.osd.drawroundbox(0, 0, self.width, self.height, ! rect.bgcolor, rect.size, rect.color, ! rect.radius, self.surface) ! else: ! self.osd.drawroundbox(0, 0, self.width, self.height, ! rect.bgcolor, 0, rect.color, ! 0, self.surface) Container._draw(self) ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ Freevo-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-cvslog