From 8104f611f1c4ed80866803bf5504fc2a1ceedaca Mon Sep 17 00:00:00 2001 From: Matyas Dolak Date: Fri, 10 Jan 2014 11:55:43 +0100 Subject: BiomeVisualiser: Added zooming using the 1 - 8 keys. --- Tools/BiomeVisualiser/BiomeRenderer.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Tools/BiomeVisualiser/BiomeRenderer.h') diff --git a/Tools/BiomeVisualiser/BiomeRenderer.h b/Tools/BiomeVisualiser/BiomeRenderer.h index 2590e0406..752b61811 100644 --- a/Tools/BiomeVisualiser/BiomeRenderer.h +++ b/Tools/BiomeVisualiser/BiomeRenderer.h @@ -37,6 +37,11 @@ public: void MoveViewBy(int a_OffsX, int a_OffsY); + void SetZoom(int a_NewZoom) + { + m_Zoom = a_NewZoom; + } + protected: cBiomeCache m_Cache; -- cgit v1.2.3