From 3edcc2b043c1f9bb3ee4eb924336aaa23c7a31ae Mon Sep 17 00:00:00 2001 From: Sven Eberhardt Date: Thu, 3 Sep 2015 23:04:26 -0400 Subject: [PATCH] GUI: Readded "using Window::MouseInput;" in Screen to make the overload clear. It got lost when moving some functions from protected to public. --- src/gui/C4Gui.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gui/C4Gui.h b/src/gui/C4Gui.h index 0a47142f3..0950bca71 100644 --- a/src/gui/C4Gui.h +++ b/src/gui/C4Gui.h @@ -2595,6 +2595,7 @@ namespace C4GUI bool KeyAny(); // to be called on keystrokes; resets some tooltip-times virtual bool CharIn(const char * c); // input: character key pressed - should return false for none-character-inputs + using Window::MouseInput; bool MouseInput(int32_t iButton, int32_t iX, int32_t iY, DWORD dwKeyParam, Dialog *pDlg, class C4Viewport *pVP); // input: mouse movement or buttons; sends MouseEnter/Leave; return whether inside dialog void MouseMove(int32_t iButton, int32_t iX, int32_t iY, DWORD dwKeyParam, class C4Viewport *pVP); // pVP specified for console mode viewports only void SetMouseInGUI(bool fInGUI, bool fByMouse);