summaryrefslogtreecommitdiffstats
path: root/generic/tkScale.h
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2019-01-26 13:30:44 (GMT)
committerfvogel <fvogelnew1@free.fr>2019-01-26 13:30:44 (GMT)
commit303f11157504fc05934fb107a61f3c551f6e3684 (patch)
treea478ad5fefebb9e03f4fb3a04040ca2d2bf5b439 /generic/tkScale.h
parent3be37d2e475c04c88fe192c47cc5fcef06024aab (diff)
parentcff021b2dc7bf601b37714ae36bfa4fd510dbd1d (diff)
downloadtk-303f11157504fc05934fb107a61f3c551f6e3684.zip
tk-303f11157504fc05934fb107a61f3c551f6e3684.tar.gz
tk-303f11157504fc05934fb107a61f3c551f6e3684.tar.bz2
Fix [3003895fff] and [1899040fff]: TkRoundToResolution doesn't account for -from
Diffstat (limited to 'generic/tkScale.h')
-rw-r--r--generic/tkScale.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/generic/tkScale.h b/generic/tkScale.h
index 4f28738..d44e65b 100644
--- a/generic/tkScale.h
+++ b/generic/tkScale.h
@@ -219,7 +219,8 @@ typedef struct TkScale {
*/
MODULE_SCOPE void TkEventuallyRedrawScale(TkScale *scalePtr, int what);
-MODULE_SCOPE double TkRoundToResolution(TkScale *scalePtr, double value);
+MODULE_SCOPE double TkRoundValueToResolution(TkScale *scalePtr, double value);
+MODULE_SCOPE double TkRoundIntervalToResolution(TkScale *scalePtr, double value);
MODULE_SCOPE TkScale * TkpCreateScale(Tk_Window tkwin);
MODULE_SCOPE void TkpDestroyScale(TkScale *scalePtr);
MODULE_SCOPE void TkpDisplayScale(ClientData clientData);