Commit bfbc1bb7 authored by claes's avatar claes

Frame drawn after text

parent 7c78de3b
/* /*
* 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. * Copyright (C) 2005 SSAB Oxelsund AB.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
...@@ -1188,99 +1188,98 @@ void GsdAttrNavBrow::create_nodeclasses() ...@@ -1188,99 +1188,98 @@ void GsdAttrNavBrow::create_nodeclasses()
brow_CreateNodeClass( ctx, "NavigatorDefault", brow_CreateNodeClass( ctx, "NavigatorDefault",
flow_eNodeGroup_Common, &nc_object); 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, 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_AddAnnotPixmap( nc_object, 1, 1.1, 0.1, flow_eDrawType_Line, 2, 0);
brow_AddAnnot( nc_object, 2, 0.6, 0, brow_AddAnnot( nc_object, 2, 0.6, 0,
flow_eDrawType_TextHelveticaBold, 2, flow_eAnnotType_OneLine, flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine,
0); 0);
brow_AddAnnot( nc_object, 7, 0.6, 1, brow_AddAnnot( nc_object, 7, 0.6, 1,
flow_eDrawType_TextHelveticaBold, 2, flow_eAnnotType_OneLine, flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine,
1); 1);
brow_AddAnnot( nc_object, 12, 0.6, 2, brow_AddAnnot( nc_object, 12, 0.6, 2,
flow_eDrawType_TextHelveticaBold, 2, flow_eAnnotType_OneLine, flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine,
1); 1);
brow_AddFrame( nc_object, 0, 0, 20, 0.8, flow_eDrawType_LineGray, -1, 1);
// Create attribute nodeclass // Create attribute nodeclass
brow_CreateNodeClass( ctx, "NavigatorGsdAttr", brow_CreateNodeClass( ctx, "NavigatorGsdAttr",
flow_eNodeGroup_Common, &nc_attr); 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, 0, 0.2, 0.1, flow_eDrawType_Line, 2, 0);
brow_AddAnnot( nc_attr, 2, 0.6, 0, brow_AddAnnot( nc_attr, 2, 0.6, 0,
flow_eDrawType_TextHelveticaBold, 2, flow_eAnnotType_OneLine, flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine,
0); 0);
brow_AddAnnot( nc_attr, 12, 0.6, 1, brow_AddAnnot( nc_attr, 12, 0.6, 1,
flow_eDrawType_TextHelveticaBold, 2, flow_eAnnotType_OneLine, flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine,
1); 1);
brow_AddFrame( nc_attr, 0, 0, 20, 0.8, flow_eDrawType_LineGray, -1, 1);
// Create multiline attribute nodeclass // Create multiline attribute nodeclass
brow_CreateNodeClass( ctx, "NavigatorGsdAttrMultiLine", brow_CreateNodeClass( ctx, "NavigatorGsdAttrMultiLine",
flow_eNodeGroup_Common, &nc_attr_multiline); 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, 0, 0.2, 0.1, flow_eDrawType_Line, 2, 0);
brow_AddAnnot( nc_attr_multiline, 2, 0.6, 0, brow_AddAnnot( nc_attr_multiline, 2, 0.6, 0,
flow_eDrawType_TextHelveticaBold, 2, flow_eAnnotType_OneLine, flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine,
0); 0);
brow_AddAnnot( nc_attr_multiline, 8, 0.6, 1, brow_AddAnnot( nc_attr_multiline, 8, 0.6, 1,
flow_eDrawType_TextHelveticaBold, 2, flow_eAnnotType_MultiLine, flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_MultiLine,
1); 1);
brow_AddFrame( nc_attr_multiline, 0, 0, 20, 0.8, flow_eDrawType_LineGray, -1, 1);
// Create attribute nodeclass // Create attribute nodeclass
brow_CreateNodeClass( ctx, "NavigatorEnum", brow_CreateNodeClass( ctx, "NavigatorEnum",
flow_eNodeGroup_Common, &nc_enum); 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_AddAnnotPixmap( nc_enum, 0, 0.2, 0.1, flow_eDrawType_Line, 2, 0);
brow_AddAnnot( nc_enum, 2, 0.6, 0, brow_AddAnnot( nc_enum, 2, 0.6, 0,
flow_eDrawType_TextHelveticaBold, 2, flow_eAnnotType_OneLine, flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine,
0); 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 // Create table nodeclass
brow_CreateNodeClass( ctx, "NavigatorTable", brow_CreateNodeClass( ctx, "NavigatorTable",
flow_eNodeGroup_Common, &nc_table); 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, 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_AddAnnotPixmap( nc_table, 1, 1.1, 0.1, flow_eDrawType_Line, 2, 0);
brow_AddAnnot( nc_table, 2, 0.6, 0, brow_AddAnnot( nc_table, 2, 0.6, 0,
flow_eDrawType_TextHelveticaBold, 2, flow_eAnnotType_OneLine, flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine,
0); 0);
brow_AddAnnot( nc_table, 8, 0.6, 1, brow_AddAnnot( nc_table, 8, 0.6, 1,
flow_eDrawType_TextHelveticaBold, 2, flow_eAnnotType_OneLine, flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine,
1); 1);
brow_AddAnnot( nc_table, 12, 0.6, 2, brow_AddAnnot( nc_table, 12, 0.6, 2,
flow_eDrawType_TextHelveticaBold, 2, flow_eAnnotType_OneLine, flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine,
1); 1);
brow_AddAnnot( nc_table, 16, 0.6, 3, brow_AddAnnot( nc_table, 16, 0.6, 3,
flow_eDrawType_TextHelveticaBold, 2, flow_eAnnotType_OneLine, flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine,
1); 1);
brow_AddAnnot( nc_table, 20, 0.6, 4, brow_AddAnnot( nc_table, 20, 0.6, 4,
flow_eDrawType_TextHelveticaBold, 2, flow_eAnnotType_OneLine, flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine,
1); 1);
brow_AddAnnot( nc_table, 24, 0.6, 5, brow_AddAnnot( nc_table, 24, 0.6, 5,
flow_eDrawType_TextHelveticaBold, 2, flow_eAnnotType_OneLine, flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine,
1); 1);
brow_AddAnnot( nc_table, 28, 0.6, 6, brow_AddAnnot( nc_table, 28, 0.6, 6,
flow_eDrawType_TextHelveticaBold, 2, flow_eAnnotType_OneLine, flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine,
1); 1);
brow_AddAnnot( nc_table, 32, 0.6, 7, brow_AddAnnot( nc_table, 32, 0.6, 7,
flow_eDrawType_TextHelveticaBold, 2, flow_eAnnotType_OneLine, flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine,
1); 1);
brow_AddAnnot( nc_table, 35, 0.6, 8, brow_AddAnnot( nc_table, 35, 0.6, 8,
flow_eDrawType_TextHelveticaBold, 2, flow_eAnnotType_OneLine, flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine,
1); 1);
brow_AddAnnot( nc_table, 38, 0.6, 9, brow_AddAnnot( nc_table, 38, 0.6, 9,
flow_eDrawType_TextHelveticaBold, 2, flow_eAnnotType_OneLine, flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine,
1); 1);
brow_AddFrame( nc_table, 0, 0, 20, 0.8, flow_eDrawType_LineGray, -1, 1);
// Create Header // Create Header
brow_CreateNodeClass( ctx, "NavigatorHead", brow_CreateNodeClass( ctx, "NavigatorHead",
flow_eNodeGroup_Common, &nc_header); 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_AddAnnotPixmap( nc_header, 0, 0.2, 0.1, flow_eDrawType_Line, 2, 0);
brow_AddAnnot( nc_header, 2, 0.6, 0, brow_AddAnnot( nc_header, 2, 0.6, 0,
flow_eDrawType_TextHelveticaBold, 2, flow_eAnnotType_OneLine, flow_eDrawType_TextHelveticaBold, 2, flow_eAnnotType_OneLine,
...@@ -1288,12 +1287,12 @@ void GsdAttrNavBrow::create_nodeclasses() ...@@ -1288,12 +1287,12 @@ void GsdAttrNavBrow::create_nodeclasses()
brow_AddAnnot( nc_header, 8, 0.6, 1, brow_AddAnnot( nc_header, 8, 0.6, 1,
flow_eDrawType_TextHelveticaBold, 2, flow_eAnnotType_OneLine, flow_eDrawType_TextHelveticaBold, 2, flow_eAnnotType_OneLine,
1); 1);
brow_AddFrame( nc_header, 0, 0, 20, 0.8, flow_eDrawType_LineGray, 2, 1);
// Create TableHeader // Create TableHeader
brow_CreateNodeClass( ctx, "NavigatorTableHead", brow_CreateNodeClass( ctx, "NavigatorTableHead",
flow_eNodeGroup_Common, &nc_table_header); 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_AddAnnotPixmap( nc_table_header, 0, 0.2, 0.1, flow_eDrawType_Line, 2, 0);
brow_AddAnnot( nc_table_header, 2, 0.6, 0, brow_AddAnnot( nc_table_header, 2, 0.6, 0,
flow_eDrawType_TextHelveticaBold, 2, flow_eAnnotType_OneLine, flow_eDrawType_TextHelveticaBold, 2, flow_eAnnotType_OneLine,
...@@ -1325,6 +1324,7 @@ void GsdAttrNavBrow::create_nodeclasses() ...@@ -1325,6 +1324,7 @@ void GsdAttrNavBrow::create_nodeclasses()
brow_AddAnnot( nc_table_header, 38, 0.6, 9, brow_AddAnnot( nc_table_header, 38, 0.6, 9,
flow_eDrawType_TextHelveticaBold, 2, flow_eAnnotType_OneLine, flow_eDrawType_TextHelveticaBold, 2, flow_eAnnotType_OneLine,
0); 0);
brow_AddFrame( nc_table_header, 0, 0, 20, 0.8, flow_eDrawType_LineGray, 2, 1);
} }
......
/* /*
* 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. * Copyright (C) 2005 SSAB Oxelsund AB.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
...@@ -389,31 +389,31 @@ void TblNavBrow::create_nodeclasses() ...@@ -389,31 +389,31 @@ void TblNavBrow::create_nodeclasses()
brow_CreateNodeClass( ctx, "NavigatorDefault", brow_CreateNodeClass( ctx, "NavigatorDefault",
flow_eNodeGroup_Common, &nc_object); 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, 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_AddAnnotPixmap( nc_object, 1, 1.1, 0.1, flow_eDrawType_Line, 2, 0);
brow_AddAnnot( nc_object, 2, 0.6, 0, brow_AddAnnot( nc_object, 2, 0.6, 0,
flow_eDrawType_TextHelveticaBold, 2, flow_eAnnotType_OneLine, flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine,
0); 0);
brow_AddAnnot( nc_object, 12, 0.6, 1, brow_AddAnnot( nc_object, 12, 0.6, 1,
flow_eDrawType_TextHelveticaBold, 2, flow_eAnnotType_OneLine, flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine,
1); 1);
brow_AddAnnot( nc_object, 15, 0.6, 2, brow_AddAnnot( nc_object, 15, 0.6, 2,
flow_eDrawType_TextHelveticaBold, 2, flow_eAnnotType_OneLine, flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine,
1); 1);
brow_AddFrame( nc_object, 0, 0, 20, 0.8, flow_eDrawType_LineGray, -1, 1);
// Create attribute nodeclass // Create attribute nodeclass
brow_CreateNodeClass( ctx, "NavigatorAttr", brow_CreateNodeClass( ctx, "NavigatorAttr",
flow_eNodeGroup_Common, &nc_attr); 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, 0, 0.2, 0.1, flow_eDrawType_Line, 2, 0);
brow_AddAnnot( nc_attr, 2, 0.6, 0, brow_AddAnnot( nc_attr, 2, 0.6, 0,
flow_eDrawType_TextHelveticaBold, 2, flow_eAnnotType_OneLine, flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine,
0); 0);
brow_AddAnnot( nc_attr, 8, 0.6, 1, brow_AddAnnot( nc_attr, 8, 0.6, 1,
flow_eDrawType_TextHelveticaBold, 2, flow_eAnnotType_OneLine, flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine,
1); 1);
brow_AddFrame( nc_attr, 0, 0, 20, 0.8, flow_eDrawType_LineGray, -1, 1);
} }
......
/** /**
* Proview $Id: co_msglist.cpp,v 1.10 2008-11-28 17:14:53 claes Exp $ * Proview $Id: co_msglist.cpp,v 1.11 2008-12-03 12:00:38 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB. * Copyright (C) 2005 SSAB Oxelsund AB.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
...@@ -72,7 +72,6 @@ void MsgListBrow::create_nodeclasses() ...@@ -72,7 +72,6 @@ void MsgListBrow::create_nodeclasses()
brow_CreateNodeClass( ctx, "EventDefault", brow_CreateNodeClass( ctx, "EventDefault",
flow_eNodeGroup_Common, &nc_default); 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_AddAnnotPixmap( nc_default, 0, 0.2, 0.1, flow_eDrawType_Line, 2, 0);
brow_AddAnnot( nc_default, 1.4, 0.6, 0, brow_AddAnnot( nc_default, 1.4, 0.6, 0,
flow_eDrawType_TextHelveticaBold, 2, flow_eAnnotType_OneLine, flow_eDrawType_TextHelveticaBold, 2, flow_eAnnotType_OneLine,
...@@ -83,11 +82,11 @@ void MsgListBrow::create_nodeclasses() ...@@ -83,11 +82,11 @@ void MsgListBrow::create_nodeclasses()
brow_AddAnnot( nc_default, 9, 0.6, 2, brow_AddAnnot( nc_default, 9, 0.6, 2,
flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine, flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine,
0); 0);
brow_AddFrame( nc_default, 0, 0, 35, 0.8, flow_eDrawType_LineGray, -1, 1);
// Nodeclass for Error // Nodeclass for Error
brow_CreateNodeClass( ctx, "Error", brow_CreateNodeClass( ctx, "Error",
flow_eNodeGroup_Common, &nc_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_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_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); 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() ...@@ -100,11 +99,11 @@ void MsgListBrow::create_nodeclasses()
brow_AddAnnot( nc_error, 9, 0.6, 2, brow_AddAnnot( nc_error, 9, 0.6, 2,
flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine, flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine,
0); 0);
brow_AddFrame( nc_error, 0, 0, 35, 0.8, flow_eDrawType_LineGray, -1, 1);
// Nodeclass for Fatal // Nodeclass for Fatal
brow_CreateNodeClass( ctx, "Fatal", brow_CreateNodeClass( ctx, "Fatal",
flow_eNodeGroup_Common, &nc_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_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_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); 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() ...@@ -117,11 +116,11 @@ void MsgListBrow::create_nodeclasses()
brow_AddAnnot( nc_fatal, 9, 0.6, 2, brow_AddAnnot( nc_fatal, 9, 0.6, 2,
flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine, flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine,
0); 0);
brow_AddFrame( nc_fatal, 0, 0, 35, 0.8, flow_eDrawType_LineGray, -1, 1);
// Nodeclass for Warning // Nodeclass for Warning
brow_CreateNodeClass( ctx, "Warning", brow_CreateNodeClass( ctx, "Warning",
flow_eNodeGroup_Common, &nc_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_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_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); 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() ...@@ -134,11 +133,11 @@ void MsgListBrow::create_nodeclasses()
brow_AddAnnot( nc_warning, 9, 0.6, 2, brow_AddAnnot( nc_warning, 9, 0.6, 2,
flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine, flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine,
0); 0);
brow_AddFrame( nc_warning, 0, 0, 35, 0.8, flow_eDrawType_LineGray, -1, 1);
// Nodeclass for Info // Nodeclass for Info
brow_CreateNodeClass( ctx, "Info", brow_CreateNodeClass( ctx, "Info",
flow_eNodeGroup_Common, &nc_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_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_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); 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() ...@@ -151,11 +150,11 @@ void MsgListBrow::create_nodeclasses()
brow_AddAnnot( nc_info, 9, 0.6, 2, brow_AddAnnot( nc_info, 9, 0.6, 2,
flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine, flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine,
0); 0);
brow_AddFrame( nc_info, 0, 0, 35, 0.8, flow_eDrawType_LineGray, -1, 1);
// Nodeclass for Success // Nodeclass for Success
brow_CreateNodeClass( ctx, "Success", brow_CreateNodeClass( ctx, "Success",
flow_eNodeGroup_Common, &nc_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_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_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); 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() ...@@ -168,6 +167,7 @@ void MsgListBrow::create_nodeclasses()
brow_AddAnnot( nc_success, 9, 0.6, 2, brow_AddAnnot( nc_success, 9, 0.6, 2,
flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine, flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine,
0); 0);
brow_AddFrame( nc_success, 0, 0, 35, 0.8, flow_eDrawType_LineGray, -1, 1);
} }
void MsgListBrow::brow_setup() void MsgListBrow::brow_setup()
......
/* /*
* 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. * Copyright (C) 2005 SSAB Oxelsund AB.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
...@@ -113,7 +113,6 @@ void NodelistNavBrow::create_nodeclasses() ...@@ -113,7 +113,6 @@ void NodelistNavBrow::create_nodeclasses()
// Nodeclass for Undefinied message // Nodeclass for Undefinied message
brow_CreateNodeClass( ctx, "Undef", brow_CreateNodeClass( ctx, "Undef",
flow_eNodeGroup_Common, &nc_node); 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_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_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); 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() ...@@ -126,12 +125,12 @@ void NodelistNavBrow::create_nodeclasses()
brow_AddAnnot( nc_node, 21, 0.6, 2, brow_AddAnnot( nc_node, 21, 0.6, 2,
flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine, flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine,
0); 0);
brow_AddFrame( nc_node, 0, 0, 35, 0.8, flow_eDrawType_LineGray, -1, 1);
// Create attribute nodeclass // Create attribute nodeclass
brow_CreateNodeClass( ctx, "Attr", brow_CreateNodeClass( ctx, "Attr",
flow_eNodeGroup_Common, &nc_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_AddAnnotPixmap( nc_attr, 0, 0.2, 0.1, flow_eDrawType_Line, 2, 0);
brow_AddAnnot( nc_attr, 2.2, 0.6, 0, brow_AddAnnot( nc_attr, 2.2, 0.6, 0,
flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine, flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine,
...@@ -139,12 +138,12 @@ void NodelistNavBrow::create_nodeclasses() ...@@ -139,12 +138,12 @@ void NodelistNavBrow::create_nodeclasses()
brow_AddAnnot( nc_attr, 8, 0.6, 1, brow_AddAnnot( nc_attr, 8, 0.6, 1,
flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine, flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine,
1); 1);
brow_AddFrame( nc_attr, 0, 0, 20, 0.8, flow_eDrawType_LineGray, -1, 1);
// Create system status attribute nodeclass // Create system status attribute nodeclass
brow_CreateNodeClass( ctx, "SysStsAttr", brow_CreateNodeClass( ctx, "SysStsAttr",
flow_eNodeGroup_Common, &nc_sys_sts_attr); 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_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_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); 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() ...@@ -154,12 +153,12 @@ void NodelistNavBrow::create_nodeclasses()
brow_AddAnnot( nc_sys_sts_attr, 8, 0.6, 1, brow_AddAnnot( nc_sys_sts_attr, 8, 0.6, 1,
flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine, flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine,
1); 1);
brow_AddFrame( nc_sys_sts_attr, 0, 0, 20, 0.8, flow_eDrawType_LineGray, -1, 1);
// Create system status attribute nodeclass // Create system status attribute nodeclass
brow_CreateNodeClass( ctx, "StsAttr", brow_CreateNodeClass( ctx, "StsAttr",
flow_eNodeGroup_Common, &nc_sts_attr); 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_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_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); 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() ...@@ -172,6 +171,7 @@ void NodelistNavBrow::create_nodeclasses()
brow_AddAnnot( nc_sts_attr, 10, 0.6, 2, brow_AddAnnot( nc_sts_attr, 10, 0.6, 2,
flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine, flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine,
1); 1);
brow_AddFrame( nc_sts_attr, 0, 0, 20, 0.8, flow_eDrawType_LineGray, -1, 1);
} }
void NodelistNavBrow::brow_setup() void NodelistNavBrow::brow_setup()
......
/** /**
* Proview $Id: co_xhelpnav.cpp,v 1.15 2008-11-10 08:01:26 claes Exp $ * Proview $Id: co_xhelpnav.cpp,v 1.16 2008-12-03 12:00:38 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB. * Copyright (C) 2005 SSAB Oxelsund AB.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
...@@ -153,7 +153,6 @@ void CoXHelpNavBrow::create_nodeclasses() ...@@ -153,7 +153,6 @@ void CoXHelpNavBrow::create_nodeclasses()
brow_CreateNodeClass( ctx, "NavigatorDefault", brow_CreateNodeClass( ctx, "NavigatorDefault",
flow_eNodeGroup_Common, &nc_object); 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, 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_AddAnnotPixmap( nc_object, 1, 1.1, 0.1, flow_eDrawType_Line, 2, 0);
brow_AddAnnot( nc_object, 2, 0.6, 0, brow_AddAnnot( nc_object, 2, 0.6, 0,
...@@ -165,12 +164,12 @@ void CoXHelpNavBrow::create_nodeclasses() ...@@ -165,12 +164,12 @@ void CoXHelpNavBrow::create_nodeclasses()
brow_AddAnnot( nc_object, 11, 0.6, 2, brow_AddAnnot( nc_object, 11, 0.6, 2,
flow_eDrawType_TextHelveticaBold, 2, flow_eAnnotType_OneLine, flow_eDrawType_TextHelveticaBold, 2, flow_eAnnotType_OneLine,
1); 1);
brow_AddFrame( nc_object, 0, 0, 20, 0.8, flow_eDrawType_LineGray, -1, 1);
// Create text // Create text
brow_CreateNodeClass( ctx, "NavigatorText", brow_CreateNodeClass( ctx, "NavigatorText",
flow_eNodeGroup_Common, &nc_text); 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, 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_AddAnnotPixmap( nc_text, 1, 1.1, 0.1, flow_eDrawType_Line, 2, 0);
brow_AddAnnot( nc_text, 2, 0.6, 0, brow_AddAnnot( nc_text, 2, 0.6, 0,
...@@ -182,12 +181,12 @@ void CoXHelpNavBrow::create_nodeclasses() ...@@ -182,12 +181,12 @@ void CoXHelpNavBrow::create_nodeclasses()
brow_AddAnnot( nc_text, 11, 0.6, 2, brow_AddAnnot( nc_text, 11, 0.6, 2,
flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine, flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine,
1); 1);
brow_AddFrame( nc_text, 0, 0, 20, 0.8, flow_eDrawType_LineGray, -1, 1);
// Create Header // Create Header
brow_CreateNodeClass( ctx, "NavigatorHead", brow_CreateNodeClass( ctx, "NavigatorHead",
flow_eNodeGroup_Common, &nc_header); 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_AddAnnotPixmap( nc_header, 0, 0.2, 0.4, flow_eDrawType_Line, 2, 0);
brow_AddAnnot( nc_header, 2, 1.0, 0, brow_AddAnnot( nc_header, 2, 1.0, 0,
flow_eDrawType_TextHelveticaBold, 4, flow_eAnnotType_OneLine, flow_eDrawType_TextHelveticaBold, 4, flow_eAnnotType_OneLine,
...@@ -195,12 +194,12 @@ void CoXHelpNavBrow::create_nodeclasses() ...@@ -195,12 +194,12 @@ void CoXHelpNavBrow::create_nodeclasses()
brow_AddAnnot( nc_header, 8, 1.0, 1, brow_AddAnnot( nc_header, 8, 1.0, 1,
flow_eDrawType_TextHelveticaBold, 4, flow_eAnnotType_OneLine, flow_eDrawType_TextHelveticaBold, 4, flow_eAnnotType_OneLine,
1); 1);
brow_AddFrame( nc_header, 0, 0, 20, 1.4, flow_eDrawType_LineGray, -1, 1);
// Create Header2 // Create Header2
brow_CreateNodeClass( ctx, "NavigatorHeadLarge", brow_CreateNodeClass( ctx, "NavigatorHeadLarge",
flow_eNodeGroup_Common, &nc_headerlarge); 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_AddAnnotPixmap( nc_headerlarge, 0, 0.2, 0.4, flow_eDrawType_Line, 2, 0);
brow_AddAnnot( nc_headerlarge, 2, 1.0, 0, brow_AddAnnot( nc_headerlarge, 2, 1.0, 0,
flow_eDrawType_TextHelveticaBold, 6, flow_eAnnotType_OneLine, flow_eDrawType_TextHelveticaBold, 6, flow_eAnnotType_OneLine,
...@@ -208,6 +207,7 @@ void CoXHelpNavBrow::create_nodeclasses() ...@@ -208,6 +207,7 @@ void CoXHelpNavBrow::create_nodeclasses()
brow_AddAnnot( nc_headerlarge, 8, 1.0, 1, brow_AddAnnot( nc_headerlarge, 8, 1.0, 1,
flow_eDrawType_TextHelveticaBold, 6, flow_eAnnotType_OneLine, flow_eDrawType_TextHelveticaBold, 6, flow_eAnnotType_OneLine,
1); 1);
brow_AddFrame( nc_headerlarge, 0, 0, 20, 2.0, flow_eDrawType_LineGray, -1, 1);
// Create Horizontal line // Create Horizontal line
...@@ -1136,7 +1136,7 @@ static void *xhelpnav_help_insert_cb( void *ctx, navh_eItemType item_type, const ...@@ -1136,7 +1136,7 @@ static void *xhelpnav_help_insert_cb( void *ctx, navh_eItemType item_type, const
brow_tNodeClass nc; brow_tNodeClass nc;
brow_CreateNodeClass( xhelpnav->brow->ctx, "Image", flow_eNodeGroup_Common, &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_LineGray, -1, 1);
brow_AddAnnotPixmap( nc, 0, 0.2, 0.1, flow_eDrawType_Line, 2, 0); brow_AddAnnotPixmap( nc, 0, 0.2, 0.1, flow_eDrawType_Line, 2, 0);
brow_AddImage( nc, text1, 2, 0); brow_AddImage( nc, text1, 2, 0);
HItemHelpImage *item = new HItemHelpImage( xhelpnav->brow, "help", nc, HItemHelpImage *item = new HItemHelpImage( xhelpnav->brow, "help", nc,
......
/* /*
* 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. * Copyright (C) 2005 SSAB Oxelsund AB.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
...@@ -1275,8 +1275,8 @@ int RtTrace::trace_start() ...@@ -1275,8 +1275,8 @@ int RtTrace::trace_start()
&trace_analyse_nc); &trace_analyse_nc);
flow_AddRect( trace_analyse_nc, 0, 0, f_width, f_height, flow_AddRect( trace_analyse_nc, 0, 0, f_width, f_height,
flow_eDrawType_Line, 1, flow_mDisplayLevel_1); flow_eDrawType_Line, 1, flow_mDisplayLevel_1);
flow_AddAnnot( trace_analyse_nc, f_width/8, 0.7*f_height, 0, flow_AddAnnot( trace_analyse_nc, f_width/8, 0.8*f_height, 0,
flow_eDrawType_TextHelvetica, 4, flow_eAnnotType_OneLine, flow_eDrawType_TextHelvetica, 3, flow_eAnnotType_OneLine,
flow_mDisplayLevel_1); flow_mDisplayLevel_1);
flow_AddConPoint( trace_analyse_nc, 0, 0.5*f_height, 0, flow_AddConPoint( trace_analyse_nc, 0, 0.5*f_height, 0,
flow_eDirection_Left); flow_eDirection_Left);
......
/* /*
* Proview $Id: wb_nav.cpp,v 1.20 2008-11-28 17:14:04 claes Exp $ * Proview $Id: wb_nav.cpp,v 1.21 2008-12-03 12:00:38 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB. * Copyright (C) 2005 SSAB Oxelsund AB.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
...@@ -1609,7 +1609,6 @@ void Nav::create_nodeclasses() ...@@ -1609,7 +1609,6 @@ void Nav::create_nodeclasses()
brow_CreateNodeClass( brow_ctx, "NavigatorDefault", brow_CreateNodeClass( brow_ctx, "NavigatorDefault",
flow_eNodeGroup_Common, &nc_object); 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, 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_AddAnnotPixmap( nc_object, 1, 1.1, 0.1, flow_eDrawType_Line, 2, 0);
brow_AddAnnot( nc_object, 2, 0.6, 0, brow_AddAnnot( nc_object, 2, 0.6, 0,
...@@ -1621,6 +1620,7 @@ void Nav::create_nodeclasses() ...@@ -1621,6 +1620,7 @@ void Nav::create_nodeclasses()
brow_AddAnnot( nc_object, 9, 0.6, 2, brow_AddAnnot( nc_object, 9, 0.6, 2,
flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine, flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine,
1); 1);
brow_AddFrame( nc_object, 0, 0, 20, 0.8, flow_eDrawType_LineGray, -1, 1);
} }
// //
......
/* /*
* Proview $Id: wb_pal.cpp,v 1.15 2008-11-28 17:14:04 claes Exp $ * Proview $Id: wb_pal.cpp,v 1.16 2008-12-03 12:00:38 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB. * Copyright (C) 2005 SSAB Oxelsund AB.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
...@@ -1397,12 +1397,12 @@ void Pal::create_nodeclasses() ...@@ -1397,12 +1397,12 @@ void Pal::create_nodeclasses()
brow_CreateNodeClass( brow_ctx, "PaletteDefault", brow_CreateNodeClass( brow_ctx, "PaletteDefault",
flow_eNodeGroup_Common, &nc); 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_AddAnnotPixmap( nc, 0, 0.2, 0.1, flow_eDrawType_Line, 2, 0);
brow_AddAnnot( nc, 1.2, 0.6, 0, brow_AddAnnot( nc, 1.2, 0.6, 0,
flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine, flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine,
0); 0);
brow_AddAnnotPixmap( nc, 1, 7, 0.1, flow_eDrawType_Line, 2, 1); 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);
} }
// //
......
/* /*
* Proview $Id: wb_wnav_brow.cpp,v 1.11 2008-11-28 17:14:04 claes Exp $ * Proview $Id: wb_wnav_brow.cpp,v 1.12 2008-12-03 12:00:38 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB. * Copyright (C) 2005 SSAB Oxelsund AB.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
...@@ -978,7 +978,6 @@ void WNavBrow::create_nodeclasses() ...@@ -978,7 +978,6 @@ void WNavBrow::create_nodeclasses()
brow_CreateNodeClass( ctx, "NavigatorDefault", brow_CreateNodeClass( ctx, "NavigatorDefault",
flow_eNodeGroup_Common, &nc_object); 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, 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_AddAnnotPixmap( nc_object, 1, 1.1, 0.1, flow_eDrawType_Line, 2, 0);
brow_AddAnnot( nc_object, 2, 0.6, 0, brow_AddAnnot( nc_object, 2, 0.6, 0,
...@@ -990,12 +989,12 @@ void WNavBrow::create_nodeclasses() ...@@ -990,12 +989,12 @@ void WNavBrow::create_nodeclasses()
brow_AddAnnot( nc_object, 11, 0.6, 2, brow_AddAnnot( nc_object, 11, 0.6, 2,
flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine, flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine,
1); 1);
brow_AddFrame( nc_object, 0, 0, 20, 0.8, flow_eDrawType_LineGray, -1, 1);
// Create multi object class // Create multi object class
brow_CreateNodeClass( ctx, "NavigatorObject", brow_CreateNodeClass( ctx, "NavigatorObject",
flow_eNodeGroup_Common, &nc_multiobject); 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, 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_AddAnnotPixmap( nc_multiobject, 1, 1.1, 0.1, flow_eDrawType_Line, 2, 0);
brow_AddAnnot( nc_multiobject, 2, 0.6, 0, brow_AddAnnot( nc_multiobject, 2, 0.6, 0,
...@@ -1026,12 +1025,12 @@ void WNavBrow::create_nodeclasses() ...@@ -1026,12 +1025,12 @@ void WNavBrow::create_nodeclasses()
brow_AddAnnot( nc_multiobject, 18.7, 0.6, 7, brow_AddAnnot( nc_multiobject, 18.7, 0.6, 7,
flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine, flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine,
1); 1);
brow_AddFrame( nc_multiobject, 0, 0, 20, 0.8, flow_eDrawType_LineGray, -1, 1);
// Create attribute nodeclass // Create attribute nodeclass
brow_CreateNodeClass( ctx, "NavigatorAttr", brow_CreateNodeClass( ctx, "NavigatorAttr",
flow_eNodeGroup_Common, &nc_attr); 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, 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_AddAnnotPixmap( nc_attr, 1, 1.1, 0.1, flow_eDrawType_Line, 2, 0);
brow_AddAnnot( nc_attr, 2, 0.6, 0, brow_AddAnnot( nc_attr, 2, 0.6, 0,
...@@ -1040,12 +1039,12 @@ void WNavBrow::create_nodeclasses() ...@@ -1040,12 +1039,12 @@ void WNavBrow::create_nodeclasses()
brow_AddAnnot( nc_attr, 8, 0.6, 1, brow_AddAnnot( nc_attr, 8, 0.6, 1,
flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine, flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine,
1); 1);
brow_AddFrame( nc_attr, 0, 0, 20, 0.8, flow_eDrawType_LineGray, -1, 1);
// Create attribute nodeclass for fullname display // Create attribute nodeclass for fullname display
brow_CreateNodeClass( ctx, "NavigatorAttrFull", brow_CreateNodeClass( ctx, "NavigatorAttrFull",
flow_eNodeGroup_Common, &nc_attr_full); 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, 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_AddAnnotPixmap( nc_attr_full, 1, 1.1, 0.1, flow_eDrawType_Line, 2, 0);
brow_AddAnnot( nc_attr_full, 2, 0.6, 0, brow_AddAnnot( nc_attr_full, 2, 0.6, 0,
...@@ -1054,13 +1053,11 @@ void WNavBrow::create_nodeclasses() ...@@ -1054,13 +1053,11 @@ void WNavBrow::create_nodeclasses()
brow_AddAnnot( nc_attr_full, 25, 0.6, 1, brow_AddAnnot( nc_attr_full, 25, 0.6, 1,
flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine, flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine,
1); 1);
brow_AddFrame( nc_attr_full, 0, 0, 60, 0.8, flow_eDrawType_LineGray, -1, 1);
// Input with Used and Inverted radiobutton // Input with Used and Inverted radiobutton
brow_CreateNodeClass( ctx, "NavigatorAttrInput", brow_CreateNodeClass( ctx, "NavigatorAttrInput",
flow_eNodeGroup_Common, &nc_attr_input); 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, 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_AddAnnotPixmap( nc_attr_input, 1, 1.1, 0.1, flow_eDrawType_Line, 2, 0);
brow_AddAnnot( nc_attr_input, 2, 0.6, 0, brow_AddAnnot( nc_attr_input, 2, 0.6, 0,
...@@ -1073,12 +1070,13 @@ void WNavBrow::create_nodeclasses() ...@@ -1073,12 +1070,13 @@ void WNavBrow::create_nodeclasses()
flow_eDrawType_TextHelvetica, 2); flow_eDrawType_TextHelvetica, 2);
brow_AddText( nc_attr_input, "Inverted", 15, 0.6, brow_AddText( nc_attr_input, "Inverted", 15, 0.6,
flow_eDrawType_TextHelvetica, 2); 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 // Input with Inverted radiobutton
brow_CreateNodeClass( ctx, "NavigatorAttrInputNoinv", brow_CreateNodeClass( ctx, "NavigatorAttrInputNoinv",
flow_eNodeGroup_Common, &nc_attr_inputinv); 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, 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_AddAnnotPixmap( nc_attr_inputinv, 1, 1.1, 0.1, flow_eDrawType_Line, 2, 0);
brow_AddAnnot( nc_attr_inputinv, 2, 0.6, 0, brow_AddAnnot( nc_attr_inputinv, 2, 0.6, 0,
...@@ -1089,12 +1087,12 @@ void WNavBrow::create_nodeclasses() ...@@ -1089,12 +1087,12 @@ void WNavBrow::create_nodeclasses()
1); 1);
brow_AddText( nc_attr_inputinv, "Inverted", 12, 0.6, brow_AddText( nc_attr_inputinv, "Inverted", 12, 0.6,
flow_eDrawType_TextHelvetica, 2); 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 // Input and output with Used radiobutton
brow_CreateNodeClass( ctx, "NavigatorAttrOutput", brow_CreateNodeClass( ctx, "NavigatorAttrOutput",
flow_eNodeGroup_Common, &nc_attr_output); 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, 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_AddAnnotPixmap( nc_attr_output, 1, 1.1, 0.1, flow_eDrawType_Line, 2, 0);
brow_AddAnnot( nc_attr_output, 2, 0.6, 0, brow_AddAnnot( nc_attr_output, 2, 0.6, 0,
...@@ -1105,12 +1103,13 @@ void WNavBrow::create_nodeclasses() ...@@ -1105,12 +1103,13 @@ void WNavBrow::create_nodeclasses()
1); 1);
brow_AddText( nc_attr_output, "Used", 12, 0.6, brow_AddText( nc_attr_output, "Used", 12, 0.6,
flow_eDrawType_TextHelvetica, 2); 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 // Create multiline attribute nodeclass
brow_CreateNodeClass( ctx, "NavigatorAttrMultiLine", brow_CreateNodeClass( ctx, "NavigatorAttrMultiLine",
flow_eNodeGroup_Common, &nc_attr_multiline); 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, 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_AddAnnotPixmap( nc_attr_multiline, 1, 1.1, 0.1, flow_eDrawType_Line, 2, 0);
brow_AddAnnot( nc_attr_multiline, 2, 0.6, 0, brow_AddAnnot( nc_attr_multiline, 2, 0.6, 0,
...@@ -1119,13 +1118,12 @@ void WNavBrow::create_nodeclasses() ...@@ -1119,13 +1118,12 @@ void WNavBrow::create_nodeclasses()
brow_AddAnnot( nc_attr_multiline, 8, 0.6, 1, brow_AddAnnot( nc_attr_multiline, 8, 0.6, 1,
flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_MultiLine, flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_MultiLine,
1); 1);
brow_AddFrame( nc_attr_multiline, 0, 0, 20, 0.8, flow_eDrawType_LineGray, -1, 1);
// Create multiline attribute nodeclass for fullname // Create multiline attribute nodeclass for fullname
brow_CreateNodeClass( ctx, "NavigatorAttrMultiLineFull", brow_CreateNodeClass( ctx, "NavigatorAttrMultiLineFull",
flow_eNodeGroup_Common, &nc_attr_multiline_full); 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, brow_AddAnnotPixmap( nc_attr_multiline_full, 0, 0.2, 0.1,
flow_eDrawType_Line, 2, 0); flow_eDrawType_Line, 2, 0);
brow_AddAnnotPixmap( nc_attr_multiline_full, 1, 1.1, 0.1, brow_AddAnnotPixmap( nc_attr_multiline_full, 1, 1.1, 0.1,
...@@ -1136,24 +1134,25 @@ void WNavBrow::create_nodeclasses() ...@@ -1136,24 +1134,25 @@ void WNavBrow::create_nodeclasses()
brow_AddAnnot( nc_attr_multiline_full, 25, 0.6, 1, brow_AddAnnot( nc_attr_multiline_full, 25, 0.6, 1,
flow_eDrawType_TextHelvetica, 2, flow_eDrawType_TextHelvetica, 2,
flow_eAnnotType_MultiLine, 1); flow_eAnnotType_MultiLine, 1);
brow_AddFrame( nc_attr_multiline_full, 0, 0, 60, 0.8,
flow_eDrawType_LineGray, -1, 1);
// Create attribute nodeclass // Create attribute nodeclass
brow_CreateNodeClass( ctx, "NavigatorEnum", brow_CreateNodeClass( ctx, "NavigatorEnum",
flow_eNodeGroup_Common, &nc_enum); 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, 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_AddAnnotPixmap( nc_enum, 1, 1.1, 0.1, flow_eDrawType_Line, 2, 0);
brow_AddAnnot( nc_enum, 2, 0.6, 0, brow_AddAnnot( nc_enum, 2, 0.6, 0,
flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine, flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine,
0); 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 // Create table nodeclass
brow_CreateNodeClass( ctx, "NavigatorTable", brow_CreateNodeClass( ctx, "NavigatorTable",
flow_eNodeGroup_Common, &nc_table); 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, 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_AddAnnotPixmap( nc_table, 1, 1.1, 0.1, flow_eDrawType_Line, 2, 0);
brow_AddAnnot( nc_table, 2, 0.6, 0, brow_AddAnnot( nc_table, 2, 0.6, 0,
...@@ -1186,12 +1185,12 @@ void WNavBrow::create_nodeclasses() ...@@ -1186,12 +1185,12 @@ void WNavBrow::create_nodeclasses()
brow_AddAnnot( nc_table, 38, 0.6, 9, brow_AddAnnot( nc_table, 38, 0.6, 9,
flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine, flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine,
1); 1);
brow_AddFrame( nc_table, 0, 0, 20, 0.8, flow_eDrawType_LineGray, -1, 1);
// Create text // Create text
brow_CreateNodeClass( ctx, "NavigatorText", brow_CreateNodeClass( ctx, "NavigatorText",
flow_eNodeGroup_Common, &nc_text); 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, 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_AddAnnotPixmap( nc_text, 1, 1.1, 0.1, flow_eDrawType_Line, 2, 0);
brow_AddAnnot( nc_text, 2, 0.6, 0, brow_AddAnnot( nc_text, 2, 0.6, 0,
...@@ -1203,12 +1202,12 @@ void WNavBrow::create_nodeclasses() ...@@ -1203,12 +1202,12 @@ void WNavBrow::create_nodeclasses()
brow_AddAnnot( nc_text, 11, 0.6, 2, brow_AddAnnot( nc_text, 11, 0.6, 2,
flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine, flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine,
1); 1);
brow_AddFrame( nc_text, 0, 0, 20, 0.8, flow_eDrawType_LineGray, -1, 1);
// Create Header // Create Header
brow_CreateNodeClass( ctx, "NavigatorHead", brow_CreateNodeClass( ctx, "NavigatorHead",
flow_eNodeGroup_Common, &nc_header); 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_AddAnnotPixmap( nc_header, 0, 0.2, 0.1, flow_eDrawType_Line, 2, 0);
brow_AddAnnot( nc_header, 2, 0.6, 0, brow_AddAnnot( nc_header, 2, 0.6, 0,
flow_eDrawType_TextHelveticaBold, 2, flow_eAnnotType_OneLine, flow_eDrawType_TextHelveticaBold, 2, flow_eAnnotType_OneLine,
...@@ -1216,12 +1215,12 @@ void WNavBrow::create_nodeclasses() ...@@ -1216,12 +1215,12 @@ void WNavBrow::create_nodeclasses()
brow_AddAnnot( nc_header, 8, 0.6, 1, brow_AddAnnot( nc_header, 8, 0.6, 1,
flow_eDrawType_TextHelveticaBold, 2, flow_eAnnotType_OneLine, flow_eDrawType_TextHelveticaBold, 2, flow_eAnnotType_OneLine,
1); 1);
brow_AddFrame( nc_header, 0, 0, 20, 0.8, flow_eDrawType_LineGray, 2, 1);
// Create Header2 // Create Header2
brow_CreateNodeClass( ctx, "NavigatorHeadLarge", brow_CreateNodeClass( ctx, "NavigatorHeadLarge",
flow_eNodeGroup_Common, &nc_headerlarge); 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_AddAnnotPixmap( nc_headerlarge, 0, 0.5, 0.1, flow_eDrawType_Line, 2, 0);
brow_AddAnnot( nc_headerlarge, 2, 1.0, 0, brow_AddAnnot( nc_headerlarge, 2, 1.0, 0,
flow_eDrawType_TextHelveticaBold, 4, flow_eAnnotType_OneLine, flow_eDrawType_TextHelveticaBold, 4, flow_eAnnotType_OneLine,
...@@ -1229,12 +1228,12 @@ void WNavBrow::create_nodeclasses() ...@@ -1229,12 +1228,12 @@ void WNavBrow::create_nodeclasses()
brow_AddAnnot( nc_headerlarge, 8, 1.0, 1, brow_AddAnnot( nc_headerlarge, 8, 1.0, 1,
flow_eDrawType_TextHelveticaBold, 4, flow_eAnnotType_OneLine, flow_eDrawType_TextHelveticaBold, 4, flow_eAnnotType_OneLine,
1); 1);
brow_AddFrame( nc_headerlarge, 0, 0, 20, 1.4, flow_eDrawType_LineGray, -1, 1);
// Create TableHeader // Create TableHeader
brow_CreateNodeClass( ctx, "NavigatorTableHead", brow_CreateNodeClass( ctx, "NavigatorTableHead",
flow_eNodeGroup_Common, &nc_table_header); 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_AddAnnotPixmap( nc_table_header, 0, 0.2, 0.1, flow_eDrawType_Line, 2, 0);
brow_AddAnnot( nc_table_header, 2, 0.6, 0, brow_AddAnnot( nc_table_header, 2, 0.6, 0,
flow_eDrawType_TextHelveticaBold, 2, flow_eAnnotType_OneLine, flow_eDrawType_TextHelveticaBold, 2, flow_eAnnotType_OneLine,
...@@ -1266,5 +1265,5 @@ void WNavBrow::create_nodeclasses() ...@@ -1266,5 +1265,5 @@ void WNavBrow::create_nodeclasses()
brow_AddAnnot( nc_table_header, 38, 0.6, 9, brow_AddAnnot( nc_table_header, 38, 0.6, 9,
flow_eDrawType_TextHelveticaBold, 2, flow_eAnnotType_OneLine, flow_eDrawType_TextHelveticaBold, 2, flow_eAnnotType_OneLine,
0); 0);
brow_AddFrame( nc_table_header, 0, 0, 20, 0.8, flow_eDrawType_LineGray, 2, 1);
} }
/* /*
* Proview $Id: xtt_clognav.cpp,v 1.11 2008-11-28 17:13:45 claes Exp $ * Proview $Id: xtt_clognav.cpp,v 1.12 2008-12-03 12:00:38 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB. * Copyright (C) 2005 SSAB Oxelsund AB.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
...@@ -97,7 +97,6 @@ void CLogNavBrow::create_nodeclasses() ...@@ -97,7 +97,6 @@ void CLogNavBrow::create_nodeclasses()
brow_CreateNodeClass( ctx, "EventDefault", brow_CreateNodeClass( ctx, "EventDefault",
flow_eNodeGroup_Common, &nc_event); 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, brow_AddAnnot( nc_event, 0.8, 0.6, 0,
flow_eDrawType_TextHelveticaBold, 2, flow_eAnnotType_OneLine, flow_eDrawType_TextHelveticaBold, 2, flow_eAnnotType_OneLine,
0); 0);
...@@ -112,11 +111,11 @@ void CLogNavBrow::create_nodeclasses() ...@@ -112,11 +111,11 @@ void CLogNavBrow::create_nodeclasses()
brow_AddAnnot( nc_event, 26, 0.6, 3, brow_AddAnnot( nc_event, 26, 0.6, 3,
flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine, flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine,
1); 1);
brow_AddFrame( nc_event, 0, 0, 35, 0.8, flow_eDrawType_LineGray, -1, 1);
// Nodeclass for Info message // Nodeclass for Info message
brow_CreateNodeClass( ctx, "InfoMsg", brow_CreateNodeClass( ctx, "InfoMsg",
flow_eNodeGroup_Common, &nc_msg_info); 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_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_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, brow_AddAnnot( nc_msg_info, 0.8, 0.6, 0,
...@@ -134,11 +133,11 @@ void CLogNavBrow::create_nodeclasses() ...@@ -134,11 +133,11 @@ void CLogNavBrow::create_nodeclasses()
brow_AddAnnot( nc_msg_info, 18, 0.6, 4, brow_AddAnnot( nc_msg_info, 18, 0.6, 4,
flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine, flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine,
0); 0);
brow_AddFrame( nc_msg_info, 0, 0, 35, 0.8, flow_eDrawType_LineGray, -1, 1);
// Nodeclass for Warning message // Nodeclass for Warning message
brow_CreateNodeClass( ctx, "WarningMsg", brow_CreateNodeClass( ctx, "WarningMsg",
flow_eNodeGroup_Common, &nc_msg_warning); 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_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_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, brow_AddAnnot( nc_msg_warning, 0.8, 0.6, 0,
...@@ -156,11 +155,11 @@ void CLogNavBrow::create_nodeclasses() ...@@ -156,11 +155,11 @@ void CLogNavBrow::create_nodeclasses()
brow_AddAnnot( nc_msg_warning, 18, 0.6, 4, brow_AddAnnot( nc_msg_warning, 18, 0.6, 4,
flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine, flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine,
0); 0);
brow_AddFrame( nc_msg_warning, 0, 0, 35, 0.8, flow_eDrawType_LineGray, -1, 1);
// Nodeclass for Error message // Nodeclass for Error message
brow_CreateNodeClass( ctx, "ErrorMsg", brow_CreateNodeClass( ctx, "ErrorMsg",
flow_eNodeGroup_Common, &nc_msg_error); 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_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_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, brow_AddAnnot( nc_msg_error, 0.8, 0.6, 0,
...@@ -178,11 +177,11 @@ void CLogNavBrow::create_nodeclasses() ...@@ -178,11 +177,11 @@ void CLogNavBrow::create_nodeclasses()
brow_AddAnnot( nc_msg_error, 18, 0.6, 4, brow_AddAnnot( nc_msg_error, 18, 0.6, 4,
flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine, flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine,
0); 0);
brow_AddFrame( nc_msg_error, 0, 0, 35, 0.8, flow_eDrawType_LineGray, -1, 1);
// Nodeclass for Fatal messages // Nodeclass for Fatal messages
brow_CreateNodeClass( ctx, "FatalMsg", brow_CreateNodeClass( ctx, "FatalMsg",
flow_eNodeGroup_Common, &nc_msg_fatal); 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_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_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, brow_AddAnnot( nc_msg_fatal, 0.8, 0.6, 0,
...@@ -200,11 +199,11 @@ void CLogNavBrow::create_nodeclasses() ...@@ -200,11 +199,11 @@ void CLogNavBrow::create_nodeclasses()
brow_AddAnnot( nc_msg_fatal, 18, 0.6, 4, brow_AddAnnot( nc_msg_fatal, 18, 0.6, 4,
flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine, flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine,
0); 0);
brow_AddFrame( nc_msg_fatal, 0, 0, 35, 0.8, flow_eDrawType_LineGray, -1, 1);
// Nodeclass for Proview restart // Nodeclass for Proview restart
brow_CreateNodeClass( ctx, "Restart", brow_CreateNodeClass( ctx, "Restart",
flow_eNodeGroup_Common, &nc_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_AddFilledRect( nc_restart, 0, 0, 48, 0.8, flow_eDrawType_Yellow);
brow_AddAnnot( nc_restart, 11, 0.6, 0, brow_AddAnnot( nc_restart, 11, 0.6, 0,
flow_eDrawType_TextHelveticaBold, 2, flow_eAnnotType_OneLine, flow_eDrawType_TextHelveticaBold, 2, flow_eAnnotType_OneLine,
...@@ -212,14 +211,15 @@ void CLogNavBrow::create_nodeclasses() ...@@ -212,14 +211,15 @@ void CLogNavBrow::create_nodeclasses()
brow_AddAnnot( nc_restart, 18, 0.6, 1, brow_AddAnnot( nc_restart, 18, 0.6, 1,
flow_eDrawType_TextHelveticaBold, 2, flow_eAnnotType_OneLine, flow_eDrawType_TextHelveticaBold, 2, flow_eAnnotType_OneLine,
0); 0);
brow_AddFrame( nc_restart, 0, 0, 35, 0.8, flow_eDrawType_LineGray, -1, 1);
brow_CreateNodeClass( ctx, "Text", brow_CreateNodeClass( ctx, "Text",
flow_eNodeGroup_Common, &nc_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_AddRect( nc_text, 0.2, 0.15, 0.4, 0.4, flow_eDrawType_Line, 0, 0);
brow_AddAnnot( nc_text, 18, 0.6, 0, brow_AddAnnot( nc_text, 18, 0.6, 0,
flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine, flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine,
0); 0);
brow_AddFrame( nc_text, 0, 0, 35, 0.8, flow_eDrawType_LineGray, -1, 1);
} }
......
/* /*
* Proview $Id: xtt_evlist.cpp,v 1.22 2008-11-28 17:13:45 claes Exp $ * Proview $Id: xtt_evlist.cpp,v 1.23 2008-12-03 12:00:38 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB. * Copyright (C) 2005 SSAB Oxelsund AB.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
...@@ -193,7 +193,6 @@ void EvListBrow::create_nodeclasses() ...@@ -193,7 +193,6 @@ void EvListBrow::create_nodeclasses()
brow_CreateNodeClass( ctx, "EventDefault", brow_CreateNodeClass( ctx, "EventDefault",
flow_eNodeGroup_Common, &nc_event); 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, brow_AddAnnot( nc_event, 0.8, 0.6, 0,
flow_eDrawType_TextHelveticaBold, 2, flow_eAnnotType_OneLine, 0); flow_eDrawType_TextHelveticaBold, 2, flow_eAnnotType_OneLine, 0);
brow_AddAnnotPixmap( nc_event, 0, 1.6, 0.1, flow_eDrawType_Line, 2, 0); brow_AddAnnotPixmap( nc_event, 0, 1.6, 0.1, flow_eDrawType_Line, 2, 0);
...@@ -210,11 +209,11 @@ void EvListBrow::create_nodeclasses() ...@@ -210,11 +209,11 @@ void EvListBrow::create_nodeclasses()
brow_AddAnnot( nc_event, 28, 0.6, 4, brow_AddAnnot( nc_event, 28, 0.6, 4,
flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine, flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine,
1); 1);
brow_AddFrame( nc_event, 0, 0, 35, 0.8, flow_eDrawType_LineGray, -1, 1);
// Nodeclass for A-alarm // Nodeclass for A-alarm
brow_CreateNodeClass( ctx, "A_Alarm", brow_CreateNodeClass( ctx, "A_Alarm",
flow_eNodeGroup_Common, &nc_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_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_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, brow_AddAnnot( nc_a_alarm, 0.8, 0.6, 0,
...@@ -229,11 +228,11 @@ void EvListBrow::create_nodeclasses() ...@@ -229,11 +228,11 @@ void EvListBrow::create_nodeclasses()
flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine, 1); flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine, 1);
brow_AddAnnot( nc_a_alarm, 28, 0.6, 4, brow_AddAnnot( nc_a_alarm, 28, 0.6, 4,
flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine, 1); 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 // Nodeclass for B-alarm
brow_CreateNodeClass( ctx, "B_Alarm", brow_CreateNodeClass( ctx, "B_Alarm",
flow_eNodeGroup_Common, &nc_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_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_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, brow_AddAnnot( nc_b_alarm, 0.8, 0.6, 0,
...@@ -248,11 +247,11 @@ void EvListBrow::create_nodeclasses() ...@@ -248,11 +247,11 @@ void EvListBrow::create_nodeclasses()
flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine, 1); flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine, 1);
brow_AddAnnot( nc_b_alarm, 28, 0.6, 4, brow_AddAnnot( nc_b_alarm, 28, 0.6, 4,
flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine, 1); 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 // Nodeclass for Info
brow_CreateNodeClass( ctx, "Info", brow_CreateNodeClass( ctx, "Info",
flow_eNodeGroup_Common, &nc_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_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_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, brow_AddAnnot( nc_info, 0.8, 0.6, 0,
...@@ -267,6 +266,7 @@ void EvListBrow::create_nodeclasses() ...@@ -267,6 +266,7 @@ void EvListBrow::create_nodeclasses()
flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine, 1); flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine, 1);
brow_AddAnnot( nc_info, 28, 0.6, 4, brow_AddAnnot( nc_info, 28, 0.6, 4,
flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine, 1); flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine, 1);
brow_AddFrame( nc_info, 0, 0, 35, 0.8, flow_eDrawType_LineGray, -1, 1);
} }
......
/* /*
* Proview $Id: xtt_xnav_brow.cpp,v 1.10 2008-11-28 17:13:45 claes Exp $ * Proview $Id: xtt_xnav_brow.cpp,v 1.11 2008-12-03 12:00:38 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB. * Copyright (C) 2005 SSAB Oxelsund AB.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
...@@ -1014,12 +1014,12 @@ void XNavBrow::create_nodeclasses() ...@@ -1014,12 +1014,12 @@ void XNavBrow::create_nodeclasses()
brow_AddAnnot( nc_object, 11.9, 0.6, 2, brow_AddAnnot( nc_object, 11.9, 0.6, 2,
flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine, flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine,
1); 1);
brow_AddFrame( nc_object, 0, 0, 20, 0.8, flow_eDrawType_LineGray, -1, 1);
// Create attribute nodeclass // Create attribute nodeclass
brow_CreateNodeClass( ctx, "NavigatorAttr", brow_CreateNodeClass( ctx, "NavigatorAttr",
flow_eNodeGroup_Common, &nc_attr); 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, 0, 0.2, 0.1, flow_eDrawType_Line, 2, 0);
brow_AddAnnot( nc_attr, 2.9, 0.6, 0, brow_AddAnnot( nc_attr, 2.9, 0.6, 0,
flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine, flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine,
...@@ -1027,12 +1027,12 @@ void XNavBrow::create_nodeclasses() ...@@ -1027,12 +1027,12 @@ void XNavBrow::create_nodeclasses()
brow_AddAnnot( nc_attr, 8.9, 0.6, 1, brow_AddAnnot( nc_attr, 8.9, 0.6, 1,
flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine, flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine,
1); 1);
brow_AddFrame( nc_attr, 0, 0, 20, 0.8, flow_eDrawType_LineGray, -1, 1);
// Create table nodeclass // Create table nodeclass
brow_CreateNodeClass( ctx, "NavigatorTable", brow_CreateNodeClass( ctx, "NavigatorTable",
flow_eNodeGroup_Common, &nc_table); 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, 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_AddAnnotPixmap( nc_table, 1, 1.1, 0.1, flow_eDrawType_Line, 2, 0);
brow_AddAnnot( nc_table, 2.9, 0.6, 0, brow_AddAnnot( nc_table, 2.9, 0.6, 0,
...@@ -1065,12 +1065,12 @@ void XNavBrow::create_nodeclasses() ...@@ -1065,12 +1065,12 @@ void XNavBrow::create_nodeclasses()
brow_AddAnnot( nc_table, 38.9, 0.6, 9, brow_AddAnnot( nc_table, 38.9, 0.6, 9,
flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine, flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine,
1); 1);
brow_AddFrame( nc_table, 0, 0, 20, 0.8, flow_eDrawType_LineGray, -1, 1);
// Create text // Create text
brow_CreateNodeClass( ctx, "NavigatorText", brow_CreateNodeClass( ctx, "NavigatorText",
flow_eNodeGroup_Common, &nc_text); 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, 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_AddAnnotPixmap( nc_text, 1, 1.1, 0.1, flow_eDrawType_Line, 2, 0);
brow_AddAnnot( nc_text, 2.9, 0.6, 0, brow_AddAnnot( nc_text, 2.9, 0.6, 0,
...@@ -1082,12 +1082,12 @@ void XNavBrow::create_nodeclasses() ...@@ -1082,12 +1082,12 @@ void XNavBrow::create_nodeclasses()
brow_AddAnnot( nc_text, 11.9, 0.6, 2, brow_AddAnnot( nc_text, 11.9, 0.6, 2,
flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine, flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine,
1); 1);
brow_AddFrame( nc_text, 0, 0, 20, 0.8, flow_eDrawType_LineGray, -1, 1);
// Create Header // Create Header
brow_CreateNodeClass( ctx, "NavigatorHead", brow_CreateNodeClass( ctx, "NavigatorHead",
flow_eNodeGroup_Common, &nc_header); 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_AddAnnotPixmap( nc_header, 0, 0.2, 0.1, flow_eDrawType_Line, 2, 0);
brow_AddAnnot( nc_header, 2.9, 0.6, 0, brow_AddAnnot( nc_header, 2.9, 0.6, 0,
flow_eDrawType_TextHelveticaBold, 2, flow_eAnnotType_OneLine, flow_eDrawType_TextHelveticaBold, 2, flow_eAnnotType_OneLine,
...@@ -1095,12 +1095,12 @@ void XNavBrow::create_nodeclasses() ...@@ -1095,12 +1095,12 @@ void XNavBrow::create_nodeclasses()
brow_AddAnnot( nc_header, 8.9, 0.6, 1, brow_AddAnnot( nc_header, 8.9, 0.6, 1,
flow_eDrawType_TextHelveticaBold, 2, flow_eAnnotType_OneLine, flow_eDrawType_TextHelveticaBold, 2, flow_eAnnotType_OneLine,
1); 1);
brow_AddFrame( nc_header, 0, 0, 20, 0.8, flow_eDrawType_LineGray, 2, 1);
// Create Header2 // Create Header2
brow_CreateNodeClass( ctx, "NavigatorHeadLarge", brow_CreateNodeClass( ctx, "NavigatorHeadLarge",
flow_eNodeGroup_Common, &nc_headerlarge); 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_AddAnnotPixmap( nc_headerlarge, 0, 0.5, 0.1, flow_eDrawType_Line, 2, 0);
brow_AddAnnot( nc_headerlarge, 2.9, 1.0, 0, brow_AddAnnot( nc_headerlarge, 2.9, 1.0, 0,
flow_eDrawType_TextHelveticaBold, 4, flow_eAnnotType_OneLine, flow_eDrawType_TextHelveticaBold, 4, flow_eAnnotType_OneLine,
...@@ -1108,12 +1108,12 @@ void XNavBrow::create_nodeclasses() ...@@ -1108,12 +1108,12 @@ void XNavBrow::create_nodeclasses()
brow_AddAnnot( nc_headerlarge, 8.9, 1.0, 1, brow_AddAnnot( nc_headerlarge, 8.9, 1.0, 1,
flow_eDrawType_TextHelveticaBold, 4, flow_eAnnotType_OneLine, flow_eDrawType_TextHelveticaBold, 4, flow_eAnnotType_OneLine,
1); 1);
brow_AddFrame( nc_headerlarge, 0, 0, 20, 1.4, flow_eDrawType_LineGray, -1, 1);
// Create TableHeader // Create TableHeader
brow_CreateNodeClass( ctx, "NavigatorTableHead", brow_CreateNodeClass( ctx, "NavigatorTableHead",
flow_eNodeGroup_Common, &nc_table_header); 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_AddAnnotPixmap( nc_table_header, 0, 0.2, 0.1, flow_eDrawType_Line, 2, 0);
brow_AddAnnot( nc_table_header, 2.9, 0.6, 0, brow_AddAnnot( nc_table_header, 2.9, 0.6, 0,
flow_eDrawType_TextHelveticaBold, 2, flow_eAnnotType_OneLine, flow_eDrawType_TextHelveticaBold, 2, flow_eAnnotType_OneLine,
...@@ -1145,16 +1145,17 @@ void XNavBrow::create_nodeclasses() ...@@ -1145,16 +1145,17 @@ void XNavBrow::create_nodeclasses()
brow_AddAnnot( nc_table_header, 38.9, 0.6, 9, brow_AddAnnot( nc_table_header, 38.9, 0.6, 9,
flow_eDrawType_TextHelveticaBold, 2, flow_eAnnotType_OneLine, flow_eDrawType_TextHelveticaBold, 2, flow_eAnnotType_OneLine,
0); 0);
brow_AddFrame( nc_table_header, 0, 0, 20, 0.8, flow_eDrawType_LineGray, 2, 1);
brow_CreateNodeClass( ctx, "NavigatorEnum", brow_CreateNodeClass( ctx, "NavigatorEnum",
flow_eNodeGroup_Common, &nc_enum); 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, 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_AddAnnotPixmap( nc_enum, 1, 1.1, 0.1, flow_eDrawType_Line, 2, 0);
brow_AddAnnot( nc_enum, 2.9, 0.6, 0, brow_AddAnnot( nc_enum, 2.9, 0.6, 0,
flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine, flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine,
0); 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);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment