[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [pygame] How to add Zoom functionality?
- To: pygame-users@xxxxxxxx
- Subject: Re: [pygame] How to add Zoom functionality?
- From: altern <altern2@xxxxxxxxx>
- Date: Mon, 03 Mar 2008 11:53:01 +0100
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: pygame-users-outgoing@xxxxxxxx
- Delivered-to: pygame-users@xxxxxxxx
- Delivery-date: Mon, 03 Mar 2008 05:53:13 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; bh=csr0FViaEeLMo6ebu/gRlTyBMEZDoJQkgqf8x6PT1A8=; b=OMpxrbO7mWTxa5U4vcU9ORfU1TZmaxpc/evW0T3VBgnsP10gaqNoDxLczRNTSgmIEj4v+bHQf5Fwt6CZWAe7KRrKyCVdVB1sO7v445ps5zWn3zpPpxfvi+9dU/lqJ0+lXK7eCYg7hTGjlO7D3DaXsDKmeLAmsfeK5FOTo1WhC10=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=q7EB0enGPQ3jhG7mopwXEOhnQ2EPDyBW8uImodsh3oYXniHXgLuCUWt854b79ZffTpsxdTBH+BgwAy6fj31NJx/7ywL9EBX4t4oA2tllRV3zX9HGD91dxViADZ0zcAEJig6OEmWUPl8nZWRnU2ZstfkQDF1dHo4Jpp6C0L3rkFk=
- In-reply-to: <014001c87d0a$36625ca0$5fc513ac@xxxxxxxx>
- References: <014001c87d0a$36625ca0$5fc513ac@xxxxxxxx>
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
- User-agent: Thunderbird 2.0.0.12 (X11/20080213)
So you want a shape that increases size and when this shape is bigger
than the display area a scroll bar to appear in the window? I might be
wrong but that does not sound as easy as just setting the environment to
wx and making the shape bigger. There is some programming to be done in
the wxPython side to make that work, check the wxpython examples at the
wxpython website. I am not really sure how this could be done, but
probably not so trivial.
enrike
Sibtey Mehdi(e)k dio:
To add zoom in, I want to transform the size of the shape when we select
that shape and press “crl+I” key. If the size is increased the scroll
bar should be added that’s why I am using ‘wx’.
Ok, so you drew some shapes on the screen. You also want to put in zoom
in/out functionality.
How do you want them to be able to zoom in? What do you want to happen
when they zoom in? What is zooming in?
Hi All
I am using Mirra to draw some shapes on the screen and set the
environment "wx" to add the scrollbar. Does any one know how to add ZOOM
in and zoom out functionality?
Thanks.
gopal