mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-07-15 08:35:11 +01:00
(svn r27417) -Doc: ScaleGUITrad (adf88)
This commit is contained in:
parent
756c13b100
commit
c1c49a0e52
@ -67,7 +67,7 @@ static inline int UnScaleByZoomLower(int value, ZoomLevel zoom)
|
|||||||
/**
|
/**
|
||||||
* Short-hand to apply GUI zoom level.
|
* Short-hand to apply GUI zoom level.
|
||||||
* @param value Pixel amount at #ZOOM_LVL_BEGIN (full zoom in).
|
* @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)
|
static inline int UnScaleGUI(int value)
|
||||||
{
|
{
|
||||||
@ -76,8 +76,8 @@ static inline int UnScaleGUI(int value)
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Scale traditional pixel dimensions to GUI zoom level.
|
* Scale traditional pixel dimensions to GUI zoom level.
|
||||||
* @param value Pixel amount at 1x zoom level.
|
* @param value Pixel amount at #ZOOM_LVL_BASE (traditional "normal" interface size).
|
||||||
* @return value Pixel amount at #ZOOM_LVL_GUI.
|
* @return Pixel amount at #ZOOM_LVL_GUI (current interface size).
|
||||||
*/
|
*/
|
||||||
static inline int ScaleGUITrad(int value)
|
static inline int ScaleGUITrad(int value)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user