Lionel wrote:

> Hi every body !
>
> I'm a piccolo fan for a few years. I have only coded a couple of
> projects with this framework but it really rocks. I'm glad piccolo2D
> is taking over !
>
> I'm facing a little issue ... maybe a bug ? ... concerning PScrollPane
> and the rendering quality during interaction.
> If you move the canvas around by just clicking on it (regular
> PPanEventHandler) then the rendering quality changes as the user is
> interacting... the final "high quality" rendering is properly set when
> the interaction stops.
>
> This behaviour does not happen with the scroll pane when the user
> interacts with the scroll bars... Can anyone point me in a direction
> where I could solve this ?
>
> If there are some modifications to be done to piccolo itself, I can
> try to do it and post my work back... (if I manage to do it
> properly ! :o)
>
> Thanx in advance for your tips !

There is a method setInteracting(boolean) on PComponent

http://www.piccolo2d.org/doc/piccolo2d.java/release-1.2.1/apidocs/edu/umd/cs/piccolo/PComponent.html#setInteracting(boolean)

Somewhere in PScrollPane we need to add calls to set interacting to
true on scrollbar mouse down and to set interacting to false on mouse
up.  Could you create a new issue at

http://code.google.com/p/piccolo2d/issues/list

for this?  Thanks,

   michael

--~--~---------~--~----~------------~-------~--~----~
Piccolo2D Developers Group: http://groups.google.com/group/piccolo2d-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to