summaryrefslogtreecommitdiffstats
path: root/generic/tkTreeElem.h
diff options
context:
space:
mode:
authortreectrl <treectrl>2005-06-10 02:40:57 (GMT)
committertreectrl <treectrl>2005-06-10 02:40:57 (GMT)
commitc655ae6919ee2fab66464ea0a7e5cd915ea73801 (patch)
treed542fae410b5f936a88766413af089ae700babb7 /generic/tkTreeElem.h
parent4de5ab18041bd25708eb6e6a9f784a089c249540 (diff)
downloadtktreectrl-c655ae6919ee2fab66464ea0a7e5cd915ea73801.zip
tktreectrl-c655ae6919ee2fab66464ea0a7e5cd915ea73801.tar.gz
tktreectrl-c655ae6919ee2fab66464ea0a7e5cd915ea73801.tar.bz2
Changes to support the new style layout option "-sticky".
Diffstat (limited to 'generic/tkTreeElem.h')
-rw-r--r--generic/tkTreeElem.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/generic/tkTreeElem.h b/generic/tkTreeElem.h
index acad547..45a1d8f 100644
--- a/generic/tkTreeElem.h
+++ b/generic/tkTreeElem.h
@@ -5,9 +5,11 @@
*
* Copyright (c) 2002-2005 Tim Baker
*
- * RCS: @(#) $Id: tkTreeElem.h,v 1.10 2005/06/04 19:03:36 treectrl Exp $
+ * RCS: @(#) $Id: tkTreeElem.h,v 1.11 2005/06/10 02:40:57 treectrl Exp $
*/
+#define STYLE_STICKY
+
typedef struct ElementType ElementType;
typedef struct Element Element;
typedef struct ElementArgs ElementArgs;
@@ -34,7 +36,15 @@ struct ElementArgs
int y;
int width;
int height;
+ int squeeze;
int pad[4];
+#ifdef STYLE_STICKY
+#define STICKY_W 0x1000 /* These values must match ELF_STICKY_xxx */
+#define STICKY_N 0x2000
+#define STICKY_E 0x4000
+#define STICKY_S 0x8000
+ int sticky;
+#endif
Drawable drawable;
} display;
struct {