On Thu, May 20, 2010 at 9:58 AM, Robert Osfield
<[email protected]> wrote:
> Hi Alex,
>
> I've reviewed your submission and had a think about the validity of
> assuming just one type of mouse interaction.  I don't believe the
> click left hand side takes you back, click right hand side is
> universally appropriate user interface.  At least the existing
> keyboard bindings are customizable and can be switched off, a fixed
> mouse hotspot isn't.

Would you prefer me to declare two rectangular default hotspots, and a
method for replacing them, like the keys have?

> For end user applications the mechanism that they might want for
> changing pdf pages will probably be very application specific so not
> something I'd want to integrate too tightly.

Anyone who has a specific UI in mind can easily derive from the
existing class and replace the method I incorporated.  However, it
might be simpler if the mouse interpretation is a function reference
that defaults to the existing half-and-half mapping, and we add a
setter method that allows the application to replace the default
handler?

> Rather a higher level
> widget that encompasses the PDF image/textured quad plus extra UI
> would be appropriate.  Or a custom even callback could be used to do
> the same.

For the use case I'm addressing, any solution that assumes a
non-generic textured quad would be irrelevant.

> Robert.
>
>
> On Wed, May 5, 2010 at 7:27 PM, Alex Perry <[email protected]> wrote:
>> Attached files purely add a mouse handler to the pdf plugin.  This
>> permits page changes using the mouse when keyboard input is
>> inconvenient (based on scene graph usage context).  Let me know if
>> .tgz would be more convenient than individual files.
>>
>> _______________________________________________
>> osg-submissions mailing list
>> [email protected]
>> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
>>
>>
> _______________________________________________
> osg-submissions mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
>
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to