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.
*
* 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_TextHelveticaBold, 2, flow_eAnnotType_OneLine,
flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine,
0);
brow_AddAnnot( nc_object, 7, 0.6, 1,
flow_eDrawType_TextHelveticaBold, 2, flow_eAnnotType_OneLine,
flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine,
1);
brow_AddAnnot( nc_object, 12, 0.6, 2,
flow_eDrawType_TextHelveticaBold, 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_TextHelveticaBold, 2, flow_eAnnotType_OneLine,
flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine,
0);
brow_AddAnnot( nc_attr, 12, 0.6, 1,
flow_eDrawType_TextHelveticaBold, 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_TextHelveticaBold, 2, flow_eAnnotType_OneLine,
flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine,
0);
brow_AddAnnot( nc_attr_multiline, 8, 0.6, 1,
flow_eDrawType_TextHelveticaBold, 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_TextHelveticaBold, 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_TextHelveticaBold, 2, flow_eAnnotType_OneLine,
flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine,
0);
brow_AddAnnot( nc_table, 8, 0.6, 1,
flow_eDrawType_TextHelveticaBold, 2, flow_eAnnotType_OneLine,
flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine,
1);
brow_AddAnnot( nc_table, 12, 0.6, 2,
flow_eDrawType_TextHelveticaBold, 2, flow_eAnnotType_OneLine,
flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine,
1);
brow_AddAnnot( nc_table, 16, 0.6, 3,
flow_eDrawType_TextHelveticaBold, 2, flow_eAnnotType_OneLine,
flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine,
1);
brow_AddAnnot( nc_table, 20, 0.6, 4,
flow_eDrawType_TextHelveticaBold, 2, flow_eAnnotType_OneLine,
flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine,
1);
brow_AddAnnot( nc_table, 24, 0.6, 5,
flow_eDrawType_TextHelveticaBold, 2, flow_eAnnotType_OneLine,
flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine,
1);
brow_AddAnnot( nc_table, 28, 0.6, 6,
flow_eDrawType_TextHelveticaBold, 2, flow_eAnnotType_OneLine,
flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine,
1);
brow_AddAnnot( nc_table, 32, 0.6, 7,
flow_eDrawType_TextHelveticaBold, 2, flow_eAnnotType_OneLine,
flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine,
1);
brow_AddAnnot( nc_table, 35, 0.6, 8,
flow_eDrawType_TextHelveticaBold, 2, flow_eAnnotType_OneLine,
flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine,
1);
brow_AddAnnot( nc_table, 38, 0.6, 9,
flow_eDrawType_TextHelveticaBold, 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);
}
......
/*
* 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_TextHelveticaBold, 2, flow_eAnnotType_OneLine,
flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine,
0);
brow_AddAnnot( nc_object, 12, 0.6, 1,
flow_eDrawType_TextHelveticaBold, 2, flow_eAnnotType_OneLine,
flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine,
1);
brow_AddAnnot( nc_object, 15, 0.6, 2,
flow_eDrawType_TextHelveticaBold, 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_TextHelveticaBold, 2, flow_eAnnotType_OneLine,
flow_eDrawType_TextHelvetica, 2, flow_eAnnotType_OneLine,
0);
brow_AddAnnot( nc_attr, 8, 0.6, 1,
flow_eDrawType_TextHelveticaBold, 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);
}
......
/**
* 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.
*
* 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()
......
/*
* 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()
......
/**
* 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.
*
* 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_LineGray, -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,
......
/*
* 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);
......
/*
* 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.
*
* 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);
}
//
......
/*
* 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.
*
* 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);
}
//
......
This diff is collapsed.
/*
* 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.
*
* 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);
}
......
/*
* 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.
*
* 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);
}
......
/*
* 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.
*
* 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);
}
......
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