From 52afd9fb3f35912410da7926b9f413e3be715eb8 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: 27a46b53eb4d239d9f48157aeb339562a3247d7c [formerly c53e2e7c4b38b94befb1ef968867b6e0436b3e89] [formerly 20a1935be4339f8766d419805843514c382f53b1 [formerly f152706c89a0be8e81c7e8ebfe2bc1c15073dc52]] Former-commit-id: 34f818c35fdc341952e5f4d0abcc52ea156ba4a6 [formerly 460e972df1e0f71da2d05ce4262b250532d13d0d] Former-commit-id: af5af59a338b0b9c2cb48a8e0b1fdc697c9952d5 --- 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);