Utility/Window: Add new event system, based on signals

Old pooling-based system remains for now but is now deprecated


Former-commit-id: 9482b37fb19041399b7c26181319e1c00e7678fd [formerly 516aa322ca7f656e3e7c66010248b63068eec723] [formerly 6fdb81e8d59fef7d6e10e58898878d3e1a796188 [formerly c999fe23b149e14bdeeefed5436839fe44e1ebc3]]
Former-commit-id: fb35c9017bc2c7d15e31ccadb3f943ca2f0332df [formerly 005fa120540dc1a2d09e30c2de9611c4cb98aecf]
Former-commit-id: d51482384fffb5d1b339f3ce39df1a1ed6018228
This commit is contained in:
Lynix
2016-08-28 01:08:38 +02:00
parent 1d179c4f99
commit 326db9fa30
7 changed files with 181 additions and 38 deletions

View File

@@ -325,6 +325,15 @@ namespace Nz
return false;
}
void Window::ProcessEvents(bool block)
{
NazaraAssert(m_impl, "Window not created");
#if !NAZARA_UTILITY_THREADED_WINDOW
m_impl->ProcessEvents(block);
#endif
}
void Window::SetCursor(WindowCursor cursor)
{
#if NAZARA_UTILITY_SAFE