|
From: sfeam (E. Merritt) <eam...@gm...> - 2011-08-01 15:28:33
|
On Monday, 01 August 2011, Mojca Miklavec wrote: > On Sat, Jul 30, 2011 at 19:03, sfeam (Ethan Merritt) wrote: > > On Saturday, 30 July 2011, Mojca Miklavec wrote: > >> Hello, > >> > >> The new gnuplot sources at least compile out of the box with wxt > >> (wxWidgets 2.9.2), > > > > To the best of my knowledge, no one has reported experience with > > gnuplot + wxWidgets 2.9 on any platform. Wouldn't it make more > > sense for you to test first with 2.8, which we know works on > > other platforms? > > After going through some pain, I managed to compile wxWidgets 2.8 and > link gnuplot against it. > > It seems to work fine apart from some minor (not too important) issues: > > - The window stays behind the terminal when plotting to it [shrug] I consider that a very desirable feature. But I believe you can configure it differently using ./configure --raise-console > (but on the > other hand that is almost the same in matlab); this is slightly > non-desirable and probably easy to fix if one knows what to fix. > > - wxt seems to be great in supporting a lot of mouse events (scroll > left & right, zoom in & out); would there be any chance to add left & > right scrolling and zoom in & out events based on "mouse gestures" > supported by apple? Apple's mouse supports scrolling left and right > and zooming in and out natively. These events would only have to > become synonyms with current shift+scroll up/down. If you can figure out what the event/keystroke/whatever the system sends when it sees these "gestures", then you can simply add them to the dispatch table in gpexecute.c and/or mouse.c > - After I play with zoom a bit, I'm unable to go back to original/auto > focus; also when I plot the next function, the zoom still stays at > some weird place where it was left at the first plot; I'm unable to > figure out how to get default scale. Type "u" for "unzoom" in the plot window? (not sure what you mean by "auto focus") Anyhow, I take it the bottom line is that wxWidgets 2.8 does work, but 2.9 does not? That would be consistent with the project web site, which strongly implies that code changes are necessary when switching from 2.8 to 2.9. Ethan |