X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FEditorGraphicBBS%2FbbsKernelEditorGraphic%2FGlobalConstants.h;h=06afba201c36ebecde19ce41ad930eec72cf3973;hb=8fa663b7b47e797e6e23722d1fef41c40419a6d6;hp=112822f745bfab71fa4ff382becb58cacbc8a3cb;hpb=311af31f393ba7d5788a0a843ee412eebdf43a82;p=bbtkGEditor.git diff --git a/lib/EditorGraphicBBS/bbsKernelEditorGraphic/GlobalConstants.h b/lib/EditorGraphicBBS/bbsKernelEditorGraphic/GlobalConstants.h index 112822f..06afba2 100644 --- a/lib/EditorGraphicBBS/bbsKernelEditorGraphic/GlobalConstants.h +++ b/lib/EditorGraphicBBS/bbsKernelEditorGraphic/GlobalConstants.h @@ -51,18 +51,23 @@ namespace bbtk const int GOUTPUTPORT = 5; // Object states - static const int NOTHING_HAPPENS = 101; + const int NOTHING_HAPPENS = 101; const int HIGHLIGHTED=102; const int CLICKED=103; const int DRAG=104; const int SELECTED=105; + const int CREATING_CONTOUR=106; // Object dimensions - const double BOX_HEIGHT=0.1; - const double BOX_WIDTH=1.0; - const double PORT_HEIGHT=0.04; - const double PORT_WIDTH=0.04; - + const double BOX_HEIGHT=15; + const double BOX_WIDTH=100; + const double PORT_HEIGHT=3; + const double PORT_WIDTH=3; + + // Commands + const int REPAINT = 201; + const int INIT_CREATION_CONTOUR= 202; + // Colors (object_state_(R|G|B)) const double BOXCONTOUR_NH_R=0.0; const double BOXCONTOUR_NH_G=0.0;