Changeset - r22235:9ce3be17043b
[Not reviewed]
master
0 1 0
frosch - 9 years ago 2015-10-29 19:23:21
frosch@openttd.org
(svn r27417) -Doc: ScaleGUITrad (adf88)
1 file changed with 3 insertions and 3 deletions:
0 comments (0 inline, 0 general)
src/zoom_func.h
Show inline comments
 
@@ -67,7 +67,7 @@ static inline int UnScaleByZoomLower(int
 
/**
 
 * 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)
 
{
0 comments (0 inline, 0 general)