From c655ae6919ee2fab66464ea0a7e5cd915ea73801 Mon Sep 17 00:00:00 2001 From: treectrl Date: Fri, 10 Jun 2005 02:40:57 +0000 Subject: Changes to support the new style layout option "-sticky". --- generic/tkTreeElem.h | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) 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 { -- cgit v0.12