.. _program_listing_file_Source_Azura_RenderSystem_Src_Generic_Windows_Win32GLFWWindow.cpp: Program Listing for File Win32GLFWWindow.cpp ============================================ |exhale_lsh| :ref:`Return to documentation for file ` (``Source\Azura\RenderSystem\Src\Generic\Windows\Win32GLFWWindow.cpp``) .. |exhale_lsh| unicode:: U+021B0 .. UPWARDS ARROW WITH TIP LEFTWARDS .. code-block:: cpp #include "Generic/Windows/Win32GLFWWindow.h" #define GLFW_EXPOSE_NATIVE_WIN32 #include #include namespace Azura { Win32GLFWWindow::Win32GLFWWindow(const String& title, U32 width, U32 height) : GLFWWindow(title, width, height), m_win32Window() { } const void* Win32GLFWWindow::GetHandle() const { return &m_win32Window; } bool Win32GLFWWindow::Initialize() { const auto result = GLFWWindow::Initialize(); m_win32Window = glfwGetWin32Window(GetGLFWHandle()); return result; } } // namespace Azura