From f9b73881174f2be879e9e6b3121e9ca49550f628 Mon Sep 17 00:00:00 2001 From: Lynix Date: Sun, 28 Aug 2016 01:20:31 +0200 Subject: [PATCH] Utility/Window: Improve visibility of deprecated methods Former-commit-id: f4958fda41386fa92643d8f9c01c0156d8a20aff [formerly 817600d539699d39236547bb379ed41d800709a7] [formerly 68f1014e6f06349b9fc7e6fd263b7452cbea63b1 [formerly b805752338a28bd6a832979e05b8dd321aac1f21]] Former-commit-id: 9c085fdff76b4cc79bb01a39b0f778c5208862be [formerly efb1b5904b1819f5e230e5899a5faa48d1a04f90] Former-commit-id: 2713d32759a8df3ee3e6e02d8db4167a9e52fa56 --- include/Nazara/Utility/Window.hpp | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/include/Nazara/Utility/Window.hpp b/include/Nazara/Utility/Window.hpp index b46efd6b9..e544093c5 100644 --- a/include/Nazara/Utility/Window.hpp +++ b/include/Nazara/Utility/Window.hpp @@ -53,7 +53,10 @@ namespace Nz void Destroy(); inline void EnableCloseOnQuit(bool closeOnQuit); - NAZARA_DEPRECATED("Event pooling/waiting is deprecated, please use the EventHandler system") inline void EnableEventPolling(bool enable); + + NAZARA_DEPRECATED("Event pooling/waiting is deprecated, please use the EventHandler system") + inline void EnableEventPolling(bool enable); + void EnableKeyRepeat(bool enable); void EnableSmoothScrolling(bool enable); @@ -74,7 +77,8 @@ namespace Nz inline bool IsValid() const; bool IsVisible() const; - NAZARA_DEPRECATED("Event pooling/waiting is deprecated, please use the EventHandler system") bool PollEvent(WindowEvent* event); + NAZARA_DEPRECATED("Event pooling/waiting is deprecated, please use the EventHandler system") + bool PollEvent(WindowEvent* event); void ProcessEvents(bool block = false); @@ -95,7 +99,8 @@ namespace Nz void SetTitle(const String& title); void SetVisible(bool visible); - NAZARA_DEPRECATED("Event pooling/waiting is deprecated, please use the EventHandler system")bool WaitEvent(WindowEvent* event); + NAZARA_DEPRECATED("Event pooling/waiting is deprecated, please use the EventHandler system") + bool WaitEvent(WindowEvent* event); Window& operator=(const Window&) = delete; inline Window& operator=(Window&& window);