If I did this right:
I created a branch JohnsWork
I pushed one commit containing phase 1 of changes to add preferences for the behavior of the magnifier in the CP dialog.
In the preferences for the CP dialog, there are three new entries, all in a section named magnifier. The first two were already hidden preferences (edit in ~/.hugin for linux or in registry for windows). The third is new.
Half width: Default 30: This controls the width in pixels of of the magnifier. The actual width (and the value stored in ~/.hugin) is 2N+1 of the value given in the preferences GUI.
Scale: Default 3.0: This is the zoom level inside the magnifier square. So 3.0 means 3 pixels of screen for each pixel of image.
Relative Scale: Default 0: This controls the behavior of the magnifier for higher levels of zoom of the image itself. Most of its meaning doesn't become useful until the 400% and 800% zoom levels of the image are available (which I'm using but did not push to sourceforge).
Values:
< 1.0 means keep the old behavior (from before I added this preference item) primarily not displaying the magnifier for zoom level 200% or greater.
1.0 means disable the magnifier when it would not be more zoom than the image zoom.
> 1.0 sets the min magnification of the magnifier as a multiple of the image zoom: example, if the scale is 3.0 and the Relative Scale is 2.0, the actual magnification would be 3.0 for zoom 100% or less and would be double the zoom for zoom of 200% or more.
I'm still planning to make the changes I described earlier including a preference to change the hiding rules for the magnifier. But I decided an even smaller first commit was appropriate, in case I'm doing something fundamentally wrong.
Please provide some feedback:
Did I do the push correctly?
Does my branch build for you?
Does this new feature work for you?
Whatever else you might consider wrong?
How do I get the visible text I added into whatever queue exists for text that hasn't been translated yet?