X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=lib%2FEditorGraphicBBS%2FbbsKernelEditorGraphic%2FGlobalConstants.h;h=63f718b4256a2c676b04b997168a7395b9fe70e1;hb=e9ab2c3abb5398388f62fcb9414df85be0eb37d8;hp=8aa719542ee0b36f3619a466fa363ebaeaa5a6af;hpb=b07121ce96dd600b41cb6b9588d117ec72969317;p=bbtkGEditor.git diff --git a/lib/EditorGraphicBBS/bbsKernelEditorGraphic/GlobalConstants.h b/lib/EditorGraphicBBS/bbsKernelEditorGraphic/GlobalConstants.h index 8aa7195..63f718b 100644 --- a/lib/EditorGraphicBBS/bbsKernelEditorGraphic/GlobalConstants.h +++ b/lib/EditorGraphicBBS/bbsKernelEditorGraphic/GlobalConstants.h @@ -29,13 +29,11 @@ Version: $Revision$ * ------------------------------------------------------------------------ */ - -/** -* \file -* \brief bbtk::GlobalConstants -*/ - - +/**** +* Design and Developpement of BBTK GEditor +* Ricardo A Corredor J +* RaC - 2010 +****/ #ifndef __GlobalConstants_h__ #define __GlobalConstants_h__ @@ -63,8 +61,8 @@ namespace bbtk // Object dimensions const double BOX_HEIGHT = 10; const double BOX_WIDTH = 100; - const double PORT_HEIGHT = 2.8; - const double PORT_WIDTH = 2.8; + const double PORT_HEIGHT = 3.8; + const double PORT_WIDTH = 3.8; const double COMPLEXPORT_HEIGHT = 6; const double COMPLEXPORT_WIDTH = 6; @@ -135,6 +133,15 @@ namespace bbtk //Object Text colors + + const double PORTFILL_NH_R = 0.50; + const double PORTFILL_NH_G = 0.50; + const double PORTFILL_NH_B = 0.50; + + const double PORTTEXT_NH_R = 1.0; + const double PORTTEXT_NH_G = 1.0; + const double PORTTEXT_NH_B = 0.0; + const double BOXTEXT_NH_R = 0.25; const double BOXTEXT_NH_G = 0.0; const double BOXTEXT_NH_B = 0.0; @@ -151,7 +158,7 @@ namespace bbtk const double BOXTEXT_SELECTED_G = 0.35; const double BOXTEXT_SELECTED_B = 0.05; - // Id's + // GUI Id's const int ID_NEW = 1000; const int ID_SAVE_AS_DIAGRAM = 1001; const int ID_OPEN = 1002; @@ -161,10 +168,12 @@ namespace bbtk const int ID_BTNCOMPLEXBOX = 1006; const int ID_ADDCOMPLEXBOXINPUT = 1007; const int ID_ADDCOMPLEXBOXOUTPUT = 1008; - const int ID_SAVE_AS_BBS = 1009; - const int ID_SAVE_AS_COMPLEXBOX = 1010; + const int ID_OPEN_BBS = 1009; + const int ID_SAVE_AS_BBS = 1010; + const int ID_SAVE_AS_COMPLEXBOX = 1011; + const int ID_COPY_TO_COMPLEXDIAGRAM = 1012; - const int wxID_NOTEBOOK = 1012; + const int wxID_NOTEBOOK = 1013; } // namespace bbtk #endif