aboutsummaryrefslogtreecommitdiff
path: root/generic/Field.h
diff options
context:
space:
mode:
authorlecoanet2005-04-13 14:07:59 +0000
committerlecoanet2005-04-13 14:07:59 +0000
commit46ea8bc12e435b7ca6593bc43498ef6aae3e261a (patch)
tree999a9e3b04ec40156befba0c189c83d07aac4cfa /generic/Field.h
parent970957ef4d39e8558410347852b709cf8fd15e87 (diff)
downloadtkzinc-46ea8bc12e435b7ca6593bc43498ef6aae3e261a.zip
tkzinc-46ea8bc12e435b7ca6593bc43498ef6aae3e261a.tar.gz
tkzinc-46ea8bc12e435b7ca6593bc43498ef6aae3e261a.tar.bz2
tkzinc-46ea8bc12e435b7ca6593bc43498ef6aae3e261a.tar.xz
Expanded the tabs into spaces to make the indenting independant of
the editing environment (emacs vs vi for example).
Diffstat (limited to 'generic/Field.h')
-rw-r--r--generic/Field.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/generic/Field.h b/generic/Field.h
index 9d80e73..20d0040 100644
--- a/generic/Field.h
+++ b/generic/Field.h
@@ -1,8 +1,8 @@
/*
* Field.h -- Header for field item parts.
*
- * Authors : Patrick Lecoanet.
- * Creation date :
+ * Authors : Patrick Lecoanet.
+ * Creation date :
*
* $Id$
*/
@@ -50,19 +50,19 @@ struct _ZnAttrConfig;
*
*/
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. */
+ 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;
+ struct _ZnAttrConfig *attr_desc;
void (*InitFields)(ZnFieldSet fs);
void (*CloneFields)(ZnFieldSet fs);
@@ -77,14 +77,14 @@ extern struct _ZnFIELD {
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);
+ 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);
+ 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);
+ ZnBBox *field_bbox);
void (*SetFieldsAutoAlign)(ZnFieldSet fs, int alignment);
void (*ClearFieldCache)(ZnFieldSet fs, int field);
char *(*GetFieldStruct)(ZnFieldSet fs, int field);