Utility/Window: Window now automatically close on quit event

Former-commit-id: 727311111afc6108dc1d2140ea1b4de46158160a [formerly 2d54d14f17deb75d949c63bd1f84b697fd7338ba] [formerly 5567a99268b022010d70c18d28e16d09dde8dd65 [formerly 6db94dce7ebfa5110d0279868ebda4728e20cc95]]
Former-commit-id: 864263f18501629c2f5bc50453a41d5a24e8cf2a [formerly f065aa1bebdc2bc3b3eb455f90381b3e990530c2]
Former-commit-id: f21791c84c9f024db8e12a6985b22e07d01a0a27
This commit is contained in:
Lynix
2016-08-28 01:09:15 +02:00
parent 326db9fa30
commit f16187674c
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;
};