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
This commit is contained in:
Lynix 2016-08-28 01:20:31 +02:00
parent 527c8ea0cf
commit 52afd9fb3f
1 changed files with 8 additions and 3 deletions

View File

@ -53,7 +53,10 @@ namespace Nz
void Destroy(); void Destroy();
inline void EnableCloseOnQuit(bool closeOnQuit); 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 EnableKeyRepeat(bool enable);
void EnableSmoothScrolling(bool enable); void EnableSmoothScrolling(bool enable);
@ -74,7 +77,8 @@ namespace Nz
inline bool IsValid() const; inline bool IsValid() const;
bool IsVisible() 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); void ProcessEvents(bool block = false);
@ -95,7 +99,8 @@ namespace Nz
void SetTitle(const String& title); void SetTitle(const String& title);
void SetVisible(bool visible); 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; Window& operator=(const Window&) = delete;
inline Window& operator=(Window&& window); inline Window& operator=(Window&& window);