diff options
author | hobbs <hobbs> | 1999-12-22 20:01:07 (GMT) |
---|---|---|
committer | hobbs <hobbs> | 1999-12-22 20:01:07 (GMT) |
commit | 82910603b0e4d9c0fe57e826977e1f63eb12c3f7 (patch) | |
tree | c3c034b8b2f399802ef45b51f013a84fa3d009ef /generic/tkScale.h | |
parent | c09bb648b62bbb6099ed35e1aa45f769aaa1c2c7 (diff) | |
download | tk-82910603b0e4d9c0fe57e826977e1f63eb12c3f7.zip tk-82910603b0e4d9c0fe57e826977e1f63eb12c3f7.tar.gz tk-82910603b0e4d9c0fe57e826977e1f63eb12c3f7.tar.bz2 |
* generic/tkScale.c:
* generic/tkScale.h:
* mac/tkMacScale.c:
* unix/tkUnixScale.c: fixed potential segv from patch in 3897
Diffstat (limited to 'generic/tkScale.h')
-rw-r--r-- | generic/tkScale.h | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/generic/tkScale.h b/generic/tkScale.h index 2a5daf5..7d78dc5 100644 --- a/generic/tkScale.h +++ b/generic/tkScale.h @@ -9,7 +9,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkScale.h,v 1.6 1999/12/21 23:55:11 hobbs Exp $ + * RCS: @(#) $Id: tkScale.h,v 1.7 1999/12/22 20:01:08 hobbs Exp $ */ #ifndef _TKSCALE @@ -174,6 +174,7 @@ typedef struct TkScale { * REDRAW_OTHER - 1 means other stuff besides slider and value * need to be redrawn. * REDRAW_ALL - 1 means the entire widget needs to be redrawn. + * REDRAW_PENDING - 1 means any sort of redraw is pending * ACTIVE - 1 means the widget is active (the mouse is * in its window). * INVOKE_COMMAND - 1 means the scale's command needs to be @@ -195,12 +196,13 @@ typedef struct TkScale { #define REDRAW_SLIDER (1<<0) #define REDRAW_OTHER (1<<1) #define REDRAW_ALL (REDRAW_OTHER|REDRAW_SLIDER) -#define ACTIVE (1<<2) -#define INVOKE_COMMAND (1<<3) -#define SETTING_VAR (1<<4) -#define NEVER_SET (1<<5) -#define GOT_FOCUS (1<<6) -#define SCALE_DELETED (1<<7) +#define REDRAW_PENDING (1<<2) +#define ACTIVE (1<<3) +#define INVOKE_COMMAND (1<<4) +#define SETTING_VAR (1<<5) +#define NEVER_SET (1<<6) +#define GOT_FOCUS (1<<7) +#define SCALE_DELETED (1<<8) /* * Symbolic values for the active parts of a slider. These are |