From 13d8e8e8427af9ad9f138c5dc72557a05e7b36c0 Mon Sep 17 00:00:00 2001 From: thrust26 Date: Thu, 14 Sep 2023 20:01:13 +0200 Subject: [PATCH] fixed warnings --- src/gui/RomImageWidget.hxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gui/RomImageWidget.hxx b/src/gui/RomImageWidget.hxx index 6f27204fd..f906cb674 100644 --- a/src/gui/RomImageWidget.hxx +++ b/src/gui/RomImageWidget.hxx @@ -113,6 +113,7 @@ class RomImageWidget : public Widget // Surface zoom status bool myIsZoomed{false}; + #ifdef IMAGE_SUPPORT // Zoom delay timer uInt32 myZoomTimer{0}; @@ -121,6 +122,7 @@ class RomImageWidget : public Widget // Last mouse position, used for zooming Common::Point myMousePos; + #endif // Current navigation area of the mouse Area myMouseArea{Area::NONE};