From: Alan W. Irwin <email@example.com>
To: phil rosenberg <firstname.lastname@example.org>
Cc: "email@example.com" <firstname.lastname@example.org>
Sent: Friday, 31 August 2012, 16:14
Subject: Re: [Plplot-devel] Plplot-devel Digest, Vol 75, Issue 15
On 2012-08-31 04:35-0700 phil rosenberg wrote:
> When you talk about zooming, are you referring to zooming in on a page - simply scaling everything up and showing only a portion of it
> or are
you talking about changing the axes of a plot based on mouse clicks and keyboard input?
That could be done as well.
> I'd be interested in helping with the wxWidgets driver.
That would be much appreciated.
when I tried (after running "make x01c" and "make wxwidgets")
examples/c/x01c -dev wxwidgets -locate -drvopt backend=0
examples/c/x01c -dev wxwidgets -locate -drvopt backend=1
examples/c/x01c -dev wxwidgets -locate -drvopt backend=2
that device it turns out that the fundamental interactivity features
are available (although the agg backend does not identify the key
strokes for some reason, and the other backends that identify the
keystrokes fail to identify which mouse button was pushed). Of course,
this result is on Linux with X serving as the fundamental graphical
software library supporting wxwidgets, and I am not sure whether you
the same result on the Windows version of wxwidgets. If you
can get it to mostly work like I described, it would be a help if you
refined it so all three backends produced good identification results
including mouse button identification and distinguishing between press
and release (see below).
If you ever install GTK+, then using the xcairo device on the above
example produces (at least on Linux) the ideal result; _every_
keystroke and mouse button is identified both on press and release.
That latter feature is important since it allows the CLI to identify
drag and release events with any key where the user holds down the key
and only releases it when the cursor has been moved to a new position.
Other interactive devices on Linux are not that good with no release
identification (all of them other than xcairo), missing
identifications altogether (qtwidget), missing mouse button
(xwin), etc. So there is some work to do to bring them
all up to the level of xcairo, and your help with the part of that
work needed for wxwidgets would be much appreciated if Windows already
gives you access to the partial interactivity that shows up on Linux
for the 3 different versions of that device.
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).