]> Creatis software - bbtkGEditor.git/blobdiff - lib/EditorGraphicBBS/bbsKernelEditorGraphic/GlobalConstants.h
#3249 Change FontSize - Box graphic scale
[bbtkGEditor.git] / lib / EditorGraphicBBS / bbsKernelEditorGraphic / GlobalConstants.h
index c902136502ee383e037fed4e4493fef7fe15028f..bd274231795708303b368c7bcec329699a59d8ba 100644 (file)
@@ -91,12 +91,19 @@ namespace bbtk {
        const int CREATING_CONTOUR                      =       106;
 
        // Object dimensions
-       const double BOX_HEIGHT                         =       10;
-       const double BOX_WIDTH                          =       100;
-       const double PORT_HEIGHT                        =       1.8;
-       const double PORT_WIDTH                         =       2.8;
-       const double COMPLEXPORT_HEIGHT         =       8;
-       const double COMPLEXPORT_WIDTH          =       8;
+//EED 2020-01-15
+//  const double BOX_WIDTH              =   100;
+//  const double BOX_HEIGHT             =   10;
+    const double BOX_WIDTH              =   25;
+       const double BOX_HEIGHT                         =       2.5;  // BOX_WIDTH / 10
+//     const double PORT_WIDTH                         =       2.8;
+//  const double PORT_HEIGHT            =   1.8;
+    const double PORT_WIDTH             =   1.6;
+    const double PORT_HEIGHT            =   0.8; // PORT_WIDTH / 2
+//     const double COMPLEXPORT_HEIGHT         =       8;
+//     const double COMPLEXPORT_WIDTH          =       8;
+    const double COMPLEXPORT_HEIGHT     =   3.3;   //  BOX_HEIGHT + PORT_HEIGHT
+    const double COMPLEXPORT_WIDTH      =   3.3;   //  BOX_HEIGHT + PORT_HEIGHT
 
        // Commands
        const int NO_COMMAND                            =       201;