aboutsummaryrefslogtreecommitdiff
path: root/generic/Field.h
diff options
context:
space:
mode:
authorcvs2svn2005-06-10 10:29:11 +0000
committercvs2svn2005-06-10 10:29:11 +0000
commit960cdf29197bc3f5922110cf26627aa9709ac79b (patch)
tree7d6e4a472376b203d21826c2230b4a8c6a9024bd /generic/Field.h
parent3fc9c4bc1d6f70db41ad418992bf3d461059d3c0 (diff)
downloadtkzinc-960cdf29197bc3f5922110cf26627aa9709ac79b.zip
tkzinc-960cdf29197bc3f5922110cf26627aa9709ac79b.tar.gz
tkzinc-960cdf29197bc3f5922110cf26627aa9709ac79b.tar.bz2
tkzinc-960cdf29197bc3f5922110cf26627aa9709ac79b.tar.xz
This commit was manufactured by cvs2svn to create branch 'bogue40'.
Diffstat (limited to 'generic/Field.h')
-rw-r--r--generic/Field.h85
1 files changed, 0 insertions, 85 deletions
diff --git a/generic/Field.h b/generic/Field.h
deleted file mode 100644
index ad13663..0000000
--- a/generic/Field.h
+++ /dev/null
@@ -1,85 +0,0 @@
-/*
- * Field.h -- Header for field item parts.
- *
- * Authors : Patrick Lecoanet.
- * Creation date :
- *
- * $Id$
- */
-
-/*
- * Copyright (c) 2002 - 2005 CENA, Patrick Lecoanet --
- *
- * See the file "Copyright" for information on usage and redistribution
- * of this file, and for a DISCLAIMER OF ALL WARRANTIES.
- *
- */
-
-
-#ifndef _Field_h
-#define _Field_h
-
-#include "Attrs.h"
-#include "Types.h"
-#include "List.h"
-#include "Color.h"
-#include "Image.h"
-
-
-struct _ZnItemStruct;
-struct _ZnAttrConfig;
-
-
-/*
- * Field array management record.
- *
- * This structure should be used only for internal
- * management by items with fields. The rest of the code
- * should use the methods in FIELD.
- *
- */
-typedef struct _ZnFieldSetStruct {
- struct _ZnItemStruct *item;
- ZnLabelFormat label_format;
- unsigned int num_fields;
- struct _FieldStruct *fields;
- ZnDim label_width; /* Describe the label size. Access these */
- ZnDim label_height; /* 2 only with GetLabelBBox. -1 means
- * not up to date. */
- ZnPoint label_pos; /* Describe the label origin. */
-} ZnFieldSetStruct, *ZnFieldSet;
-
-
-extern struct _ZnFIELD {
- struct _ZnAttrConfig *attr_desc;
-
- void (*InitFields)(ZnFieldSet fs);
- void (*CloneFields)(ZnFieldSet fs);
- void (*FreeFields)(ZnFieldSet fs);
- int (*ConfigureField)(ZnFieldSet fs, int field, int argc, Tcl_Obj *CONST argv[], int *flags);
- int (*QueryField)(ZnFieldSet fs, int field, int argc, Tcl_Obj *CONST argv[]);
- void (*DrawFields)(ZnFieldSet fs);
- void (*RenderFields)(ZnFieldSet fs);
- int (*PostScriptFields)(ZnFieldSet fs, ZnBool prepass, ZnBBox *area);
- int (*FieldsToArea)(ZnFieldSet fs, ZnBBox *area);
- ZnBool (*IsFieldSensitive)(ZnFieldSet fs, int part);
- double (*FieldsPick)(ZnFieldSet fs, ZnPoint *p, int *part);
- int (*FieldIndex)(ZnFieldSet fs, int field, Tcl_Obj *index_spec, int *index);
- ZnBool (*FieldInsertChars)(ZnFieldSet fs, int field, int *index, char *chars);
- ZnBool (*FieldDeleteChars)(ZnFieldSet fs, int field,
- int *first, int *last);
- void (*FieldCursor)(ZnFieldSet fs, int field, int index);
- int (*FieldSelection)(ZnFieldSet fs, int field, int offset,
- char *chars, int max_chars);
- void (*LeaderToLabel)(ZnFieldSet fs, ZnPoint *start, ZnPoint *end);
- void (*GetLabelBBox)(ZnFieldSet fs, ZnDim *w, ZnDim *h);
- void (*GetFieldBBox)(ZnFieldSet fs, unsigned int index,
- ZnBBox *field_bbox);
- void (*SetFieldsAutoAlign)(ZnFieldSet fs, int alignment);
- void (*ClearFieldCache)(ZnFieldSet fs, int field);
- char *(*GetFieldStruct)(ZnFieldSet fs, int field);
- unsigned int (*NumFields)(ZnFieldSet fs);
-} ZnFIELD;
-
-
-#endif /* _Field_h */