Commit c5f2f09f authored by claes's avatar claes

Size of subgraph name increased from 32 to 80 chars

parent 58517d13
/* /*
* Proview $Id: glow_array.cpp,v 1.9 2007-01-04 07:57:38 claes Exp $ * Proview $Id: glow_array.cpp,v 1.10 2007-07-04 13:32:26 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
...@@ -780,7 +780,7 @@ void GlowArray::open( GrowCtx *ctx, ifstream& fp) ...@@ -780,7 +780,7 @@ void GlowArray::open( GrowCtx *ctx, ifstream& fp)
} }
case glow_eSave_NodeClass: case glow_eSave_NodeClass:
{ {
char name[32]; char name[80];
GlowArrayElem *element; GlowArrayElem *element;
GlowNodeClass *n = new GlowNodeClass( ctx, ""); GlowNodeClass *n = new GlowNodeClass( ctx, "");
...@@ -796,7 +796,7 @@ void GlowArray::open( GrowCtx *ctx, ifstream& fp) ...@@ -796,7 +796,7 @@ void GlowArray::open( GrowCtx *ctx, ifstream& fp)
} }
case glow_eSave_ConClass: case glow_eSave_ConClass:
{ {
char name[32]; char name[80];
GlowArrayElem *element; GlowArrayElem *element;
GlowConClass *n = new GlowConClass( ctx, "", GlowConClass *n = new GlowConClass( ctx, "",
...@@ -1124,7 +1124,7 @@ int GlowArray::find( GlowArrayElem *element) ...@@ -1124,7 +1124,7 @@ int GlowArray::find( GlowArrayElem *element)
int GlowArray::find_by_name( char *name, GlowArrayElem **element) int GlowArray::find_by_name( char *name, GlowArrayElem **element)
{ {
int i; int i;
char object_name[32]; char object_name[80];
for ( i = 0; i < a_size; i++) for ( i = 0; i < a_size; i++)
{ {
......
/* /*
* Proview $Id: glow_node.h,v 1.4 2007-01-04 07:57:39 claes Exp $ * Proview $Id: glow_node.h,v 1.5 2007-07-04 13:28:52 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
...@@ -129,7 +129,7 @@ class GlowNode : public GlowArrayElem { ...@@ -129,7 +129,7 @@ class GlowNode : public GlowArrayElem {
GlowNodeClass *nc_root; //!< Root nodeclass, i.e. the nodeclass of the first page. GlowNodeClass *nc_root; //!< Root nodeclass, i.e. the nodeclass of the first page.
GlowPoint pos; GlowPoint pos;
GlowPoint stored_pos; GlowPoint stored_pos;
char n_name[32]; //!< Name of the object. char n_name[80]; //!< Name of the object.
int highlight; //!< The object is drawn with highlight color. int highlight; //!< The object is drawn with highlight color.
int inverse; int inverse;
char *annotv[10]; //!< Array with pointers to annotation texts. char *annotv[10]; //!< Array with pointers to annotation texts.
......
/* /*
* Proview $Id: glow_nodeclass.h,v 1.5 2007-01-04 07:57:39 claes Exp $ * Proview $Id: glow_nodeclass.h,v 1.6 2007-07-04 13:28:52 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
...@@ -371,7 +371,7 @@ class GlowNodeClass : public GlowArrayElem { ...@@ -371,7 +371,7 @@ class GlowNodeClass : public GlowArrayElem {
GrowCtx *ctx; //!< Glow context. GrowCtx *ctx; //!< Glow context.
GlowArray a; //!< Array of nodeclass elements. GlowArray a; //!< Array of nodeclass elements.
char nc_name[32]; //!< Name of nodeclass. char nc_name[80]; //!< Name of nodeclass.
glow_eNodeGroup group; //!< Group the nodeclass belongs to. glow_eNodeGroup group; //!< Group the nodeclass belongs to.
char *dynamic; //!< Dynamic code. char *dynamic; //!< Dynamic code.
int dynamicsize; //!< Size of dynamic code. int dynamicsize; //!< Size of dynamic code.
......
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