[Skencil-devel] [skencil-Patches][56] Guide tools
skencil-patches@wald.intevation.org
skencil-patches at wald.intevation.org
Tue Mar 7 16:40:35 CET 2006
Patches item #56, was opened at 2006-03-07 15:40
You can respond by visiting:
http://wald.intevation.org/tracker/?func=detail&atid=103&aid=56&group_id=5
Or by replying to this e-mail entering your response between the following markers:
#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+
(enter your response here)
#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+
Status: Open
Priority: 3
Submitted By: Valentin Ungureanu (vung)
Assigned to: Nobody (None)
Summary: Guide tools
Version: None
Category: None
Initial Comment:
Create guides by dragging them from the rulers; based on this one:
http://lists.gnu.org/archive/html/sketch-devel/2003-01/msg00005.html
with some additions:
1. delete guide (or cancel creation) if the mouse is released outside the canvas (like in skencil 0.6)
2. hide the guide when it is dragged outside the drawing area and change the status bar to explain what will happen (like in gimp).
Detecting if the mouse is inside the canvas is done with a new SketchCanvas method; not particularly clean. As an alternative, I tried connecting the canvas to enter/leave_notify and propagating this to the editor and tools. This information could be used to automatically pan the view when dragging an object, for example.
However (besides the bigger change) if the mouse button is pressed over a ruler and then moved over the canvas there is no enter_notify signal from the canvas. I'm not sure if this is how it's supposed to be, but it wasn't helpful so I stuck with a new canvas method.
----------------------------------------------------------------------
You can respond by visiting:
http://wald.intevation.org/tracker/?func=detail&atid=103&aid=56&group_id=5
More information about the Skencil-devel
mailing list