[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [pygame] UI: Window Borders
- To: pygame-users@xxxxxxxx
- Subject: Re: [pygame] UI: Window Borders
- From: "Simon Oberhammer" <simon.oberhammer@xxxxxxxxx>
- Date: Sat, 21 Apr 2007 13:05:26 +0200
- Delivered-to: archiver@seul.org
- Delivered-to: pygame-users-outgoing@seul.org
- Delivered-to: pygame-users@seul.org
- Delivery-date: Sat, 21 Apr 2007 07:05:38 -0400
- Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=YPFMCwjH2gDV2ccphzeeulN2nSlXCEa19Qm/fHIt6XcXqcp1JyQNFekFvVTM5/DwM+F0FkdjuKlIRSekEDzYqOm4x3HEpvHqUPWEUNE1LUn1nuQ7R/kNUFL/kQYH/dzMwkDwhjZvg+xIhz6JJzFaoNsvSUEbXqru9zKE0ty5Hdg=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=InipLJmHPGjLPmsD3G0JSr4BrXbadWHyiatyX8iBz1ciOlIZpJf1nViEbmqIxu7Ac/pPsM+SBMJ9uY+YqSCXe9XyHwL3wYAhiajuQ+q9+4Ae3tIfIDFbfLO2Hm+nvXatFz9l84aWqhvfmw9gSC6nGXzs7xe8IXQuvnbEyzD3lqY=
- In-reply-to: <46295245.1060109@xepher.net>
- References: <46295245.1060109@xepher.net>
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
Is there an obvious better way of handling window
borders?
I would restrict the window-size to be multiples of the GIFs size (32x8) - seems the easiest way :-)
That way you don't have to stretch or go the extra mile to draw the first y pixels of the last partly seen segment.