Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Esteban Blanc
proview
Commits
bfbc1bb7
Commit
bfbc1bb7
authored
Dec 03, 2008
by
claes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Frame drawn after text
parent
7c78de3b
Changes
12
Show whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
105 additions
and
105 deletions
+105
-105
profibus/lib/rt/src/rt_pb_gsd_attrnav.cpp
profibus/lib/rt/src/rt_pb_gsd_attrnav.cpp
+27
-27
sev/exe/sev_xtt/src/xtt_tblnav.cpp
sev/exe/sev_xtt/src/xtt_tblnav.cpp
+8
-8
src/lib/co/src/co_msglist.cpp
src/lib/co/src/co_msglist.cpp
+7
-7
src/lib/co/src/co_statusmon_nodelistnav.cpp
src/lib/co/src/co_statusmon_nodelistnav.cpp
+5
-5
src/lib/co/src/co_xhelpnav.cpp
src/lib/co/src/co_xhelpnav.cpp
+6
-6
src/lib/rt/src/rt_trace.cpp
src/lib/rt/src/rt_trace.cpp
+3
-3
wb/lib/wb/src/wb_nav.cpp
wb/lib/wb/src/wb_nav.cpp
+2
-2
wb/lib/wb/src/wb_pal.cpp
wb/lib/wb/src/wb_pal.cpp
+2
-2
wb/lib/wb/src/wb_wnav_brow.cpp
wb/lib/wb/src/wb_wnav_brow.cpp
+22
-23
xtt/lib/xtt/src/xtt_clognav.cpp
xtt/lib/xtt/src/xtt_clognav.cpp
+8
-8
xtt/lib/xtt/src/xtt_evlist.cpp
xtt/lib/xtt/src/xtt_evlist.cpp
+5
-5
xtt/lib/xtt/src/xtt_xnav_brow.cpp
xtt/lib/xtt/src/xtt_xnav_brow.cpp
+10
-9
No files found.
profibus/lib/rt/src/rt_pb_gsd_attrnav.cpp
View file @
bfbc1bb7
/*
* Proview $Id: rt_pb_gsd_attrnav.cpp,v 1.
6 2008-10-31 12:51:30
claes Exp $
* Proview $Id: rt_pb_gsd_attrnav.cpp,v 1.
7 2008-12-03 12:00:38
claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
...
...
@@ -1188,99 +1188,98 @@ void GsdAttrNavBrow::create_nodeclasses()
brow_CreateNodeClass
(
ctx
,
"NavigatorDefault"
,
flow_eNodeGroup_Common
,
&
nc_object
);
brow_AddFrame
(
nc_object
,
0
,
0
,
20
,
0.8
,
flow_eDrawType_Line
,
-
1
,
1
);
brow_AddAnnotPixmap
(
nc_object
,
0
,
0.2
,
0.1
,
flow_eDrawType_Line
,
2
,
0
);
brow_AddAnnotPixmap
(
nc_object
,
1
,
1.1
,
0.1
,
flow_eDrawType_Line
,
2
,
0
);
brow_AddAnnot
(
nc_object
,
2
,
0.6
,
0
,
flow_eDrawType_TextHelvetica
Bold
,
2
,
flow_eAnnotType_OneLine
,
flow_eDrawType_TextHelvetica
,
2
,
flow_eAnnotType_OneLine
,
0
);
brow_AddAnnot
(
nc_object
,
7
,
0.6
,
1
,
flow_eDrawType_TextHelvetica
Bold
,
2
,
flow_eAnnotType_OneLine
,
flow_eDrawType_TextHelvetica
,
2
,
flow_eAnnotType_OneLine
,
1
);
brow_AddAnnot
(
nc_object
,
12
,
0.6
,
2
,
flow_eDrawType_TextHelvetica
Bold
,
2
,
flow_eAnnotType_OneLine
,
flow_eDrawType_TextHelvetica
,
2
,
flow_eAnnotType_OneLine
,
1
);
brow_AddFrame
(
nc_object
,
0
,
0
,
20
,
0.8
,
flow_eDrawType_LineGray
,
-
1
,
1
);
// Create attribute nodeclass
brow_CreateNodeClass
(
ctx
,
"NavigatorGsdAttr"
,
flow_eNodeGroup_Common
,
&
nc_attr
);
brow_AddFrame
(
nc_attr
,
0
,
0
,
20
,
0.8
,
flow_eDrawType_Line
,
-
1
,
1
);
brow_AddAnnotPixmap
(
nc_attr
,
0
,
0.2
,
0.1
,
flow_eDrawType_Line
,
2
,
0
);
brow_AddAnnot
(
nc_attr
,
2
,
0.6
,
0
,
flow_eDrawType_TextHelvetica
Bold
,
2
,
flow_eAnnotType_OneLine
,
flow_eDrawType_TextHelvetica
,
2
,
flow_eAnnotType_OneLine
,
0
);
brow_AddAnnot
(
nc_attr
,
12
,
0.6
,
1
,
flow_eDrawType_TextHelvetica
Bold
,
2
,
flow_eAnnotType_OneLine
,
flow_eDrawType_TextHelvetica
,
2
,
flow_eAnnotType_OneLine
,
1
);
brow_AddFrame
(
nc_attr
,
0
,
0
,
20
,
0.8
,
flow_eDrawType_LineGray
,
-
1
,
1
);
// Create multiline attribute nodeclass
brow_CreateNodeClass
(
ctx
,
"NavigatorGsdAttrMultiLine"
,
flow_eNodeGroup_Common
,
&
nc_attr_multiline
);
brow_AddFrame
(
nc_attr_multiline
,
0
,
0
,
20
,
0.8
,
flow_eDrawType_Line
,
-
1
,
1
);
brow_AddAnnotPixmap
(
nc_attr_multiline
,
0
,
0.2
,
0.1
,
flow_eDrawType_Line
,
2
,
0
);
brow_AddAnnot
(
nc_attr_multiline
,
2
,
0.6
,
0
,
flow_eDrawType_TextHelvetica
Bold
,
2
,
flow_eAnnotType_OneLine
,
flow_eDrawType_TextHelvetica
,
2
,
flow_eAnnotType_OneLine
,
0
);
brow_AddAnnot
(
nc_attr_multiline
,
8
,
0.6
,
1
,
flow_eDrawType_TextHelvetica
Bold
,
2
,
flow_eAnnotType_MultiLine
,
flow_eDrawType_TextHelvetica
,
2
,
flow_eAnnotType_MultiLine
,
1
);
brow_AddFrame
(
nc_attr_multiline
,
0
,
0
,
20
,
0.8
,
flow_eDrawType_LineGray
,
-
1
,
1
);
// Create attribute nodeclass
brow_CreateNodeClass
(
ctx
,
"NavigatorEnum"
,
flow_eNodeGroup_Common
,
&
nc_enum
);
brow_AddRadiobutton
(
nc_enum
,
15
,
0.1
,
0.7
,
0.7
,
0
,
flow_eDrawType_Line
,
1
);
brow_AddFrame
(
nc_enum
,
0
,
0
,
20
,
0.8
,
flow_eDrawType_Line
,
-
1
,
1
);
brow_AddAnnotPixmap
(
nc_enum
,
0
,
0.2
,
0.1
,
flow_eDrawType_Line
,
2
,
0
);
brow_AddAnnot
(
nc_enum
,
2
,
0.6
,
0
,
flow_eDrawType_TextHelvetica
Bold
,
2
,
flow_eAnnotType_OneLine
,
flow_eDrawType_TextHelvetica
,
2
,
flow_eAnnotType_OneLine
,
0
);
brow_AddFrame
(
nc_enum
,
0
,
0
,
20
,
0.8
,
flow_eDrawType_LineGray
,
-
1
,
1
);
brow_AddRadiobutton
(
nc_enum
,
15
,
0.1
,
0.7
,
0.7
,
0
,
flow_eDrawType_Line
,
1
);
// Create table nodeclass
brow_CreateNodeClass
(
ctx
,
"NavigatorTable"
,
flow_eNodeGroup_Common
,
&
nc_table
);
brow_AddFrame
(
nc_table
,
0
,
0
,
20
,
0.8
,
flow_eDrawType_Line
,
-
1
,
1
);
brow_AddAnnotPixmap
(
nc_table
,
0
,
0.2
,
0.1
,
flow_eDrawType_Line
,
2
,
0
);
brow_AddAnnotPixmap
(
nc_table
,
1
,
1.1
,
0.1
,
flow_eDrawType_Line
,
2
,
0
);
brow_AddAnnot
(
nc_table
,
2
,
0.6
,
0
,
flow_eDrawType_TextHelvetica
Bold
,
2
,
flow_eAnnotType_OneLine
,
flow_eDrawType_TextHelvetica
,
2
,
flow_eAnnotType_OneLine
,
0
);
brow_AddAnnot
(
nc_table
,
8
,
0.6
,
1
,
flow_eDrawType_TextHelvetica
Bold
,
2
,
flow_eAnnotType_OneLine
,
flow_eDrawType_TextHelvetica
,
2
,
flow_eAnnotType_OneLine
,
1
);
brow_AddAnnot
(
nc_table
,
12
,
0.6
,
2
,
flow_eDrawType_TextHelvetica
Bold
,
2
,
flow_eAnnotType_OneLine
,
flow_eDrawType_TextHelvetica
,
2
,
flow_eAnnotType_OneLine
,
1
);
brow_AddAnnot
(
nc_table
,
16
,
0.6
,
3
,
flow_eDrawType_TextHelvetica
Bold
,
2
,
flow_eAnnotType_OneLine
,
flow_eDrawType_TextHelvetica
,
2
,
flow_eAnnotType_OneLine
,
1
);
brow_AddAnnot
(
nc_table
,
20
,
0.6
,
4
,
flow_eDrawType_TextHelvetica
Bold
,
2
,
flow_eAnnotType_OneLine
,
flow_eDrawType_TextHelvetica
,
2
,
flow_eAnnotType_OneLine
,
1
);
brow_AddAnnot
(
nc_table
,
24
,
0.6
,
5
,
flow_eDrawType_TextHelvetica
Bold
,
2
,
flow_eAnnotType_OneLine
,
flow_eDrawType_TextHelvetica
,
2
,
flow_eAnnotType_OneLine
,
1
);
brow_AddAnnot
(
nc_table
,
28
,
0.6
,
6
,
flow_eDrawType_TextHelvetica
Bold
,
2
,
flow_eAnnotType_OneLine
,
flow_eDrawType_TextHelvetica
,
2
,
flow_eAnnotType_OneLine
,
1
);
brow_AddAnnot
(
nc_table
,
32
,
0.6
,
7
,
flow_eDrawType_TextHelvetica
Bold
,
2
,
flow_eAnnotType_OneLine
,
flow_eDrawType_TextHelvetica
,
2
,
flow_eAnnotType_OneLine
,
1
);
brow_AddAnnot
(
nc_table
,
35
,
0.6
,
8
,
flow_eDrawType_TextHelvetica
Bold
,
2
,
flow_eAnnotType_OneLine
,
flow_eDrawType_TextHelvetica
,
2
,
flow_eAnnotType_OneLine
,
1
);
brow_AddAnnot
(
nc_table
,
38
,
0.6
,
9
,
flow_eDrawType_TextHelvetica
Bold
,
2
,
flow_eAnnotType_OneLine
,
flow_eDrawType_TextHelvetica
,
2
,
flow_eAnnotType_OneLine
,
1
);
brow_AddFrame
(
nc_table
,
0
,
0
,
20
,
0.8
,
flow_eDrawType_LineGray
,
-
1
,
1
);
// Create Header
brow_CreateNodeClass
(
ctx
,
"NavigatorHead"
,
flow_eNodeGroup_Common
,
&
nc_header
);
brow_AddFrame
(
nc_header
,
0
,
0
,
20
,
0.8
,
flow_eDrawType_LineGray
,
2
,
1
);
brow_AddAnnotPixmap
(
nc_header
,
0
,
0.2
,
0.1
,
flow_eDrawType_Line
,
2
,
0
);
brow_AddAnnot
(
nc_header
,
2
,
0.6
,
0
,
flow_eDrawType_TextHelveticaBold
,
2
,
flow_eAnnotType_OneLine
,
...
...
@@ -1288,12 +1287,12 @@ void GsdAttrNavBrow::create_nodeclasses()
brow_AddAnnot
(
nc_header
,
8
,
0.6
,
1
,
flow_eDrawType_TextHelveticaBold
,
2
,
flow_eAnnotType_OneLine
,
1
);
brow_AddFrame
(
nc_header
,
0
,
0
,
20
,
0.8
,
flow_eDrawType_LineGray
,
2
,
1
);
// Create TableHeader
brow_CreateNodeClass
(
ctx
,
"NavigatorTableHead"
,
flow_eNodeGroup_Common
,
&
nc_table_header
);
brow_AddFrame
(
nc_table_header
,
0
,
0
,
20
,
0.8
,
flow_eDrawType_LineGray
,
2
,
1
);
brow_AddAnnotPixmap
(
nc_table_header
,
0
,
0.2
,
0.1
,
flow_eDrawType_Line
,
2
,
0
);
brow_AddAnnot
(
nc_table_header
,
2
,
0.6
,
0
,
flow_eDrawType_TextHelveticaBold
,
2
,
flow_eAnnotType_OneLine
,
...
...
@@ -1325,6 +1324,7 @@ void GsdAttrNavBrow::create_nodeclasses()
brow_AddAnnot
(
nc_table_header
,
38
,
0.6
,
9
,
flow_eDrawType_TextHelveticaBold
,
2
,
flow_eAnnotType_OneLine
,
0
);
brow_AddFrame
(
nc_table_header
,
0
,
0
,
20
,
0.8
,
flow_eDrawType_LineGray
,
2
,
1
);
}
...
...
sev/exe/sev_xtt/src/xtt_tblnav.cpp
View file @
bfbc1bb7
/*
* Proview $Id: xtt_tblnav.cpp,v 1.
4 2008-10-31 12:51:30
claes Exp $
* Proview $Id: xtt_tblnav.cpp,v 1.
5 2008-12-03 12:00:38
claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
...
...
@@ -389,31 +389,31 @@ void TblNavBrow::create_nodeclasses()
brow_CreateNodeClass
(
ctx
,
"NavigatorDefault"
,
flow_eNodeGroup_Common
,
&
nc_object
);
brow_AddFrame
(
nc_object
,
0
,
0
,
20
,
0.8
,
flow_eDrawType_Line
,
-
1
,
1
);
brow_AddAnnotPixmap
(
nc_object
,
0
,
0.2
,
0.1
,
flow_eDrawType_Line
,
2
,
0
);
brow_AddAnnotPixmap
(
nc_object
,
1
,
1.1
,
0.1
,
flow_eDrawType_Line
,
2
,
0
);
brow_AddAnnot
(
nc_object
,
2
,
0.6
,
0
,
flow_eDrawType_TextHelvetica
Bold
,
2
,
flow_eAnnotType_OneLine
,
flow_eDrawType_TextHelvetica
,
2
,
flow_eAnnotType_OneLine
,
0
);
brow_AddAnnot
(
nc_object
,
12
,
0.6
,
1
,
flow_eDrawType_TextHelvetica
Bold
,
2
,
flow_eAnnotType_OneLine
,
flow_eDrawType_TextHelvetica
,
2
,
flow_eAnnotType_OneLine
,
1
);
brow_AddAnnot
(
nc_object
,
15
,
0.6
,
2
,
flow_eDrawType_TextHelvetica
Bold
,
2
,
flow_eAnnotType_OneLine
,
flow_eDrawType_TextHelvetica
,
2
,
flow_eAnnotType_OneLine
,
1
);
brow_AddFrame
(
nc_object
,
0
,
0
,
20
,
0.8
,
flow_eDrawType_LineGray
,
-
1
,
1
);
// Create attribute nodeclass
brow_CreateNodeClass
(
ctx
,
"NavigatorAttr"
,
flow_eNodeGroup_Common
,
&
nc_attr
);
brow_AddFrame
(
nc_attr
,
0
,
0
,
20
,
0.8
,
flow_eDrawType_Line
,
-
1
,
1
);
brow_AddAnnotPixmap
(
nc_attr
,
0
,
0.2
,
0.1
,
flow_eDrawType_Line
,
2
,
0
);
brow_AddAnnot
(
nc_attr
,
2
,
0.6
,
0
,
flow_eDrawType_TextHelvetica
Bold
,
2
,
flow_eAnnotType_OneLine
,
flow_eDrawType_TextHelvetica
,
2
,
flow_eAnnotType_OneLine
,
0
);
brow_AddAnnot
(
nc_attr
,
8
,
0.6
,
1
,
flow_eDrawType_TextHelvetica
Bold
,
2
,
flow_eAnnotType_OneLine
,
flow_eDrawType_TextHelvetica
,
2
,
flow_eAnnotType_OneLine
,
1
);
brow_AddFrame
(
nc_attr
,
0
,
0
,
20
,
0.8
,
flow_eDrawType_LineGray
,
-
1
,
1
);
}
...
...
src/lib/co/src/co_msglist.cpp
View file @
bfbc1bb7
/**
* Proview $Id: co_msglist.cpp,v 1.1
0 2008-11-28 17:14:53
claes Exp $
* Proview $Id: co_msglist.cpp,v 1.1
1 2008-12-03 12:00:38
claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
...
...
@@ -72,7 +72,6 @@ void MsgListBrow::create_nodeclasses()
brow_CreateNodeClass
(
ctx
,
"EventDefault"
,
flow_eNodeGroup_Common
,
&
nc_default
);
brow_AddFrame
(
nc_default
,
0
,
0
,
35
,
0.8
,
flow_eDrawType_Line
,
-
1
,
1
);
brow_AddAnnotPixmap
(
nc_default
,
0
,
0.2
,
0.1
,
flow_eDrawType_Line
,
2
,
0
);
brow_AddAnnot
(
nc_default
,
1.4
,
0.6
,
0
,
flow_eDrawType_TextHelveticaBold
,
2
,
flow_eAnnotType_OneLine
,
...
...
@@ -83,11 +82,11 @@ void MsgListBrow::create_nodeclasses()
brow_AddAnnot
(
nc_default
,
9
,
0.6
,
2
,
flow_eDrawType_TextHelvetica
,
2
,
flow_eAnnotType_OneLine
,
0
);
brow_AddFrame
(
nc_default
,
0
,
0
,
35
,
0.8
,
flow_eDrawType_LineGray
,
-
1
,
1
);
// Nodeclass for Error
brow_CreateNodeClass
(
ctx
,
"Error"
,
flow_eNodeGroup_Common
,
&
nc_error
);
brow_AddFrame
(
nc_error
,
0
,
0
,
35
,
0.8
,
flow_eDrawType_Line
,
-
1
,
1
);
brow_AddAnnotPixmap
(
nc_error
,
0
,
0.2
,
0.1
,
flow_eDrawType_Line
,
2
,
0
);
brow_AddFilledRect
(
nc_error
,
0.8
,
0.15
,
0.4
,
0.4
,
flow_eDrawType_LineRed
);
brow_AddRect
(
nc_error
,
0.8
,
0.15
,
0.4
,
0.4
,
flow_eDrawType_Line
,
0
,
0
);
...
...
@@ -100,11 +99,11 @@ void MsgListBrow::create_nodeclasses()
brow_AddAnnot
(
nc_error
,
9
,
0.6
,
2
,
flow_eDrawType_TextHelvetica
,
2
,
flow_eAnnotType_OneLine
,
0
);
brow_AddFrame
(
nc_error
,
0
,
0
,
35
,
0.8
,
flow_eDrawType_LineGray
,
-
1
,
1
);
// Nodeclass for Fatal
brow_CreateNodeClass
(
ctx
,
"Fatal"
,
flow_eNodeGroup_Common
,
&
nc_fatal
);
brow_AddFrame
(
nc_fatal
,
0
,
0
,
35
,
0.8
,
flow_eDrawType_Line
,
-
1
,
1
);
brow_AddAnnotPixmap
(
nc_fatal
,
0
,
0.2
,
0.1
,
flow_eDrawType_Line
,
2
,
0
);
brow_AddFilledRect
(
nc_fatal
,
0.8
,
0.15
,
0.4
,
0.4
,
flow_eDrawType_LineRed
);
brow_AddRect
(
nc_fatal
,
0.8
,
0.15
,
0.4
,
0.4
,
flow_eDrawType_Line
,
2
,
0
);
...
...
@@ -117,11 +116,11 @@ void MsgListBrow::create_nodeclasses()
brow_AddAnnot
(
nc_fatal
,
9
,
0.6
,
2
,
flow_eDrawType_TextHelvetica
,
2
,
flow_eAnnotType_OneLine
,
0
);
brow_AddFrame
(
nc_fatal
,
0
,
0
,
35
,
0.8
,
flow_eDrawType_LineGray
,
-
1
,
1
);
// Nodeclass for Warning
brow_CreateNodeClass
(
ctx
,
"Warning"
,
flow_eNodeGroup_Common
,
&
nc_warning
);
brow_AddFrame
(
nc_warning
,
0
,
0
,
35
,
0.8
,
flow_eDrawType_Line
,
-
1
,
1
);
brow_AddAnnotPixmap
(
nc_warning
,
0
,
0.2
,
0.1
,
flow_eDrawType_Line
,
2
,
0
);
brow_AddFilledRect
(
nc_warning
,
0.8
,
0.15
,
0.4
,
0.4
,
flow_eDrawType_Yellow
);
brow_AddRect
(
nc_warning
,
0.8
,
0.15
,
0.4
,
0.4
,
flow_eDrawType_Line
,
0
,
0
);
...
...
@@ -134,11 +133,11 @@ void MsgListBrow::create_nodeclasses()
brow_AddAnnot
(
nc_warning
,
9
,
0.6
,
2
,
flow_eDrawType_TextHelvetica
,
2
,
flow_eAnnotType_OneLine
,
0
);
brow_AddFrame
(
nc_warning
,
0
,
0
,
35
,
0.8
,
flow_eDrawType_LineGray
,
-
1
,
1
);
// Nodeclass for Info
brow_CreateNodeClass
(
ctx
,
"Info"
,
flow_eNodeGroup_Common
,
&
nc_info
);
brow_AddFrame
(
nc_info
,
0
,
0
,
35
,
0.8
,
flow_eDrawType_Line
,
-
1
,
1
);
brow_AddAnnotPixmap
(
nc_info
,
0
,
0.2
,
0.1
,
flow_eDrawType_Line
,
2
,
0
);
brow_AddFilledRect
(
nc_info
,
0.8
,
0.15
,
0.4
,
0.4
,
flow_eDrawType_Green
);
brow_AddRect
(
nc_info
,
0.8
,
0.15
,
0.4
,
0.4
,
flow_eDrawType_Line
,
0
,
0
);
...
...
@@ -151,11 +150,11 @@ void MsgListBrow::create_nodeclasses()
brow_AddAnnot
(
nc_info
,
9
,
0.6
,
2
,
flow_eDrawType_TextHelvetica
,
2
,
flow_eAnnotType_OneLine
,
0
);
brow_AddFrame
(
nc_info
,
0
,
0
,
35
,
0.8
,
flow_eDrawType_LineGray
,
-
1
,
1
);
// Nodeclass for Success
brow_CreateNodeClass
(
ctx
,
"Success"
,
flow_eNodeGroup_Common
,
&
nc_success
);
brow_AddFrame
(
nc_success
,
0
,
0
,
35
,
0.8
,
flow_eDrawType_Line
,
-
1
,
1
);
brow_AddAnnotPixmap
(
nc_success
,
0
,
0.2
,
0.1
,
flow_eDrawType_Line
,
2
,
0
);
// brow_AddFilledRect( nc_success, 0.8, 0.15, 0.4, 0.4, flow_eDrawType_Green);
brow_AddRect
(
nc_success
,
0.8
,
0.15
,
0.4
,
0.4
,
flow_eDrawType_Line
,
0
,
0
);
...
...
@@ -168,6 +167,7 @@ void MsgListBrow::create_nodeclasses()
brow_AddAnnot
(
nc_success
,
9
,
0.6
,
2
,
flow_eDrawType_TextHelvetica
,
2
,
flow_eAnnotType_OneLine
,
0
);
brow_AddFrame
(
nc_success
,
0
,
0
,
35
,
0.8
,
flow_eDrawType_LineGray
,
-
1
,
1
);
}
void
MsgListBrow
::
brow_setup
()
...
...
src/lib/co/src/co_statusmon_nodelistnav.cpp
View file @
bfbc1bb7
/*
* Proview $Id: co_statusmon_nodelistnav.cpp,v 1.
9 2008-11-28 17:14:53
claes Exp $
* Proview $Id: co_statusmon_nodelistnav.cpp,v 1.
10 2008-12-03 12:00:38
claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
...
...
@@ -113,7 +113,6 @@ void NodelistNavBrow::create_nodeclasses()
// Nodeclass for Undefinied message
brow_CreateNodeClass
(
ctx
,
"Undef"
,
flow_eNodeGroup_Common
,
&
nc_node
);
brow_AddFrame
(
nc_node
,
0
,
0
,
35
,
0.8
,
flow_eDrawType_LineGray
,
-
1
,
1
);
brow_AddAnnotPixmap
(
nc_node
,
0
,
0.2
,
0.1
,
flow_eDrawType_Line
,
2
,
0
);
brow_AddFilledRect
(
nc_node
,
1.3
,
0.15
,
0.4
,
0.4
,
flow_eDrawType_DarkGray
);
brow_AddRect
(
nc_node
,
1.3
,
0.15
,
0.4
,
0.4
,
flow_eDrawType_Line
,
0
,
0
);
...
...
@@ -126,12 +125,12 @@ void NodelistNavBrow::create_nodeclasses()
brow_AddAnnot
(
nc_node
,
21
,
0.6
,
2
,
flow_eDrawType_TextHelvetica
,
2
,
flow_eAnnotType_OneLine
,
0
);
brow_AddFrame
(
nc_node
,
0
,
0
,
35
,
0.8
,
flow_eDrawType_LineGray
,
-
1
,
1
);
// Create attribute nodeclass
brow_CreateNodeClass
(
ctx
,
"Attr"
,
flow_eNodeGroup_Common
,
&
nc_attr
);
brow_AddFrame
(
nc_attr
,
0
,
0
,
20
,
0.8
,
flow_eDrawType_LineGray
,
-
1
,
1
);
brow_AddAnnotPixmap
(
nc_attr
,
0
,
0.2
,
0.1
,
flow_eDrawType_Line
,
2
,
0
);
brow_AddAnnot
(
nc_attr
,
2.2
,
0.6
,
0
,
flow_eDrawType_TextHelvetica
,
2
,
flow_eAnnotType_OneLine
,
...
...
@@ -139,12 +138,12 @@ void NodelistNavBrow::create_nodeclasses()
brow_AddAnnot
(
nc_attr
,
8
,
0.6
,
1
,
flow_eDrawType_TextHelvetica
,
2
,
flow_eAnnotType_OneLine
,
1
);
brow_AddFrame
(
nc_attr
,
0
,
0
,
20
,
0.8
,
flow_eDrawType_LineGray
,
-
1
,
1
);
// Create system status attribute nodeclass
brow_CreateNodeClass
(
ctx
,
"SysStsAttr"
,
flow_eNodeGroup_Common
,
&
nc_sys_sts_attr
);
brow_AddFrame
(
nc_sys_sts_attr
,
0
,
0
,
20
,
0.8
,
flow_eDrawType_LineGray
,
-
1
,
1
);
brow_AddAnnotPixmap
(
nc_sys_sts_attr
,
0
,
0.2
,
0.1
,
flow_eDrawType_Line
,
2
,
0
);
brow_AddFilledRect
(
nc_sys_sts_attr
,
1.3
,
0.15
,
0.4
,
0.4
,
flow_eDrawType_DarkGray
);
brow_AddRect
(
nc_sys_sts_attr
,
1.3
,
0.15
,
0.4
,
0.4
,
flow_eDrawType_Line
,
0
,
0
);
...
...
@@ -154,12 +153,12 @@ void NodelistNavBrow::create_nodeclasses()
brow_AddAnnot
(
nc_sys_sts_attr
,
8
,
0.6
,
1
,
flow_eDrawType_TextHelvetica
,
2
,
flow_eAnnotType_OneLine
,
1
);
brow_AddFrame
(
nc_sys_sts_attr
,
0
,
0
,
20
,
0.8
,
flow_eDrawType_LineGray
,
-
1
,
1
);
// Create system status attribute nodeclass
brow_CreateNodeClass
(
ctx
,
"StsAttr"
,
flow_eNodeGroup_Common
,
&
nc_sts_attr
);
brow_AddFrame
(
nc_sts_attr
,
0
,
0
,
20
,
0.8
,
flow_eDrawType_LineGray
,
-
1
,
1
);
brow_AddAnnotPixmap
(
nc_sts_attr
,
0
,
0.2
,
0.1
,
flow_eDrawType_Line
,
2
,
0
);
brow_AddFilledRect
(
nc_sts_attr
,
1.3
,
0.15
,
0.4
,
0.4
,
flow_eDrawType_DarkGray
);
brow_AddRect
(
nc_sts_attr
,
1.3
,
0.15
,
0.4
,
0.4
,
flow_eDrawType_Line
,
0
,
0
);
...
...
@@ -172,6 +171,7 @@ void NodelistNavBrow::create_nodeclasses()
brow_AddAnnot
(
nc_sts_attr
,
10
,
0.6
,
2
,
flow_eDrawType_TextHelvetica
,
2
,
flow_eAnnotType_OneLine
,
1
);
brow_AddFrame
(
nc_sts_attr
,
0
,
0
,
20
,
0.8
,
flow_eDrawType_LineGray
,
-
1
,
1
);
}
void
NodelistNavBrow
::
brow_setup
()
...
...
src/lib/co/src/co_xhelpnav.cpp
View file @
bfbc1bb7
/**
* Proview $Id: co_xhelpnav.cpp,v 1.1
5 2008-11-10 08:01:26
claes Exp $
* Proview $Id: co_xhelpnav.cpp,v 1.1
6 2008-12-03 12:00:38
claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
...
...
@@ -153,7 +153,6 @@ void CoXHelpNavBrow::create_nodeclasses()
brow_CreateNodeClass
(
ctx
,
"NavigatorDefault"
,
flow_eNodeGroup_Common
,
&
nc_object
);
brow_AddFrame
(
nc_object
,
0
,
0
,
20
,
0.8
,
flow_eDrawType_Line
,
-
1
,
1
);
brow_AddAnnotPixmap
(
nc_object
,
0
,
0.2
,
0.1
,
flow_eDrawType_Line
,
2
,
0
);
brow_AddAnnotPixmap
(
nc_object
,
1
,
1.1
,
0.1
,
flow_eDrawType_Line
,
2
,
0
);
brow_AddAnnot
(
nc_object
,
2
,
0.6
,
0
,
...
...
@@ -165,12 +164,12 @@ void CoXHelpNavBrow::create_nodeclasses()
brow_AddAnnot
(
nc_object
,
11
,
0.6
,
2
,
flow_eDrawType_TextHelveticaBold
,
2
,
flow_eAnnotType_OneLine
,
1
);
brow_AddFrame
(
nc_object
,
0
,
0
,
20
,
0.8
,
flow_eDrawType_LineGray
,
-
1
,
1
);
// Create text
brow_CreateNodeClass
(
ctx
,
"NavigatorText"
,
flow_eNodeGroup_Common
,
&
nc_text
);
brow_AddFrame
(
nc_text
,
0
,
0
,
20
,
0.8
,
flow_eDrawType_Line
,
-
1
,
1
);
brow_AddAnnotPixmap
(
nc_text
,
0
,
0.2
,
0.1
,
flow_eDrawType_Line
,
2
,
0
);
brow_AddAnnotPixmap
(
nc_text
,
1
,
1.1
,
0.1
,
flow_eDrawType_Line
,
2
,
0
);
brow_AddAnnot
(
nc_text
,
2
,
0.6
,
0
,
...
...
@@ -182,12 +181,12 @@ void CoXHelpNavBrow::create_nodeclasses()
brow_AddAnnot
(
nc_text
,
11
,
0.6
,
2
,
flow_eDrawType_TextHelvetica
,
2
,
flow_eAnnotType_OneLine
,
1
);
brow_AddFrame
(
nc_text
,
0
,
0
,
20
,
0.8
,
flow_eDrawType_LineGray
,
-
1
,
1
);
// Create Header
brow_CreateNodeClass
(
ctx
,
"NavigatorHead"
,
flow_eNodeGroup_Common
,
&
nc_header
);
brow_AddFrame
(
nc_header
,
0
,
0
,
20
,
1.4
,
flow_eDrawType_Line
,
-
1
,
1
);
brow_AddAnnotPixmap
(
nc_header
,
0
,
0.2
,
0.4
,
flow_eDrawType_Line
,
2
,
0
);
brow_AddAnnot
(
nc_header
,
2
,
1.0
,
0
,
flow_eDrawType_TextHelveticaBold
,
4
,
flow_eAnnotType_OneLine
,
...
...
@@ -195,12 +194,12 @@ void CoXHelpNavBrow::create_nodeclasses()
brow_AddAnnot
(
nc_header
,
8
,
1.0
,
1
,
flow_eDrawType_TextHelveticaBold
,
4
,
flow_eAnnotType_OneLine
,
1
);
brow_AddFrame
(
nc_header
,
0
,
0
,
20
,
1.4
,
flow_eDrawType_LineGray
,
-
1
,
1
);
// Create Header2
brow_CreateNodeClass
(
ctx
,
"NavigatorHeadLarge"
,
flow_eNodeGroup_Common
,
&
nc_headerlarge
);
brow_AddFrame
(
nc_headerlarge
,
0
,
0
,
20
,
2.0
,
flow_eDrawType_Line
,
-
1
,
1
);
brow_AddAnnotPixmap
(
nc_headerlarge
,
0
,
0.2
,
0.4
,
flow_eDrawType_Line
,
2
,
0
);
brow_AddAnnot
(
nc_headerlarge
,
2
,
1.0
,
0
,
flow_eDrawType_TextHelveticaBold
,
6
,
flow_eAnnotType_OneLine
,
...
...
@@ -208,6 +207,7 @@ void CoXHelpNavBrow::create_nodeclasses()
brow_AddAnnot
(
nc_headerlarge
,
8
,
1.0
,
1
,
flow_eDrawType_TextHelveticaBold
,
6
,
flow_eAnnotType_OneLine
,
1
);
brow_AddFrame
(
nc_headerlarge
,
0
,
0
,
20
,
2.0
,
flow_eDrawType_LineGray
,
-
1
,
1
);
// Create Horizontal line
...
...
@@ -1136,7 +1136,7 @@ static void *xhelpnav_help_insert_cb( void *ctx, navh_eItemType item_type, const
brow_tNodeClass
nc
;
brow_CreateNodeClass
(
xhelpnav
->
brow
->
ctx
,
"Image"
,
flow_eNodeGroup_Common
,
&
nc
);
brow_AddFrame
(
nc
,
0
,
0
,
20
,
0.8
,
flow_eDrawType_Line
,
-
1
,
1
);
brow_AddFrame
(
nc
,
0
,
0
,
20
,
0.8
,
flow_eDrawType_Line
Gray
,
-
1
,
1
);
brow_AddAnnotPixmap
(
nc
,
0
,
0.2
,
0.1
,
flow_eDrawType_Line
,
2
,
0
);
brow_AddImage
(
nc
,
text1
,
2
,
0
);
HItemHelpImage
*
item
=
new
HItemHelpImage
(
xhelpnav
->
brow
,
"help"
,
nc
,
...
...
src/lib/rt/src/rt_trace.cpp
View file @
bfbc1bb7
/*
* Proview $Id: rt_trace.cpp,v 1.
7 2008-05-28 11:43:43
claes Exp $
* Proview $Id: rt_trace.cpp,v 1.
8 2008-12-03 12:00:38
claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
...
...
@@ -1275,8 +1275,8 @@ int RtTrace::trace_start()
&
trace_analyse_nc
);
flow_AddRect
(
trace_analyse_nc
,
0
,
0
,
f_width
,
f_height
,
flow_eDrawType_Line
,
1
,
flow_mDisplayLevel_1
);
flow_AddAnnot
(
trace_analyse_nc
,
f_width
/
8
,
0.
7
*
f_height
,
0
,
flow_eDrawType_TextHelvetica
,
4
,
flow_eAnnotType_OneLine
,
flow_AddAnnot
(
trace_analyse_nc
,
f_width
/
8
,
0.
8
*
f_height
,
0
,
flow_eDrawType_TextHelvetica
,
3
,
flow_eAnnotType_OneLine
,
flow_mDisplayLevel_1
);
flow_AddConPoint
(
trace_analyse_nc
,
0
,
0.5
*
f_height
,
0
,
flow_eDirection_Left
);
...
...
wb/lib/wb/src/wb_nav.cpp
View file @
bfbc1bb7
/*
* Proview $Id: wb_nav.cpp,v 1.2
0 2008-11-28 17:14:04
claes Exp $
* Proview $Id: wb_nav.cpp,v 1.2
1 2008-12-03 12:00:38
claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
...
...
@@ -1609,7 +1609,6 @@ void Nav::create_nodeclasses()
brow_CreateNodeClass
(
brow_ctx
,
"NavigatorDefault"
,
flow_eNodeGroup_Common
,
&
nc_object
);
brow_AddFrame
(
nc_object
,
0
,
0
,
20
,
0.8
,
flow_eDrawType_Line
,
-
1
,
1
);
brow_AddAnnotPixmap
(
nc_object
,
0
,
0.2
,
0.1
,
flow_eDrawType_Line
,
2
,
0
);
brow_AddAnnotPixmap
(
nc_object
,
1
,
1.1
,
0.1
,
flow_eDrawType_Line
,
2
,
0
);
brow_AddAnnot
(
nc_object
,
2
,
0.6
,
0
,
...
...
@@ -1621,6 +1620,7 @@ void Nav::create_nodeclasses()
brow_AddAnnot
(
nc_object
,
9
,
0.6
,
2
,
flow_eDrawType_TextHelvetica
,
2
,
flow_eAnnotType_OneLine
,
1
);
brow_AddFrame
(
nc_object
,
0
,
0
,
20
,
0.8
,
flow_eDrawType_LineGray
,
-
1
,
1
);
}
//
...
...
wb/lib/wb/src/wb_pal.cpp
View file @
bfbc1bb7
/*
* Proview $Id: wb_pal.cpp,v 1.1
5 2008-11-28 17:14:04
claes Exp $
* Proview $Id: wb_pal.cpp,v 1.1
6 2008-12-03 12:00:38
claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
...
...
@@ -1397,12 +1397,12 @@ void Pal::create_nodeclasses()
brow_CreateNodeClass
(
brow_ctx
,
"PaletteDefault"
,
flow_eNodeGroup_Common
,
&
nc
);
brow_AddFrame
(
nc
,
0
,
0
,
10
,
0.8
,
flow_eDrawType_Line
,
-
1
,
1
);
brow_AddAnnotPixmap
(
nc
,
0
,
0.2
,
0.1
,
flow_eDrawType_Line
,
2
,
0
);
brow_AddAnnot
(
nc
,
1.2
,
0.6
,
0
,
flow_eDrawType_TextHelvetica
,
2
,
flow_eAnnotType_OneLine
,
0
);
brow_AddAnnotPixmap
(
nc
,
1
,
7
,
0.1
,
flow_eDrawType_Line
,
2
,
1
);
brow_AddFrame
(
nc
,
0
,
0
,
10
,
0.8
,
flow_eDrawType_LineGray
,
-
1
,
1
);
}
//
...
...
wb/lib/wb/src/wb_wnav_brow.cpp
View file @
bfbc1bb7
/*
* Proview $Id: wb_wnav_brow.cpp,v 1.1
1 2008-11-28 17:14:04
claes Exp $
* Proview $Id: wb_wnav_brow.cpp,v 1.1
2 2008-12-03 12:00:38
claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
...
...
@@ -978,7 +978,6 @@ void WNavBrow::create_nodeclasses()
brow_CreateNodeClass
(
ctx
,
"NavigatorDefault"
,
flow_eNodeGroup_Common
,
&
nc_object
);
brow_AddFrame
(
nc_object
,
0
,
0
,
20
,
0.8
,
flow_eDrawType_Line
,
-
1
,
1
);
brow_AddAnnotPixmap
(
nc_object
,
0
,
0.2
,
0.1
,
flow_eDrawType_Line
,
2
,
0
);
brow_AddAnnotPixmap
(
nc_object
,
1
,
1.1
,
0.1
,
flow_eDrawType_Line
,
2
,
0
);
brow_AddAnnot
(
nc_object
,
2
,
0.6
,
0
,
...
...
@@ -990,12 +989,12 @@ void WNavBrow::create_nodeclasses()
brow_AddAnnot
(
nc_object
,
11
,
0.6
,
2
,
flow_eDrawType_TextHelvetica
,
2
,
flow_eAnnotType_OneLine
,
1
);
brow_AddFrame
(
nc_object
,
0
,
0
,
20
,
0.8
,
flow_eDrawType_LineGray
,
-
1
,
1
);
// Create multi object class
brow_CreateNodeClass
(
ctx
,
"NavigatorObject"
,
flow_eNodeGroup_Common
,
&
nc_multiobject
);
brow_AddFrame
(
nc_multiobject
,
0
,
0
,
20
,
0.8
,
flow_eDrawType_Line
,
-
1
,
1
);
brow_AddAnnotPixmap
(
nc_multiobject
,
0
,
0.2
,
0.1
,
flow_eDrawType_Line
,
2
,
0
);
brow_AddAnnotPixmap
(
nc_multiobject
,
1
,
1.1
,
0.1
,
flow_eDrawType_Line
,
2
,
0
);
brow_AddAnnot
(
nc_multiobject
,
2
,
0.6
,
0
,
...
...
@@ -1026,12 +1025,12 @@ void WNavBrow::create_nodeclasses()
brow_AddAnnot
(
nc_multiobject
,
18.7
,
0.6
,
7
,
flow_eDrawType_TextHelvetica
,
2
,
flow_eAnnotType_OneLine
,
1
);
brow_AddFrame
(
nc_multiobject
,
0
,
0
,
20
,
0.8
,
flow_eDrawType_LineGray
,
-
1
,
1
);
// Create attribute nodeclass
brow_CreateNodeClass
(
ctx
,
"NavigatorAttr"
,
flow_eNodeGroup_Common
,
&
nc_attr
);
brow_AddFrame
(
nc_attr
,
0
,
0
,
20
,
0.8
,
flow_eDrawType_Line
,
-
1
,
1
);
brow_AddAnnotPixmap
(
nc_attr
,
0
,
0.2
,
0.1
,
flow_eDrawType_Line
,
2
,
0
);
brow_AddAnnotPixmap
(
nc_attr
,
1
,
1.1
,
0.1
,
flow_eDrawType_Line
,
2
,
0
);
brow_AddAnnot
(
nc_attr
,
2
,
0.6
,
0
,
...
...
@@ -1040,12 +1039,12 @@ void WNavBrow::create_nodeclasses()
brow_AddAnnot
(
nc_attr
,
8
,
0.6
,
1
,
flow_eDrawType_TextHelvetica
,
2
,
flow_eAnnotType_OneLine
,
1
);
brow_AddFrame
(
nc_attr
,
0
,
0
,
20
,
0.8
,
flow_eDrawType_LineGray
,
-
1
,
1
);
// Create attribute nodeclass for fullname display
brow_CreateNodeClass
(
ctx
,
"NavigatorAttrFull"
,
flow_eNodeGroup_Common
,
&
nc_attr_full
);
brow_AddFrame
(
nc_attr_full
,
0
,
0
,
60
,
0.8
,
flow_eDrawType_Line
,
-
1
,
1
);
brow_AddAnnotPixmap
(
nc_attr_full
,
0
,
0.2
,
0.1
,
flow_eDrawType_Line
,
2
,
0
);
brow_AddAnnotPixmap
(
nc_attr_full
,
1
,
1.1
,
0.1
,
flow_eDrawType_Line
,
2
,
0
);
brow_AddAnnot
(
nc_attr_full
,
2
,
0.6
,
0
,
...
...
@@ -1054,13 +1053,11 @@ void WNavBrow::create_nodeclasses()
brow_AddAnnot
(
nc_attr_full
,
25
,
0.6
,
1
,
flow_eDrawType_TextHelvetica
,
2
,
flow_eAnnotType_OneLine
,
1
);
brow_AddFrame
(
nc_attr_full
,
0
,
0
,
60
,
0.8
,
flow_eDrawType_LineGray
,
-
1
,
1
);
// Input with Used and Inverted radiobutton
brow_CreateNodeClass
(
ctx
,
"NavigatorAttrInput"
,
flow_eNodeGroup_Common
,
&
nc_attr_input
);
brow_AddRadiobutton
(
nc_attr_input
,
14
,
0.1
,
0.7
,
0.7
,
0
,
flow_eDrawType_Line
,
1
);
brow_AddRadiobutton
(
nc_attr_input
,
18
,
0.1
,
0.7
,
0.7
,
1
,
flow_eDrawType_Line
,
1
);
brow_AddFrame
(
nc_attr_input
,
0
,
0
,
20
,
0.8
,
flow_eDrawType_Line
,
-
1
,
1
);
brow_AddAnnotPixmap
(
nc_attr_input
,
0
,
0.2
,
0.1
,
flow_eDrawType_Line
,
2
,
0
);
brow_AddAnnotPixmap
(
nc_attr_input
,
1
,
1.1
,
0.1
,
flow_eDrawType_Line
,
2
,
0
);
brow_AddAnnot
(
nc_attr_input
,
2
,
0.6
,
0
,
...
...
@@ -1073,12 +1070,13 @@ void WNavBrow::create_nodeclasses()
flow_eDrawType_TextHelvetica
,
2
);
brow_AddText
(
nc_attr_input
,
"Inverted"
,
15
,
0.6
,
flow_eDrawType_TextHelvetica
,
2
);
brow_AddFrame
(
nc_attr_input
,
0
,
0
,
20
,
0.8
,
flow_eDrawType_LineGray
,
-
1
,
1
);
brow_AddRadiobutton
(
nc_attr_input
,
14
,
0.03
,
0.7
,
0.7
,
0
,
flow_eDrawType_Line
,
1
);
brow_AddRadiobutton
(
nc_attr_input
,
18
,
0.03
,
0.7
,
0.7
,
1
,
flow_eDrawType_Line
,
1
);
// Input with Inverted radiobutton
brow_CreateNodeClass
(
ctx
,
"NavigatorAttrInputNoinv"
,
flow_eNodeGroup_Common
,
&
nc_attr_inputinv
);
brow_AddRadiobutton
(
nc_attr_inputinv
,
15
,
0.1
,
0.7
,
0.7
,
0
,
flow_eDrawType_Line
,
1
);
brow_AddFrame
(
nc_attr_inputinv
,
0
,
0
,
20
,
0.8
,
flow_eDrawType_Line
,
-
1
,
1
);
brow_AddAnnotPixmap
(
nc_attr_inputinv
,
0
,
0.2
,
0.1
,
flow_eDrawType_Line
,
2
,
0
);
brow_AddAnnotPixmap
(
nc_attr_inputinv
,
1
,
1.1
,
0.1
,
flow_eDrawType_Line
,
2
,
0
);
brow_AddAnnot
(
nc_attr_inputinv
,
2
,
0.6
,
0
,
...
...
@@ -1089,12 +1087,12 @@ void WNavBrow::create_nodeclasses()
1
);
brow_AddText
(
nc_attr_inputinv
,
"Inverted"
,
12
,
0.6
,
flow_eDrawType_TextHelvetica
,
2
);
brow_AddFrame
(
nc_attr_inputinv
,
0
,
0
,
20
,
0.8
,
flow_eDrawType_LineGray
,
-
1
,
1
);
brow_AddRadiobutton
(
nc_attr_inputinv
,
15
,
0.03
,
0.7
,
0.7
,
0
,
flow_eDrawType_Line
,
1
);
// Input and output with Used radiobutton
brow_CreateNodeClass
(
ctx
,
"NavigatorAttrOutput"
,
flow_eNodeGroup_Common
,
&
nc_attr_output
);
brow_AddRadiobutton
(
nc_attr_output
,
14
,
0.1
,
0.7
,
0.7
,
0
,
flow_eDrawType_Line
,
1
);
brow_AddFrame
(
nc_attr_output
,
0
,
0
,
20
,
0.8
,
flow_eDrawType_Line
,
-
1
,
1
);
brow_AddAnnotPixmap
(
nc_attr_output
,
0
,
0.2
,
0.1
,
flow_eDrawType_Line
,
2
,
0
);
brow_AddAnnotPixmap
(
nc_attr_output
,
1
,
1.1
,
0.1
,
flow_eDrawType_Line
,
2
,
0
);
brow_AddAnnot
(
nc_attr_output
,
2
,
0.6
,
0
,
...
...
@@ -1105,12 +1103,13 @@ void WNavBrow::create_nodeclasses()
1
);
brow_AddText
(
nc_attr_output
,
"Used"
,
12
,
0.6
,
flow_eDrawType_TextHelvetica
,
2
);
brow_AddFrame
(
nc_attr_output
,
0
,
0
,
20
,
0.8
,
flow_eDrawType_LineGray
,
-
1
,
1
);
brow_AddRadiobutton
(
nc_attr_output
,
14
,
0.03
,
0.7
,
0.7
,
0
,
flow_eDrawType_Line
,
1
);
// Create multiline attribute nodeclass
brow_CreateNodeClass
(
ctx
,
"NavigatorAttrMultiLine"
,
flow_eNodeGroup_Common
,
&
nc_attr_multiline
);
brow_AddFrame
(
nc_attr_multiline
,
0
,
0
,
20
,
0.8
,
flow_eDrawType_Line
,
-
1
,
1
);
brow_AddAnnotPixmap
(
nc_attr_multiline
,
0
,
0.2
,
0.1
,
flow_eDrawType_Line
,
2
,
0
);
brow_AddAnnotPixmap
(
nc_attr_multiline
,
1
,
1.1
,
0.1
,
flow_eDrawType_Line
,
2
,
0
);
brow_AddAnnot
(
nc_attr_multiline
,
2
,
0.6
,
0
,
...
...
@@ -1119,13 +1118,12 @@ void WNavBrow::create_nodeclasses()
brow_AddAnnot
(
nc_attr_multiline
,
8
,
0.6
,
1
,
flow_eDrawType_TextHelvetica
,
2
,
flow_eAnnotType_MultiLine
,
1
);
brow_AddFrame
(
nc_attr_multiline
,
0
,
0
,
20
,
0.8
,
flow_eDrawType_LineGray
,
-
1
,
1
);
// Create multiline attribute nodeclass for fullname
brow_CreateNodeClass
(
ctx
,
"NavigatorAttrMultiLineFull"
,
flow_eNodeGroup_Common
,
&
nc_attr_multiline_full
);
brow_AddFrame
(
nc_attr_multiline_full
,
0
,
0
,
60
,
0.8
,
flow_eDrawType_Line
,
-
1
,
1
);
brow_AddAnnotPixmap
(
nc_attr_multiline_full
,
0
,
0.2
,
0.1
,
flow_eDrawType_Line
,
2
,
0
);
brow_AddAnnotPixmap
(
nc_attr_multiline_full
,
1
,
1.1
,
0.1
,
...
...
@@ -1136,24 +1134,25 @@ void WNavBrow::create_nodeclasses()
brow_AddAnnot
(
nc_attr_multiline_full
,
25
,
0.6
,
1
,
flow_eDrawType_TextHelvetica
,
2
,
flow_eAnnotType_MultiLine
,
1
);
brow_AddFrame
(
nc_attr_multiline_full
,
0
,
0
,
60
,
0.8
,
flow_eDrawType_LineGray
,
-
1
,
1
);
// Create attribute nodeclass
brow_CreateNodeClass
(
ctx
,
"NavigatorEnum"
,
flow_eNodeGroup_Common
,
&
nc_enum
);
brow_AddRadiobutton
(
nc_enum
,
12
,
0.1
,
0.7
,
0.7
,
0
,
flow_eDrawType_Line
,
1
);
brow_AddFrame
(
nc_enum
,
0
,
0
,
20
,
0.8
,
flow_eDrawType_Line
,
-
1
,
1
);
brow_AddAnnotPixmap
(
nc_enum
,
0
,
0.2
,
0.1
,
flow_eDrawType_Line
,
2
,
0
);
brow_AddAnnotPixmap
(
nc_enum
,
1
,
1.1
,
0.1
,
flow_eDrawType_Line
,
2
,
0
);
brow_AddAnnot
(
nc_enum
,
2
,
0.6
,
0
,
flow_eDrawType_TextHelvetica
,
2
,
flow_eAnnotType_OneLine
,
0
);
brow_AddFrame
(
nc_enum
,
0
,
0
,
20
,
0.8
,
flow_eDrawType_LineGray
,
-
1
,
1
);
brow_AddRadiobutton
(
nc_enum
,
12
,
0.03
,
0.7
,
0.7
,
0
,
flow_eDrawType_Line
,
1
);
// Create table nodeclass
brow_CreateNodeClass
(
ctx
,
"NavigatorTable"
,
flow_eNodeGroup_Common
,
&
nc_table
);
brow_AddFrame
(
nc_table
,
0
,
0
,
20
,
0.8
,
flow_eDrawType_Line
,
-
1
,
1
);
brow_AddAnnotPixmap
(
nc_table
,
0
,
0.2
,
0.1
,
flow_eDrawType_Line
,
2
,
0
);
brow_AddAnnotPixmap
(
nc_table
,
1
,
1.1
,
0.1
,
flow_eDrawType_Line
,
2
,
0
);
brow_AddAnnot
(
nc_table
,
2
,
0.6
,
0
,
...
...
@@ -1186,12 +1185,12 @@ void WNavBrow::create_nodeclasses()
brow_AddAnnot
(
nc_table
,
38
,
0.6
,
9
,
flow_eDrawType_TextHelvetica
,
2
,
flow_eAnnotType_OneLine
,
1
);
brow_AddFrame
(
nc_table
,
0
,
0
,
20
,
0.8
,
flow_eDrawType_LineGray
,
-
1
,
1
);
// Create text
brow_CreateNodeClass
(
ctx
,
"NavigatorText"
,
flow_eNodeGroup_Common
,
&
nc_text
);
brow_AddFrame
(
nc_text
,
0
,
0
,
20
,
0.8
,
flow_eDrawType_Line
,
-
1
,
1
);
brow_AddAnnotPixmap
(
nc_text
,
0
,
0.2
,
0.1
,
flow_eDrawType_Line
,
2
,
0
);
brow_AddAnnotPixmap
(
nc_text
,
1
,
1.1
,
0.1
,
flow_eDrawType_Line
,
2
,
0
);
brow_AddAnnot
(
nc_text
,
2
,
0.6
,
0
,
...
...
@@ -1203,12 +1202,12 @@ void WNavBrow::create_nodeclasses()
brow_AddAnnot
(
nc_text
,
11
,
0.6
,
2
,
flow_eDrawType_TextHelvetica
,
2
,
flow_eAnnotType_OneLine
,
1
);
brow_AddFrame
(
nc_text
,
0
,
0
,
20
,
0.8
,
flow_eDrawType_LineGray
,
-
1
,
1
);
// Create Header
brow_CreateNodeClass
(
ctx
,
"NavigatorHead"
,
flow_eNodeGroup_Common
,
&
nc_header
);
brow_AddFrame
(
nc_header
,
0
,
0
,
20
,
0.8
,
flow_eDrawType_LineGray
,
2
,
1
);
brow_AddAnnotPixmap
(
nc_header
,
0
,
0.2
,
0.1
,
flow_eDrawType_Line
,
2
,
0
);
brow_AddAnnot
(
nc_header
,
2
,
0.6
,
0
,
flow_eDrawType_TextHelveticaBold
,
2
,
flow_eAnnotType_OneLine
,
...
...
@@ -1216,12 +1215,12 @@ void WNavBrow::create_nodeclasses()
brow_AddAnnot
(
nc_header
,
8
,
0.6
,
1
,
flow_eDrawType_TextHelveticaBold
,
2
,
flow_eAnnotType_OneLine
,
1
);
brow_AddFrame
(
nc_header
,
0
,
0
,
20
,
0.8
,
flow_eDrawType_LineGray
,
2
,
1
);
// Create Header2
brow_CreateNodeClass
(
ctx
,
"NavigatorHeadLarge"
,
flow_eNodeGroup_Common
,
&
nc_headerlarge
);
brow_AddFrame
(
nc_headerlarge
,
0
,
0
,
20
,
1.4
,
flow_eDrawType_Line
,
-
1
,
1
);
brow_AddAnnotPixmap
(
nc_headerlarge
,
0
,
0.5
,
0.1
,
flow_eDrawType_Line
,
2
,
0
);
brow_AddAnnot
(
nc_headerlarge
,
2
,
1.0
,
0
,
flow_eDrawType_TextHelveticaBold
,
4
,
flow_eAnnotType_OneLine
,
...
...
@@ -1229,12 +1228,12 @@ void WNavBrow::create_nodeclasses()
brow_AddAnnot
(
nc_headerlarge
,
8
,
1.0
,
1
,
flow_eDrawType_TextHelveticaBold
,
4
,
flow_eAnnotType_OneLine
,
1
);
brow_AddFrame
(
nc_headerlarge
,
0
,
0
,
20
,
1.4
,
flow_eDrawType_LineGray
,
-
1
,
1
);
// Create TableHeader
brow_CreateNodeClass
(
ctx
,
"NavigatorTableHead"
,
flow_eNodeGroup_Common
,
&
nc_table_header
);
brow_AddFrame
(
nc_table_header
,
0
,
0
,
20
,
0.8
,
flow_eDrawType_LineGray
,
2
,
1
);
brow_AddAnnotPixmap
(
nc_table_header
,
0
,
0.2
,
0.1
,
flow_eDrawType_Line
,
2
,
0
);
brow_AddAnnot
(
nc_table_header
,
2
,
0.6
,
0
,
flow_eDrawType_TextHelveticaBold
,
2
,
flow_eAnnotType_OneLine
,
...
...
@@ -1266,5 +1265,5 @@ void WNavBrow::create_nodeclasses()
brow_AddAnnot
(
nc_table_header
,
38
,
0.6
,
9
,
flow_eDrawType_TextHelveticaBold
,
2
,
flow_eAnnotType_OneLine
,
0
);
brow_AddFrame
(
nc_table_header
,
0
,
0
,
20
,
0.8
,
flow_eDrawType_LineGray
,
2
,
1
);
}
xtt/lib/xtt/src/xtt_clognav.cpp
View file @
bfbc1bb7
/*
* Proview $Id: xtt_clognav.cpp,v 1.1
1 2008-11-28 17:13:45
claes Exp $
* Proview $Id: xtt_clognav.cpp,v 1.1
2 2008-12-03 12:00:38
claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
...
...
@@ -97,7 +97,6 @@ void CLogNavBrow::create_nodeclasses()
brow_CreateNodeClass
(
ctx
,
"EventDefault"
,
flow_eNodeGroup_Common
,
&
nc_event
);
brow_AddFrame
(
nc_event
,
0
,
0
,
35
,
0.8
,
flow_eDrawType_Line
,
-
1
,
1
);
brow_AddAnnot
(
nc_event
,
0.8
,
0.6
,
0
,
flow_eDrawType_TextHelveticaBold
,
2
,
flow_eAnnotType_OneLine
,
0
);
...
...
@@ -112,11 +111,11 @@ void CLogNavBrow::create_nodeclasses()
brow_AddAnnot
(
nc_event
,
26
,
0.6
,
3
,
flow_eDrawType_TextHelvetica
,
2
,
flow_eAnnotType_OneLine
,
1
);
brow_AddFrame
(
nc_event
,
0
,
0
,
35
,
0.8
,
flow_eDrawType_LineGray
,
-
1
,
1
);
// Nodeclass for Info message
brow_CreateNodeClass
(
ctx
,
"InfoMsg"
,
flow_eNodeGroup_Common
,
&
nc_msg_info
);
brow_AddFrame
(
nc_msg_info
,
0
,
0
,
35
,
0.8
,
flow_eDrawType_Line
,
-
1
,
1
);
brow_AddFilledRect
(
nc_msg_info
,
0.2
,
0.15
,
0.4
,
0.4
,
flow_eDrawType_Green
);
brow_AddRect
(
nc_msg_info
,
0.2
,
0.15
,
0.4
,
0.4
,
flow_eDrawType_Line
,
0
,
0
);
brow_AddAnnot
(
nc_msg_info
,
0.8
,
0.6
,
0
,
...
...
@@ -134,11 +133,11 @@ void CLogNavBrow::create_nodeclasses()
brow_AddAnnot
(
nc_msg_info
,
18
,
0.6
,
4
,
flow_eDrawType_TextHelvetica
,
2
,
flow_eAnnotType_OneLine
,
0
);
brow_AddFrame
(
nc_msg_info
,
0
,
0
,
35
,
0.8
,
flow_eDrawType_LineGray
,
-
1
,
1
);
// Nodeclass for Warning message
brow_CreateNodeClass
(
ctx
,
"WarningMsg"
,
flow_eNodeGroup_Common
,
&
nc_msg_warning
);
brow_AddFrame
(
nc_msg_warning
,
0
,
0
,
35
,
0.8
,
flow_eDrawType_Line
,
-
1
,
1
);
brow_AddFilledRect
(
nc_msg_warning
,
0.2
,
0.15
,
0.4
,
0.4
,
flow_eDrawType_Yellow
);
brow_AddRect
(
nc_msg_warning
,
0.2
,
0.15
,
0.4
,
0.4
,
flow_eDrawType_Line
,
0
,
0
);
brow_AddAnnot
(
nc_msg_warning
,
0.8
,
0.6
,
0
,
...
...
@@ -156,11 +155,11 @@ void CLogNavBrow::create_nodeclasses()
brow_AddAnnot
(
nc_msg_warning
,
18
,
0.6
,
4
,
flow_eDrawType_TextHelvetica
,
2
,
flow_eAnnotType_OneLine
,
0
);
brow_AddFrame
(
nc_msg_warning
,
0
,
0
,
35
,
0.8
,
flow_eDrawType_LineGray
,
-
1
,
1
);
// Nodeclass for Error message
brow_CreateNodeClass
(
ctx
,
"ErrorMsg"
,
flow_eNodeGroup_Common
,
&
nc_msg_error
);
brow_AddFrame
(
nc_msg_error
,
0
,
0
,
35
,
0.8
,
flow_eDrawType_Line
,
-
1
,
1
);
brow_AddFilledRect
(
nc_msg_error
,
0.2
,
0.15
,
0.4
,
0.4
,
flow_eDrawType_LineRed
);
brow_AddRect
(
nc_msg_error
,
0.2
,
0.15
,
0.4
,
0.4
,
flow_eDrawType_Line
,
0
,
0
);
brow_AddAnnot
(
nc_msg_error
,
0.8
,
0.6
,
0
,
...
...
@@ -178,11 +177,11 @@ void CLogNavBrow::create_nodeclasses()
brow_AddAnnot
(
nc_msg_error
,
18
,
0.6
,
4
,
flow_eDrawType_TextHelvetica
,
2
,
flow_eAnnotType_OneLine
,
0
);
brow_AddFrame
(
nc_msg_error
,
0
,
0
,
35
,
0.8
,
flow_eDrawType_LineGray
,
-
1
,
1
);
// Nodeclass for Fatal messages
brow_CreateNodeClass
(
ctx
,
"FatalMsg"
,
flow_eNodeGroup_Common
,
&
nc_msg_fatal
);
brow_AddFrame
(
nc_msg_fatal
,
0
,
0
,
35
,
0.8
,
flow_eDrawType_Line
,
-
1
,
1
);
brow_AddFilledRect
(
nc_msg_fatal
,
0.2
,
0.15
,
0.4
,
0.4
,
flow_eDrawType_LineRed
);
brow_AddRect
(
nc_msg_fatal
,
0.2
,
0.15
,
0.4
,
0.4
,
flow_eDrawType_Line
,
4
,
0
);
brow_AddAnnot
(
nc_msg_fatal
,
0.8
,
0.6
,
0
,
...
...
@@ -200,11 +199,11 @@ void CLogNavBrow::create_nodeclasses()
brow_AddAnnot
(
nc_msg_fatal
,
18
,
0.6
,
4
,
flow_eDrawType_TextHelvetica
,
2
,
flow_eAnnotType_OneLine
,
0
);
brow_AddFrame
(
nc_msg_fatal
,
0
,
0
,
35
,
0.8
,
flow_eDrawType_LineGray
,
-
1
,
1
);
// Nodeclass for Proview restart
brow_CreateNodeClass
(
ctx
,
"Restart"
,
flow_eNodeGroup_Common
,
&
nc_restart
);
brow_AddFrame
(
nc_restart
,
0
,
0
,
35
,
0.8
,
flow_eDrawType_Line
,
-
1
,
1
);
brow_AddFilledRect
(
nc_restart
,
0
,
0
,
48
,
0.8
,
flow_eDrawType_Yellow
);
brow_AddAnnot
(
nc_restart
,
11
,
0.6
,
0
,
flow_eDrawType_TextHelveticaBold
,
2
,
flow_eAnnotType_OneLine
,
...
...
@@ -212,14 +211,15 @@ void CLogNavBrow::create_nodeclasses()
brow_AddAnnot
(
nc_restart
,
18
,
0.6
,
1
,
flow_eDrawType_TextHelveticaBold
,
2
,
flow_eAnnotType_OneLine
,
0
);
brow_AddFrame
(
nc_restart
,
0
,
0
,
35
,
0.8
,
flow_eDrawType_LineGray
,
-
1
,
1
);
brow_CreateNodeClass
(
ctx
,
"Text"
,
flow_eNodeGroup_Common
,
&
nc_text
);
brow_AddFrame
(
nc_text
,
0
,
0
,
35
,
0.8
,
flow_eDrawType_Line
,
-
1
,
1
);
brow_AddRect
(
nc_text
,
0.2
,
0.15
,
0.4
,
0.4
,
flow_eDrawType_Line
,
0
,
0
);
brow_AddAnnot
(
nc_text
,
18
,
0.6
,
0
,
flow_eDrawType_TextHelvetica
,
2
,
flow_eAnnotType_OneLine
,
0
);
brow_AddFrame
(
nc_text
,
0
,
0
,
35
,
0.8
,
flow_eDrawType_LineGray
,
-
1
,
1
);
}
...
...
xtt/lib/xtt/src/xtt_evlist.cpp
View file @
bfbc1bb7
/*
* Proview $Id: xtt_evlist.cpp,v 1.2
2 2008-11-28 17:13:45
claes Exp $
* Proview $Id: xtt_evlist.cpp,v 1.2
3 2008-12-03 12:00:38
claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
...
...
@@ -193,7 +193,6 @@ void EvListBrow::create_nodeclasses()
brow_CreateNodeClass
(
ctx
,
"EventDefault"
,
flow_eNodeGroup_Common
,
&
nc_event
);
brow_AddFrame
(
nc_event
,
0
,
0
,
35
,
0.8
,
flow_eDrawType_Line
,
-
1
,
1
);
brow_AddAnnot
(
nc_event
,
0.8
,
0.6
,
0
,
flow_eDrawType_TextHelveticaBold
,
2
,
flow_eAnnotType_OneLine
,
0
);
brow_AddAnnotPixmap
(
nc_event
,
0
,
1.6
,
0.1
,
flow_eDrawType_Line
,
2
,
0
);
...
...
@@ -210,11 +209,11 @@ void EvListBrow::create_nodeclasses()
brow_AddAnnot
(
nc_event
,
28
,
0.6
,
4
,
flow_eDrawType_TextHelvetica
,
2
,
flow_eAnnotType_OneLine
,
1
);
brow_AddFrame
(
nc_event
,
0
,
0
,
35
,
0.8
,
flow_eDrawType_LineGray
,
-
1
,
1
);
// Nodeclass for A-alarm
brow_CreateNodeClass
(
ctx
,
"A_Alarm"
,
flow_eNodeGroup_Common
,
&
nc_a_alarm
);
brow_AddFrame
(
nc_a_alarm
,
0
,
0
,
35
,
0.8
,
flow_eDrawType_Line
,
-
1
,
1
);
brow_AddFilledRect
(
nc_a_alarm
,
0.2
,
0.15
,
0.4
,
0.4
,
flow_eDrawType_LineRed
);
brow_AddRect
(
nc_a_alarm
,
0.2
,
0.15
,
0.4
,
0.4
,
flow_eDrawType_Line
,
0
,
0
);
brow_AddAnnot
(
nc_a_alarm
,
0.8
,
0.6
,
0
,
...
...
@@ -229,11 +228,11 @@ void EvListBrow::create_nodeclasses()
flow_eDrawType_TextHelvetica
,
2
,
flow_eAnnotType_OneLine
,
1
);
brow_AddAnnot
(
nc_a_alarm
,
28
,
0.6
,
4
,
flow_eDrawType_TextHelvetica
,
2
,
flow_eAnnotType_OneLine
,
1
);
brow_AddFrame
(
nc_a_alarm
,
0
,
0
,
35
,
0.8
,
flow_eDrawType_LineGray
,
-
1
,
1
);
// Nodeclass for B-alarm
brow_CreateNodeClass
(
ctx
,
"B_Alarm"
,
flow_eNodeGroup_Common
,
&
nc_b_alarm
);
brow_AddFrame
(
nc_b_alarm
,
0
,
0
,
35
,
0.8
,
flow_eDrawType_Line
,
-
1
,
1
);
brow_AddFilledRect
(
nc_b_alarm
,
0.2
,
0.15
,
0.4
,
0.4
,
flow_eDrawType_Yellow
);
brow_AddRect
(
nc_b_alarm
,
0.2
,
0.15
,
0.4
,
0.4
,
flow_eDrawType_Line
,
0
,
0
);
brow_AddAnnot
(
nc_b_alarm
,
0.8
,
0.6
,
0
,
...
...
@@ -248,11 +247,11 @@ void EvListBrow::create_nodeclasses()
flow_eDrawType_TextHelvetica
,
2
,
flow_eAnnotType_OneLine
,
1
);
brow_AddAnnot
(
nc_b_alarm
,
28
,
0.6
,
4
,
flow_eDrawType_TextHelvetica
,
2
,
flow_eAnnotType_OneLine
,
1
);
brow_AddFrame
(
nc_b_alarm
,
0
,
0
,
35
,
0.8
,
flow_eDrawType_LineGray
,
-
1
,
1
);
// Nodeclass for Info
brow_CreateNodeClass
(
ctx
,
"Info"
,
flow_eNodeGroup_Common
,
&
nc_info
);
brow_AddFrame
(
nc_info
,
0
,
0
,
35
,
0.8
,
flow_eDrawType_Line
,
-
1
,
1
);
brow_AddFilledRect
(
nc_info
,
0.2
,
0.15
,
0.4
,
0.4
,
flow_eDrawType_Green
);
brow_AddRect
(
nc_info
,
0.2
,
0.15
,
0.4
,
0.4
,
flow_eDrawType_Line
,
0
,
0
);
brow_AddAnnot
(
nc_info
,
0.8
,
0.6
,
0
,
...
...
@@ -267,6 +266,7 @@ void EvListBrow::create_nodeclasses()
flow_eDrawType_TextHelvetica
,
2
,
flow_eAnnotType_OneLine
,
1
);
brow_AddAnnot
(
nc_info
,
28
,
0.6
,
4
,
flow_eDrawType_TextHelvetica
,
2
,
flow_eAnnotType_OneLine
,
1
);
brow_AddFrame
(
nc_info
,
0
,
0
,
35
,
0.8
,
flow_eDrawType_LineGray
,
-
1
,
1
);
}
...
...
xtt/lib/xtt/src/xtt_xnav_brow.cpp
View file @
bfbc1bb7
/*
* Proview $Id: xtt_xnav_brow.cpp,v 1.1
0 2008-11-28 17:13:45
claes Exp $
* Proview $Id: xtt_xnav_brow.cpp,v 1.1
1 2008-12-03 12:00:38
claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
...
...
@@ -1014,12 +1014,12 @@ void XNavBrow::create_nodeclasses()
brow_AddAnnot
(
nc_object
,
11.9
,
0.6
,
2
,
flow_eDrawType_TextHelvetica
,
2
,
flow_eAnnotType_OneLine
,
1
);
brow_AddFrame
(
nc_object
,
0
,
0
,
20
,
0.8
,
flow_eDrawType_LineGray
,
-
1
,
1
);
// Create attribute nodeclass
brow_CreateNodeClass
(
ctx
,
"NavigatorAttr"
,
flow_eNodeGroup_Common
,
&
nc_attr
);
brow_AddFrame
(
nc_attr
,
0
,
0
,
20
,
0.8
,
flow_eDrawType_Line
,
-
1
,
1
);
brow_AddAnnotPixmap
(
nc_attr
,
0
,
0.2
,
0.1
,
flow_eDrawType_Line
,
2
,
0
);
brow_AddAnnot
(
nc_attr
,
2.9
,
0.6
,
0
,
flow_eDrawType_TextHelvetica
,
2
,
flow_eAnnotType_OneLine
,
...
...
@@ -1027,12 +1027,12 @@ void XNavBrow::create_nodeclasses()
brow_AddAnnot
(
nc_attr
,
8.9
,
0.6
,
1
,
flow_eDrawType_TextHelvetica
,
2
,
flow_eAnnotType_OneLine
,
1
);
brow_AddFrame
(
nc_attr
,
0
,
0
,
20
,
0.8
,
flow_eDrawType_LineGray
,
-
1
,
1
);
// Create table nodeclass
brow_CreateNodeClass
(
ctx
,
"NavigatorTable"
,
flow_eNodeGroup_Common
,
&
nc_table
);
brow_AddFrame
(
nc_table
,
0
,
0
,
20
,
0.8
,
flow_eDrawType_Line
,
-
1
,
1
);
brow_AddAnnotPixmap
(
nc_table
,
0
,
0.2
,
0.1
,
flow_eDrawType_Line
,
2
,
0
);
brow_AddAnnotPixmap
(
nc_table
,
1
,
1.1
,
0.1
,
flow_eDrawType_Line
,
2
,
0
);
brow_AddAnnot
(
nc_table
,
2.9
,
0.6
,
0
,
...
...
@@ -1065,12 +1065,12 @@ void XNavBrow::create_nodeclasses()
brow_AddAnnot
(
nc_table
,
38.9
,
0.6
,
9
,
flow_eDrawType_TextHelvetica
,
2
,
flow_eAnnotType_OneLine
,
1
);
brow_AddFrame
(
nc_table
,
0
,
0
,
20
,
0.8
,
flow_eDrawType_LineGray
,
-
1
,
1
);
// Create text
brow_CreateNodeClass
(
ctx
,
"NavigatorText"
,
flow_eNodeGroup_Common
,
&
nc_text
);
brow_AddFrame
(
nc_text
,
0
,
0
,
20
,
0.8
,
flow_eDrawType_Line
,
-
1
,
1
);
brow_AddAnnotPixmap
(
nc_text
,
0
,
0.2
,
0.1
,
flow_eDrawType_Line
,
2
,
0
);
brow_AddAnnotPixmap
(
nc_text
,
1
,
1.1
,
0.1
,
flow_eDrawType_Line
,
2
,
0
);
brow_AddAnnot
(
nc_text
,
2.9
,
0.6
,
0
,
...
...
@@ -1082,12 +1082,12 @@ void XNavBrow::create_nodeclasses()
brow_AddAnnot
(
nc_text
,
11.9
,
0.6
,
2
,
flow_eDrawType_TextHelvetica
,
2
,
flow_eAnnotType_OneLine
,
1
);
brow_AddFrame
(
nc_text
,
0
,
0
,
20
,
0.8
,
flow_eDrawType_LineGray
,
-
1
,
1
);
// Create Header
brow_CreateNodeClass
(
ctx
,
"NavigatorHead"
,
flow_eNodeGroup_Common
,
&
nc_header
);
brow_AddFrame
(
nc_header
,
0
,
0
,
20
,
0.8
,
flow_eDrawType_LineGray
,
2
,
1
);
brow_AddAnnotPixmap
(
nc_header
,
0
,
0.2
,
0.1
,
flow_eDrawType_Line
,
2
,
0
);
brow_AddAnnot
(
nc_header
,
2.9
,
0.6
,
0
,
flow_eDrawType_TextHelveticaBold
,
2
,
flow_eAnnotType_OneLine
,
...
...
@@ -1095,12 +1095,12 @@ void XNavBrow::create_nodeclasses()
brow_AddAnnot
(
nc_header
,
8.9
,
0.6
,
1
,
flow_eDrawType_TextHelveticaBold
,
2
,
flow_eAnnotType_OneLine
,
1
);
brow_AddFrame
(
nc_header
,
0
,
0
,
20
,
0.8
,
flow_eDrawType_LineGray
,
2
,
1
);
// Create Header2
brow_CreateNodeClass
(
ctx
,
"NavigatorHeadLarge"
,
flow_eNodeGroup_Common
,
&
nc_headerlarge
);
brow_AddFrame
(
nc_headerlarge
,
0
,
0
,
20
,
1.4
,
flow_eDrawType_Line
,
-
1
,
1
);
brow_AddAnnotPixmap
(
nc_headerlarge
,
0
,
0.5
,
0.1
,
flow_eDrawType_Line
,
2
,
0
);
brow_AddAnnot
(
nc_headerlarge
,
2.9
,
1.0
,
0
,
flow_eDrawType_TextHelveticaBold
,
4
,
flow_eAnnotType_OneLine
,
...
...
@@ -1108,12 +1108,12 @@ void XNavBrow::create_nodeclasses()
brow_AddAnnot
(
nc_headerlarge
,
8.9
,
1.0
,
1
,
flow_eDrawType_TextHelveticaBold
,
4
,
flow_eAnnotType_OneLine
,
1
);
brow_AddFrame
(
nc_headerlarge
,
0
,
0
,
20
,
1.4
,
flow_eDrawType_LineGray
,
-
1
,
1
);
// Create TableHeader
brow_CreateNodeClass
(
ctx
,
"NavigatorTableHead"
,
flow_eNodeGroup_Common
,
&
nc_table_header
);
brow_AddFrame
(
nc_table_header
,
0
,
0
,
20
,
0.8
,
flow_eDrawType_LineGray
,
2
,
1
);
brow_AddAnnotPixmap
(
nc_table_header
,
0
,
0.2
,
0.1
,
flow_eDrawType_Line
,
2
,
0
);
brow_AddAnnot
(
nc_table_header
,
2.9
,
0.6
,
0
,
flow_eDrawType_TextHelveticaBold
,
2
,
flow_eAnnotType_OneLine
,
...
...
@@ -1145,16 +1145,17 @@ void XNavBrow::create_nodeclasses()
brow_AddAnnot
(
nc_table_header
,
38.9
,
0.6
,
9
,
flow_eDrawType_TextHelveticaBold
,
2
,
flow_eAnnotType_OneLine
,
0
);
brow_AddFrame
(
nc_table_header
,
0
,
0
,
20
,
0.8
,
flow_eDrawType_LineGray
,
2
,
1
);
brow_CreateNodeClass
(
ctx
,
"NavigatorEnum"
,
flow_eNodeGroup_Common
,
&
nc_enum
);
brow_AddRadiobutton
(
nc_enum
,
12
,
0.1
,
0.7
,
0.7
,
0
,
flow_eDrawType_Line
,
1
);
brow_AddFrame
(
nc_enum
,
0
,
0
,
20
,
0.8
,
flow_eDrawType_Line
,
-
1
,
1
);
brow_AddAnnotPixmap
(
nc_enum
,
0
,
0.2
,
0.1
,
flow_eDrawType_Line
,
2
,
0
);
brow_AddAnnotPixmap
(
nc_enum
,
1
,
1.1
,
0.1
,
flow_eDrawType_Line
,
2
,
0
);
brow_AddAnnot
(
nc_enum
,
2.9
,
0.6
,
0
,
flow_eDrawType_TextHelvetica
,
2
,
flow_eAnnotType_OneLine
,
0
);
brow_AddFrame
(
nc_enum
,
0
,
0
,
20
,
0.8
,
flow_eDrawType_LineGray
,
-
1
,
1
);
brow_AddRadiobutton
(
nc_enum
,
12
,
0.03
,
0.7
,
0.7
,
0
,
flow_eDrawType_Line
,
1
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment