summaryrefslogtreecommitdiffstats
path: root/generic/tkScale.h
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tkScale.h')
-rw-r--r--generic/tkScale.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/generic/tkScale.h b/generic/tkScale.h
index 200ac08..d73d378 100644
--- a/generic/tkScale.h
+++ b/generic/tkScale.h
@@ -10,14 +10,14 @@
* 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.9 2005/11/15 15:18:22 dkf Exp $
+ * RCS: @(#) $Id: tkScale.h,v 1.10 2005/11/27 02:36:14 das Exp $
*/
#ifndef _TKSCALE
#define _TKSCALE
-#ifndef _TK
-#include "tk.h"
+#ifndef _TKINT
+#include "tkInt.h"
#endif
#ifdef BUILD_tk
@@ -231,16 +231,16 @@ typedef struct TkScale {
* Declaration of procedures used in the implementation of the scale widget.
*/
-EXTERN void TkEventuallyRedrawScale(TkScale *scalePtr, int what);
-EXTERN double TkRoundToResolution(TkScale *scalePtr, double value);
-EXTERN TkScale * TkpCreateScale(Tk_Window tkwin);
-EXTERN void TkpDestroyScale(TkScale *scalePtr);
-EXTERN void TkpDisplayScale(ClientData clientData);
-EXTERN int TkpScaleElement(TkScale *scalePtr, int x, int y);
-EXTERN void TkScaleSetValue(TkScale *scalePtr, double value,
+MODULE_SCOPE void TkEventuallyRedrawScale(TkScale *scalePtr, int what);
+MODULE_SCOPE double TkRoundToResolution(TkScale *scalePtr, double value);
+MODULE_SCOPE TkScale * TkpCreateScale(Tk_Window tkwin);
+MODULE_SCOPE void TkpDestroyScale(TkScale *scalePtr);
+MODULE_SCOPE void TkpDisplayScale(ClientData clientData);
+MODULE_SCOPE int TkpScaleElement(TkScale *scalePtr, int x, int y);
+MODULE_SCOPE void TkScaleSetValue(TkScale *scalePtr, double value,
int setVar, int invokeCommand);
-EXTERN double TkScalePixelToValue(TkScale *scalePtr, int x, int y);
-EXTERN int TkScaleValueToPixel(TkScale *scalePtr, double value);
+MODULE_SCOPE double TkScalePixelToValue(TkScale *scalePtr, int x, int y);
+MODULE_SCOPE int TkScaleValueToPixel(TkScale *scalePtr, double value);
# undef TCL_STORAGE_CLASS
# define TCL_STORAGE_CLASS DLLIMPORT