From 0afd549c4559664e33bab5d20ccdeca2ae39026f Mon Sep 17 00:00:00 2001 From: Maximilian Albert Date: Sat, 19 Jan 2008 23:31:25 +0000 Subject: Make creation of dots via Ctrl+click also possible in pen context; fill dots with current stroke color (and unset stroke); add preferences settings for dot radius and status bar messages; Shift+Ctrl+click varies the radius slightly (bzr r4563) --- src/pen-context.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/pen-context.cpp') diff --git a/src/pen-context.cpp b/src/pen-context.cpp index f56714eb7..6eb534e54 100644 --- a/src/pen-context.cpp +++ b/src/pen-context.cpp @@ -408,6 +408,12 @@ static gint pen_handle_button_press(SPPenContext *const pc, GdkEventButton const case SP_PEN_CONTEXT_POINT: if (pc->npoints == 0) { + if (bevent.state & GDK_CONTROL_MASK) { + freehand_create_single_dot(event_context, event_dt, "tools.freehand.pen", bevent.state & GDK_SHIFT_MASK); + ret = TRUE; + break; + } + /* Set start anchor */ pc->sa = anchor; NR::Point p; -- cgit v1.2.3