summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2015-10-29 19:23:21 +0000
committerfrosch <frosch@openttd.org>2015-10-29 19:23:21 +0000
commitc1c49a0e52c6108102314cee9633bc6f5f60e4dd (patch)
tree5874c770e5a23d2b228a4c2e6d25c8cb60d9e2c4
parent756c13b100d0d35f0e7f3e57b2d77f37e4ae9cf2 (diff)
downloadopenttd-c1c49a0e52c6108102314cee9633bc6f5f60e4dd.tar.xz
(svn r27417) -Doc: ScaleGUITrad (adf88)
-rw-r--r--src/zoom_func.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/zoom_func.h b/src/zoom_func.h
index 1cb3d0c48..da266e35c 100644
--- a/src/zoom_func.h
+++ b/src/zoom_func.h
@@ -67,7 +67,7 @@ static inline int UnScaleByZoomLower(int value, ZoomLevel zoom)
/**
* Short-hand to apply GUI zoom level.
* @param value Pixel amount at #ZOOM_LVL_BEGIN (full zoom in).
- * @return value Pixel amount at #ZOOM_LVL_GUI.
+ * @return Pixel amount at #ZOOM_LVL_GUI (current interface size).
*/
static inline int UnScaleGUI(int value)
{
@@ -76,8 +76,8 @@ static inline int UnScaleGUI(int value)
/**
* Scale traditional pixel dimensions to GUI zoom level.
- * @param value Pixel amount at 1x zoom level.
- * @return value Pixel amount at #ZOOM_LVL_GUI.
+ * @param value Pixel amount at #ZOOM_LVL_BASE (traditional "normal" interface size).
+ * @return Pixel amount at #ZOOM_LVL_GUI (current interface size).
*/
static inline int ScaleGUITrad(int value)
{