To summarize my contribution to this thread so far, I think it is
important that interactivity should work consistently between all our
interactive devices following what is done for the xwin device, and I
have also proved we are very far from that goal now to the point that
all interactive devices other than xwin that I have tried do not work
correctly for the -xor mode of example 1, example 20, or many of the
special interactive "p" examples that are available for octave.

But my further thought today is it is going to take a lot of work for
each interactive device developer to figure out the xwin interactive
paradigm and mimic it for their own device so why not instead move the
mouse button, keystroke, and crosshairs part of the xwin logic to a
central function residing in libplplot instead that can be used by
every interactive device?  That central function would use code
directly from xwin.c for the X case or the equivalent Windows-based 
code for the Windows case starting with what Arjen has currently
implemented in wingcc.c.

This centralized approach automatically satisfies the above
consistency goal and should be a lot less effort than every developer
of an interactive device driver having to deal with this issue.

Anyhow, I hope this idea inspires a volunteer here to delve deeply
into the xwin code and equivalent wingcc.c code to see what would be
required to centralize interactive handling of mouse button events,
keystroke events, and crosshairs, and then implement that to give us
consistent rich interactivity capabilities for all our X-based and
Windows-based interactive devices.

Alan
__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state
implementation for stellar interiors (freeeos.sf.net); the Time
Ephemerides project (timeephem.sf.net); PLplot scientific plotting
software package (plplot.sf.net); the libLASi project
(unifont.org/lasi); the Loads of Linux Links project (loll.sf.net);
and the Linux Brochure Project (lbproject.sf.net).
__________________________

Linux-powered Science
__________________________

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to