Utility: Fix compilation on Linux
This commit is contained in:
parent
1db3d60cea
commit
9cc20f1069
|
|
@ -113,7 +113,7 @@ namespace Nz
|
||||||
UpdateEventQueue(nullptr);
|
UpdateEventQueue(nullptr);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool WindowImpl::Create(const VideoMode& mode, const String& title, UInt32 style)
|
bool WindowImpl::Create(const VideoMode& mode, const String& title, WindowStyleFlags style)
|
||||||
{
|
{
|
||||||
bool fullscreen = (style & Nz::WindowStyle_Fullscreen) != 0;
|
bool fullscreen = (style & Nz::WindowStyle_Fullscreen) != 0;
|
||||||
m_eventListener = true;
|
m_eventListener = true;
|
||||||
|
|
@ -336,7 +336,7 @@ namespace Nz
|
||||||
return Vector2ui(m_size_hints.width, m_size_hints.height);
|
return Vector2ui(m_size_hints.width, m_size_hints.height);
|
||||||
}
|
}
|
||||||
|
|
||||||
UInt32 WindowImpl::GetStyle() const
|
WindowStyleFlags WindowImpl::GetStyle() const
|
||||||
{
|
{
|
||||||
return m_style;
|
return m_style;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -35,7 +35,7 @@ namespace Nz
|
||||||
WindowImpl(WindowImpl&&) = delete; ///TODO?
|
WindowImpl(WindowImpl&&) = delete; ///TODO?
|
||||||
~WindowImpl();
|
~WindowImpl();
|
||||||
|
|
||||||
bool Create(const VideoMode& mode, const String& title, UInt32 style);
|
bool Create(const VideoMode& mode, const String& title, WindowStyleFlags style);
|
||||||
bool Create(WindowHandle handle);
|
bool Create(WindowHandle handle);
|
||||||
|
|
||||||
void Destroy();
|
void Destroy();
|
||||||
|
|
@ -47,7 +47,7 @@ namespace Nz
|
||||||
unsigned int GetHeight() const;
|
unsigned int GetHeight() const;
|
||||||
Vector2i GetPosition() const;
|
Vector2i GetPosition() const;
|
||||||
Vector2ui GetSize() const;
|
Vector2ui GetSize() const;
|
||||||
UInt32 GetStyle() const;
|
WindowStyleFlags GetStyle() const;
|
||||||
String GetTitle() const;
|
String GetTitle() const;
|
||||||
unsigned int GetWidth() const;
|
unsigned int GetWidth() const;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue