[GRASS-dev] Thank you and a request on g.gui.mapswipe
kratochanna at gmail.com
Wed Dec 4 06:00:36 PST 2013
On Wed, Dec 4, 2013 at 2:11 AM, Nikos Alexandris <nik at nikosalexandris.net>wrote:
> Vaclav and Anna,
> thank yo so muuch for the advancments in g.gui.mapswipes. Really, very
I am glad you find it useful.
> There is one issue in mirror mode: the cross pointer (othen than the one
> set/used by the Operating System) might be in some cases too difficult to
> identify. This leads in trying to look for the pointer instead of focusing
> comparing differences between mirrored images.
> A screenshot here:
> In the left part, the pinky one is set by the OS. On the right one, it's
> to trace the thin cross-pointer. Can at least an implementation of changing
> the color be made? Or, any other
> smart solution...
In the picture I cannot really see it, it's just not good quality
screenshot or the cursor disappears?
I will try to add the settings of the cursor width and color when I have
more time, the only problem is to create the gui for this. In the meantime,
if you really need to change it, you can always edit the line which draws
--- gui/wxpython/mapswipe/mapwindow.py (revision 58342)
+++ gui/wxpython/mapswipe/mapwindow.py (working copy)
@@ -184,7 +184,7 @@
def DrawMouseCross(self, coords):
"""!Draw moving cross."""
- self.lineid = self.DrawCross(pdc = self.pdcTmp, coords = coords,
size = 10, pen = wx.BLACK_PEN)
+ self.lineid = self.DrawCross(pdc = self.pdcTmp, coords = coords,
size = 10, pen = wx.Pen(wx.Colour(250, 250, 250), 3))
So tuple (250, 250, 250) is the color as R, G, B and the 3 is the desired
width (currently it uses width 1).
You can then compile it with 'make' in the gui/wxpython directory.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the grass-dev