1 // Copyright (C) 2005 OPEN CASCADE, CEA/DEN, EDF R&D, PRINCIPIA R&D
3 // This library is free software; you can redistribute it and/or
4 // modify it under the terms of the GNU Lesser General Public
5 // License as published by the Free Software Foundation; either
6 // version 2.1 of the License.
8 // This library is distributed in the hope that it will be useful
9 // but WITHOUT ANY WARRANTY; without even the implied warranty of
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 // Lesser General Public License for more details.
13 // You should have received a copy of the GNU Lesser General Public
14 // License along with this library; if not, write to the Free Software
15 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
23 #define GRAPH_MARGIN 50
25 #define NODE_WIDTH 266 //160
26 #define NODE_COLOR QColor(255,249,147)
30 #define SERVICENODE_COLOR QColor(255,255,255)
31 #define SERVICENODE_SUBCOLOR QColor(85,85,255)
33 #define INLINENODE_COLOR QColor(255,255,255)
34 #define INLINENODE_SUBCOLOR QColor(12,131,30)
36 #define IFNODE_COLOR QColor(255,255,255)
37 #define IFNODE_SUBCOLOR QColor(255,170,0)
39 #define SWITCHNODE_COLOR QColor(255,255,255)
40 #define SWITCHNODE_SUBCOLOR QColor(255,99,38)
42 #define LOOPNODE_COLOR QColor(255,255,255)
43 #define LOOPNODE_SUBCOLOR QColor(236,1,107)
44 #define LOOPNODE_BRACKETCOLOR QColor(255,255,0)
46 #define BLOCNODE_COLOR QColor(221,255,221)
47 #define BLOCNODE_SUBCOLOR QColor(131,0,0)
48 #define BLOCNODERECT_COLOR QColor(0,0,127)
49 #define BLOCNODE_MARGIN 4
51 #define NODEBOUNDARY_MARGIN 2
53 #define NODE_HILIGHT_COLOR QColor(222,222,222)
55 #define TITLE_HEIGHT 20
56 #define TITLE_COLOR QColor(63, 213, 255)
58 #define PIXMAP_HEIGHT TITLE_HEIGHT*3
59 #define PIXMAP_MARGIN 4
62 #define PORT_HEIGHT 20
66 #define LABELPORT_COLOR QColor(170,0,0)
68 #define PORT_HILIGHT_COLOR QColor(222,222,222)
70 #define LINKPOINT_SIZE 5
71 #define LINKEDGE_WIDTH 2
72 #define LINKDRAW_COLOR QColor(0,0,127)
73 #define STREAMLINKDRAW_COLOR QColor(222,0,0)
74 #define LINK_HILIGHT_COLOR QColor(222,222,222)
75 #define LINK_SELECT_COLOR Qt::magenta
77 #define LABELLINKDRAW_COLOR QColor(170,0,0)
79 #define HOOKPOINT_SIZE 10
80 #define HOOKPOINTGATE_SIZE 14
81 #define HOOKPOINTMASTER_SIZE 66
82 #define HOOK_COLOR QColor(0,0,127)
83 #define HOOK_HILIGHT_COLOR LINK_HILIGHT_COLOR
84 #define HOOK_SELECT_COLOR LINK_SELECT_COLOR