|
From: | Ben Abbott |
Subject: | Re: another sort of listener (was: GUI work) |
Date: | Tue, 25 Nov 2008 18:41:03 -0500 |
On Nov 25, 2008, at 5:51 PM, Michael Goffioul wrote:
Think for instance about 3D-rotating a plot: you want the rotation to followyour mouse seemlessly (without any delay). This rotation is typicallyperformed by changing View property and redrawing. If you want responsiveness, you'll do that in the GUI thread. Now, if there's a listener attached to Viewproperty, this has to be run in the octave thread.
I thought I put in a plug for some needed functionality that is less sexy, but more directly applicable to Octave.
Many of the figure/axes/text/etc properties are in need of "listeners" ... if that is the proper way to describe it.
When the "units", "fontunits", "paperunits" are changed the respective values should be translated from the old units to the new units. The values needing attention are "position", "outerposition", "tightinset", "papersize", "paperposition", "extent", "fontsize", etc.
I have been working on having the gnuplot backend respect these properties, and keep hoping someone working on the new backend will get around to this.
If anyone is inclined to work on this, I can share the partial m-file solution I've been working with.
Ben
[Prev in Thread] | Current Thread | [Next in Thread] |