summaryrefslogtreecommitdiffstats
path: root/generic/tkEntry.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-05-24 21:29:59 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-05-24 21:29:59 (GMT)
commita8636d143def6ec81330e49af713edbb2e08862a (patch)
treeecbaea802a0bc17da9aaadc8f12c97d15e9c768d /generic/tkEntry.h
parent334a6b720c513b352e0b4d13dc50b498a78c2ee4 (diff)
downloadtk-a8636d143def6ec81330e49af713edbb2e08862a.zip
tk-a8636d143def6ec81330e49af713edbb2e08862a.tar.gz
tk-a8636d143def6ec81330e49af713edbb2e08862a.tar.bz2
More progress
Diffstat (limited to 'generic/tkEntry.h')
-rw-r--r--generic/tkEntry.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/generic/tkEntry.h b/generic/tkEntry.h
index c81563c..f251185 100644
--- a/generic/tkEntry.h
+++ b/generic/tkEntry.h
@@ -134,7 +134,7 @@ typedef struct {
Tk_TextLayout placeholderLayout;/* Cached placeholder text layout information. */
char *placeholderString; /* String value of placeholder. */
- int placeholderChars; /* Number of chars in placeholder. */
+ TkSizeT placeholderChars; /* Number of chars in placeholder. */
XColor *placeholderColorPtr;/* Color value of placeholder foreground. */
GC placeholderGC; /* For drawing placeholder text. */
int placeholderX; /* Origin for layout. */
@@ -151,13 +151,13 @@ typedef struct {
* malloced memory with the same character
* length as string but whose characters are
* all equal to showChar. */
- int numBytes; /* Length of string in bytes. */
- int numChars; /* Length of string in characters. Both string
+ TkSizeT numBytes; /* Length of string in bytes. */
+ TkSizeT numChars; /* Length of string in characters. Both string
* and displayString have the same character
* length, but may have different byte lengths
* due to being made from different UTF-8
* characters. */
- int numDisplayBytes; /* Length of displayString in bytes. */
+ TkSizeT numDisplayBytes; /* Length of displayString in bytes. */
int inset; /* Number of pixels on the left and right
* sides that are taken up by XPAD,
* borderWidth (if any), and highlightWidth
@@ -166,7 +166,7 @@ typedef struct {
int layoutX, layoutY; /* Origin for layout. */
int leftX; /* X position at which character at leftIndex
* is drawn (varies depending on justify). */
- int leftIndex; /* Character index of left-most character
+ TkSizeT leftIndex; /* Character index of left-most character
* visible in window. */
Tcl_TimerToken insertBlinkHandler;
/* Timer handler used to blink cursor on and