Fixed method alphabetic order

Former-commit-id: b37a42cb64fa729888ad50957fc8c73b17ef9620
This commit is contained in:
Lynix 2012-12-28 19:26:00 +01:00
parent 7d02e5a330
commit c4a5d32f28
2 changed files with 18 additions and 18 deletions

View File

@ -257,22 +257,6 @@ bool NzWindowImpl::HasFocus() const
return GetForegroundWindow() == m_handle;
}
void NzWindowImpl::ProcessEvents(bool block)
{
if (m_ownsWindow)
{
if (block)
WaitMessage();
MSG message;
while (PeekMessageW(&message, nullptr, 0, 0, PM_REMOVE))
{
TranslateMessage(&message);
DispatchMessageW(&message);
}
}
}
void NzWindowImpl::IgnoreNextMouseEvent(int mouseX, int mouseY)
{
// Petite astuce ...
@ -290,6 +274,22 @@ bool NzWindowImpl::IsVisible() const
return IsWindowVisible(m_handle);
}
void NzWindowImpl::ProcessEvents(bool block)
{
if (m_ownsWindow)
{
if (block)
WaitMessage();
MSG message;
while (PeekMessageW(&message, nullptr, 0, 0, PM_REMOVE))
{
TranslateMessage(&message);
DispatchMessageW(&message);
}
}
}
void NzWindowImpl::SetCursor(nzWindowCursor cursor)
{
switch (cursor)

View File

@ -51,13 +51,13 @@ class NzWindowImpl : NzNonCopyable
bool HasFocus() const;
void ProcessEvents(bool block);
void IgnoreNextMouseEvent(int mouseX, int mouseY);
bool IsMinimized() const;
bool IsVisible() const;
void ProcessEvents(bool block);
void SetCursor(nzWindowCursor cursor);
void SetCursor(const NzCursor& cursor);
void SetEventListener(bool listener);