summaryrefslogtreecommitdiffstats
path: root/src/dyna-draw-context.cpp
diff options
context:
space:
mode:
authorRalf Stephan <ralf@ark.in-berlin.de>2006-02-15 19:04:29 +0000
committerrwst <rwst@users.sourceforge.net>2006-02-15 19:04:29 +0000
commit7b0114087822b9f011d740f1279d1d9ed983a88c (patch)
tree159bd147d5a3b2daa65b327dd3f5d0b2e764eeb9 /src/dyna-draw-context.cpp
parentfix 1432089: stroke is not drawn not only when it's not set but also when it'... (diff)
downloadinkscape-7b0114087822b9f011d740f1279d1d9ed983a88c.tar.gz
inkscape-7b0114087822b9f011d740f1279d1d9ed983a88c.zip
bulk trailing spaces removal. consistency through MD5 of binary
(bzr r149)
Diffstat (limited to 'src/dyna-draw-context.cpp')
-rw-r--r--src/dyna-draw-context.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/dyna-draw-context.cpp b/src/dyna-draw-context.cpp
index 8b90ce034..7fd7bfe72 100644
--- a/src/dyna-draw-context.cpp
+++ b/src/dyna-draw-context.cpp
@@ -136,7 +136,7 @@ sp_dyna_draw_context_init(SPDynaDrawContext *ddc)
event_context->cursor_shape = cursor_calligraphy_xpm;
event_context->hot_x = 4;
event_context->hot_y = 4;
-
+
ddc->accumulated = NULL;
ddc->segments = NULL;
ddc->currentcurve = NULL;
@@ -490,7 +490,7 @@ sp_dyna_draw_context_root_handler(SPEventContext *event_context,
if (Inkscape::have_viable_layer(desktop, dc->_message_context) == false) {
return TRUE;
}
-
+
NR::Point const button_w(event->button.x,
event->button.y);
NR::Point const button_dt(desktop->w2d(button_w));
@@ -510,7 +510,7 @@ sp_dyna_draw_context_root_handler(SPEventContext *event_context,
? ( GDK_KEY_PRESS_MASK |
GDK_BUTTON_RELEASE_MASK |
GDK_BUTTON_PRESS_MASK )
- : ( GDK_KEY_PRESS_MASK |
+ : ( GDK_KEY_PRESS_MASK |
GDK_BUTTON_RELEASE_MASK |
GDK_POINTER_MOTION_MASK |
GDK_BUTTON_PRESS_MASK ) ),
@@ -596,7 +596,7 @@ sp_dyna_draw_context_root_handler(SPEventContext *event_context,
case GDK_KP_Up:
if (!MOD__CTRL_ONLY) {
dc->angle += 5.0;
- if (dc->angle > 90.0)
+ if (dc->angle > 90.0)
dc->angle = 90.0;
sp_ddc_update_toolbox (desktop, "calligraphy-angle", dc->angle);
ret = TRUE;
@@ -606,7 +606,7 @@ sp_dyna_draw_context_root_handler(SPEventContext *event_context,
case GDK_KP_Down:
if (!MOD__CTRL_ONLY) {
dc->angle -= 5.0;
- if (dc->angle < -90.0)
+ if (dc->angle < -90.0)
dc->angle = -90.0;
sp_ddc_update_toolbox (desktop, "calligraphy-angle", dc->angle);
ret = TRUE;
@@ -616,7 +616,7 @@ sp_dyna_draw_context_root_handler(SPEventContext *event_context,
case GDK_KP_Right:
if (!MOD__CTRL_ONLY) {
dc->width += 0.01;
- if (dc->width > 1.0)
+ if (dc->width > 1.0)
dc->width = 1.0;
sp_ddc_update_toolbox (desktop, "altx-calligraphy", dc->width); // the same spinbutton is for alt+x
ret = TRUE;
@@ -626,9 +626,9 @@ sp_dyna_draw_context_root_handler(SPEventContext *event_context,
case GDK_KP_Left:
if (!MOD__CTRL_ONLY) {
dc->width -= 0.01;
- if (dc->width < 0.01)
+ if (dc->width < 0.01)
dc->width = 0.01;
- sp_ddc_update_toolbox (desktop, "altx-calligraphy", dc->width);
+ sp_ddc_update_toolbox (desktop, "altx-calligraphy", dc->width);
ret = TRUE;
}
break;