12 #include <Header/NRE_Math.hpp> 13 #include <Utility/String/NRE_String.hpp> 14 #include <Utility/Singleton/NRE_Singleton.hpp> 16 #include "../Style/NRE_WindowStyle.hpp" 17 #include "../../Driver/NRE_GraphicsDriver.hpp" 36 NativeWindowType
internal;
38 #ifdef WIN32 // Windows 41 LONG_PTR savedExStyle;
42 bool savedInFullscreen;
44 #elif __linux__ // Linux 62 InternalWindow(Id i, Utility::String
const& title, Math::Point2D<unsigned int>
const& position, Math::Vector2D<unsigned int>
const& size,
WindowStyle const& style);
138 #ifdef _WIN32 // Windows 147 static LRESULT CALLBACK internalDispatcher(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam);
153 static Math::Point2D<unsigned int> computeCenteredPosition(Math::Vector2D<unsigned int> size);
154 #elif __linux__ // Linux 165 void finishCreation(
WindowStyle const& style, Utility::String
const& title);
171 #ifdef _WIN32 // Windows 172 #include "../../../../OS/Windows/Graphics/Window/Internal/NRE_WindowsInternalWindow.tpp" 173 #elif __linux__ // Linux 174 #include "../../../../OS/Linux/Graphics/Window/Internal/NRE_LinuxInternalWindow.tpp" Manage a window style.
Definition: NRE_WindowStyle.hpp:37
~InternalWindow()=default
InternalWindow & operator=(InternalWindow const &inl)=delete
Math::Point2D< unsigned int > getPosition() const
The NearlyRealEngine's global namespace.
void toggleFullscreen(bool inFullscreen)
Definition: NRE_LinuxInternalWindow.cpp:87
Manage the internal os-dependant graphics window.
Definition: NRE_InternalWindow.hpp:34