X-Git-Url: http://git.dev.opencascade.org/gitweb/?p=occt.git;a=blobdiff_plain;f=tools%2FShapeView%2FShapeView_Window.cxx;h=d53ad474397d55d4f20bc02efe19ca03f9efe5d7;hb=9e5e4c0c849d2549afb3ef2b764496562545cb01;hpb=1f3c5058f27ddcbc23af3b05820e4433bb1009db diff --git a/tools/ShapeView/ShapeView_Window.cxx b/tools/ShapeView/ShapeView_Window.cxx index d6f54d75cc..d53ad47439 100644 --- a/tools/ShapeView/ShapeView_Window.cxx +++ b/tools/ShapeView/ShapeView_Window.cxx @@ -62,22 +62,16 @@ #include #include -const int DEFAULT_TEXT_VIEW_WIDTH = 800; -const int DEFAULT_TEXT_VIEW_HEIGHT = 700; -const int DEFAULT_TEXT_VIEW_POSITION_X = 430; -const int DEFAULT_TEXT_VIEW_POSITION_Y = 30; -const int DEFAULT_TEXT_VIEW_DELTA = 100; - -const int DEFAULT_SHAPE_VIEW_WIDTH = 900; -const int DEFAULT_SHAPE_VIEW_HEIGHT = 450; -const int DEFAULT_SHAPE_VIEW_POSITION_X = 60; -const int DEFAULT_SHAPE_VIEW_POSITION_Y = 60; - -const int SHAPEVIEW_DEFAULT_TREE_VIEW_WIDTH = 600; -const int SHAPEVIEW_DEFAULT_TREE_VIEW_HEIGHT = 500; - -const int SHAPEVIEW_DEFAULT_VIEW_WIDTH = 300; -const int SHAPEVIEW_DEFAULT_VIEW_HEIGHT = 1000; +static const int DEFAULT_SHAPE_VIEW_WIDTH = 900; +static const int DEFAULT_SHAPE_VIEW_HEIGHT = 450; +static const int DEFAULT_SHAPE_VIEW_POSITION_X = 60; +static const int DEFAULT_SHAPE_VIEW_POSITION_Y = 60; + +static const int SHAPEVIEW_DEFAULT_TREE_VIEW_WIDTH = 600; +static const int SHAPEVIEW_DEFAULT_TREE_VIEW_HEIGHT = 500; + +static const int SHAPEVIEW_DEFAULT_VIEW_WIDTH = 300; +static const int SHAPEVIEW_DEFAULT_VIEW_HEIGHT = 1000; // ======================================================================= // function : Constructor