From: da at ski.org (David Ascher)
Date: Fri, 23 Apr 1999 21:00:33 -0700 (PDT)
Subject: PyOpenGL -- Scrollbars?
In-Reply-To: <7fq8se$5ti$1@nnrp1.dejanews.com>
Message-ID: <Pine.LNX.3.96.990423205859.21567B-100000@mail.ski.org>
X-UID: 798                                                  

On Fri, 23 Apr 1999 mamcguire at my-dejanews.com wrote:

> Hi All..
> 
> New to OpenGL so please bear with me.  I'm trying to create an OpenGL port
> in my application to display images--only way to show more than 256 colors
> here on our SGIs.  I've been having some difficulties:
> 
> 1.) Any way to scroll via. scrollbars the OpenGL port? (like attaching
>     to a canvas but that didn't seem to do the trick)

No -- but you can find out from the scrollbars what the shift in
coordinates would be and adjust your drawing code in OpenGL to do the
appropriate thing.  

I will be posting code in the next PyOpenGL release which might do a lot
of what you need.  Keep an eye out for it. 

--david






