diff options
author | frosch <frosch@openttd.org> | 2015-02-01 20:54:24 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2015-02-01 20:54:24 +0000 |
commit | a8080b62563dcb9f3e3bf5180ebf2de6cf6b68ae (patch) | |
tree | 3ac628ab264823257073f281ce7e692f07e5c651 /src/zoom_type.h | |
parent | 3bc7ee3ab731c7a855f811b36356ed907b42989a (diff) | |
download | openttd-a8080b62563dcb9f3e3bf5180ebf2de6cf6b68ae.tar.xz |
(svn r27134) -Codechange: Simplify GUI scaling by adding UnScaleGUI() and ScaleGUITrad().
Diffstat (limited to 'src/zoom_type.h')
-rw-r--r-- | src/zoom_type.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/zoom_type.h b/src/zoom_type.h index ec80eaf3b..c29f136cf 100644 --- a/src/zoom_type.h +++ b/src/zoom_type.h @@ -52,6 +52,7 @@ DECLARE_POSTFIX_INCREMENT(ZoomLevel) /** Type for storing the zoom level in a byte. */ typedef SimpleTinyEnumT<ZoomLevel, byte> ZoomLevelByte; +extern ZoomLevelByte _gui_zoom; #define ZOOM_LVL_GUI (_gui_zoom) #endif /* ZOOM_TYPE_H */ |