diff options
author | vincentdarley <vincentdarley> | 2003-11-21 18:51:18 (GMT) |
---|---|---|
committer | vincentdarley <vincentdarley> | 2003-11-21 18:51:18 (GMT) |
commit | e12ef8efd22290667ca8025a561c41bd0a0dc872 (patch) | |
tree | b496eb8e8536a2cf8b8507d74d0a2f3e4afe60eb /generic/tkText.h | |
parent | fdda3361d0bfd7bf2eaab1a47112b09989cc707a (diff) | |
download | tk-e12ef8efd22290667ca8025a561c41bd0a0dc872.zip tk-e12ef8efd22290667ca8025a561c41bd0a0dc872.tar.gz tk-e12ef8efd22290667ca8025a561c41bd0a0dc872.tar.bz2 |
correct handling of interpolated tabs using fractional pixel widths
Diffstat (limited to 'generic/tkText.h')
-rw-r--r-- | generic/tkText.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/generic/tkText.h b/generic/tkText.h index ee19ad2..bf79bc7 100644 --- a/generic/tkText.h +++ b/generic/tkText.h @@ -10,7 +10,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkText.h,v 1.21 2003/11/15 02:33:50 vincentdarley Exp $ + * RCS: @(#) $Id: tkText.h,v 1.22 2003/11/21 18:51:18 vincentdarley Exp $ */ #ifndef _TKTEXT @@ -474,6 +474,12 @@ typedef struct TkTextTab { typedef struct TkTextTabArray { int numTabs; /* Number of tab stops. */ + double lastTab; /* The accurate fractional pixel + * position of the last tab. */ + double tabIncrement; /* The accurate fractional pixel + * increment between interpolated + * tabs we have to create when + * we exceed numTabs. */ TkTextTab tabs[1]; /* Array of tabs. The actual size * will be numTabs. THIS FIELD MUST * BE THE LAST IN THE STRUCTURE. */ |