[dia] Slightly increase handle and connection point size



commit d5f0130d9c931d9c2d94ad2150ff7fb42d088b0f
Author: Hans Breuer <hans breuer org>
Date:   Fri Jan 16 22:50:05 2015 +0100

    Slightly increase handle and connection point size
    
    as discussed on the mailing list:
    https://mail.gnome.org/archives/dia-list/2014-November/msg00016.html
    
    Also moved the definition for CPs out of lib/connectionpoint.h,
    they were only supposed to be used by app/connectionpoint_ops.c

 app/connectionpoint_ops.c |    3 +++
 app/handle_ops.c          |    2 +-
 lib/connectionpoint.h     |    3 ---
 3 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/app/connectionpoint_ops.c b/app/connectionpoint_ops.c
index d507737..26d078c 100644
--- a/app/connectionpoint_ops.c
+++ b/app/connectionpoint_ops.c
@@ -25,6 +25,9 @@
 #include "object.h"
 #include "connectionpoint.h"
 
+#define CONNECTIONPOINT_SIZE 7
+#define CHANGED_TRESHOLD 0.001
+
 static Color connectionpoint_color = { 0.4, 0.4, 1.0, 1.0 };
 
 #define CP_SZ (CONNECTIONPOINT_SIZE/2)
diff --git a/app/handle_ops.c b/app/handle_ops.c
index 54a9b97..03fe31d 100644
--- a/app/handle_ops.c
+++ b/app/handle_ops.c
@@ -22,7 +22,7 @@
 #include "color.h"
 
 /* This value is best left odd so that the handles are centered. */
-#define HANDLE_SIZE 7
+#define HANDLE_SIZE 9
 
 static const Color handle_color[NUM_HANDLE_TYPES<<1] =
 {
diff --git a/lib/connectionpoint.h b/lib/connectionpoint.h
index 48aec49..9cbff59 100644
--- a/lib/connectionpoint.h
+++ b/lib/connectionpoint.h
@@ -27,9 +27,6 @@
 #include <glib.h>
 #include "geometry.h"
 
-#define CONNECTIONPOINT_SIZE 5
-#define CHANGED_TRESHOLD 0.001
-
 /*! \brief Connections directions, used as hints to e.g. zigzaglines 
  * Ordered this way to let *2 be rotate clockwise, /2 rotate counterclockwise.
  * Used as bits


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]