summaryrefslogtreecommitdiff
path: root/src/gfx.cpp
diff options
context:
space:
mode:
authorGreg Carlin <gregcarlin@users.noreply.github.com>2019-02-23 03:27:46 -0500
committerPeterN <peter@fuzzle.org>2019-02-23 08:27:46 +0000
commit00d28a500d9b2c32877871e0d2b917c8b28a82a6 (patch)
tree4833e57b77c01a0dfa327e546831319336c4cd13 /src/gfx.cpp
parent56a6d7aec88b170eaf0dd57e14f5fffc24d3b1af (diff)
downloadopenttd-00d28a500d9b2c32877871e0d2b917c8b28a82a6.tar.xz
Feature: Add option to adjust font size separately from GUI size. (#7003)
Adds an option in the "Game Options" next to "Interface Size" called "Font Size". Available options are normal, double, and quad.
Diffstat (limited to 'src/gfx.cpp')
-rw-r--r--src/gfx.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gfx.cpp b/src/gfx.cpp
index 85cd3bfb5..0f050971c 100644
--- a/src/gfx.cpp
+++ b/src/gfx.cpp
@@ -58,6 +58,7 @@ static void GfxMainBlitter(const Sprite *sprite, int x, int y, BlitterMode mode,
static ReusableBuffer<uint8> _cursor_backup;
ZoomLevelByte _gui_zoom; ///< GUI Zoom level
+ZoomLevelByte _font_zoom; ///< Font Zoom level
/**
* The rect for repaint.