summaryrefslogtreecommitdiffstats
path: root/generic/tkScale.h
diff options
context:
space:
mode:
authorhobbs <hobbs>1999-12-21 23:55:09 (GMT)
committerhobbs <hobbs>1999-12-21 23:55:09 (GMT)
commite3249c7140d13964c60a406053e850c11fe0a8d3 (patch)
tree2bdd8c171e7711b0c956672d13d8df8239573690 /generic/tkScale.h
parentc30bbd5faddbda1bb9f7ce951124d2c87110f082 (diff)
downloadtk-e3249c7140d13964c60a406053e850c11fe0a8d3.zip
tk-e3249c7140d13964c60a406053e850c11fe0a8d3.tar.gz
tk-e3249c7140d13964c60a406053e850c11fe0a8d3.tar.bz2
* generic/tk.h:
* README: updated for patch level 8.3b1 * generic/tkScale.c: * generic/tkScale.h: fixed possible core when freeing options (cursor) associated with scale widget [Bug: 3897] * generic/tk3d.c: added extra calculations to ensure that thin frames get refreshed too [Bug: 3596] * generic/tkCanvText.c: * generic/tkEntry.c: * generic/tkFont.c: * generic/tkImgPPM.c: removed extranneous vars that were set but never used.
Diffstat (limited to 'generic/tkScale.h')
-rw-r--r--generic/tkScale.h20
1 files changed, 11 insertions, 9 deletions
diff --git a/generic/tkScale.h b/generic/tkScale.h
index af0ca43..2a5daf5 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.5 1999/04/16 01:51:21 stanton Exp $
+ * RCS: @(#) $Id: tkScale.h,v 1.6 1999/12/21 23:55:11 hobbs Exp $
*/
#ifndef _TKSCALE
@@ -189,16 +189,18 @@ typedef struct TkScale {
* doesn't appear to have changed).
* GOT_FOCUS - 1 means that the focus is currently in
* this widget.
+ * SCALE_DELETED - 1 means the scale widget is being deleted
*/
-#define REDRAW_SLIDER 1
-#define REDRAW_OTHER 2
-#define REDRAW_ALL 3
-#define ACTIVE 4
-#define INVOKE_COMMAND 0x10
-#define SETTING_VAR 0x20
-#define NEVER_SET 0x40
-#define GOT_FOCUS 0x80
+#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)
/*
* Symbolic values for the active parts of a slider. These are