[GRASS-dev] Thank you and a request on g.gui.mapswipe
Anna Petrášová
kratochanna at gmail.com
Wed Dec 4 06:00:36 PST 2013
Hi Nikos.
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
> useful.
>
>
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
> in
> comparing differences between mirrored images.
>
> A screenshot here:
> <
> http://nikosalexandris.net/owncloud/public.php?service=files&t=644f7a4dabe6e48b4696ae3b67a25cb3
> >.
>
> In the left part, the pinky one is set by the OS. On the right one, it's
> hard
> 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
the cursor:
Index: gui/wxpython/mapswipe/mapwindow.py
===================================================================
--- 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.pdcTmp.ClearId(self.lineid)
- 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.
Best,
Anna
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20131204/8a3f2be8/attachment-0001.html>
More information about the grass-dev
mailing list