Utility/Window: Window now automatically close on quit event

Former-commit-id: da6eb0214de58af84c0cbedffc0916a1a5b335e8 [formerly ca81aa0c8f8da61e841a1ccb85295f99efe7e317] [formerly 30f112245ee8eee0ed5f4db88cc4a7c13b9d9a9c [formerly f404a5b5bef35d9c80232371a40bd04c5acc8cfc]]
Former-commit-id: c1443eed4321f48aa42e93d2679f0eddaacbbb5d [formerly 386ba36f29ace0e098fd95e4f05fec6498b4183a]
Former-commit-id: 1fb357a16a42eee7d0658d09716ef7cdcca584ab
This commit is contained in:
Lynix
2016-08-28 01:09:15 +02:00
parent 9fa65db6b9
commit 414bc1f5b4
2 changed files with 14 additions and 1 deletions

View File

@@ -52,6 +52,7 @@ 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);
void EnableKeyRepeat(bool enable);
void EnableSmoothScrolling(bool enable);
@@ -122,6 +123,7 @@ namespace Nz
#endif
EventHandler m_eventHandler;
bool m_closed;
bool m_closeOnQuit;
bool m_eventPolling;
bool m_ownsWindow;
};