Haio 0.2.X
Homebrew Asset IO/CDN
Loading...
Searching...
No Matches
Haio::WindowsWindow Class Reference

#include <window.hpp>

Inheritance diagram for Haio::WindowsWindow:
Collaboration diagram for Haio::WindowsWindow:

Classes

struct  Impl

Public Member Functions

 WindowsWindow (const char *title, int width, int height)
 ~WindowsWindow () override
void init () override
void shutdown () override
void pollEvents () override
bool shouldClose () const override
Public Member Functions inherited from Haio::IWindow
virtual ~IWindow ()=default

Detailed Description

Definition at line 7 of file window.hpp.


Class Documentation

◆ Haio::WindowsWindow::Impl

struct Haio::WindowsWindow::Impl

Definition at line 10 of file window.cpp.

Class Members
HINSTANCE hInstance = nullptr
HWND hwnd = nullptr
bool running = false

Constructor & Destructor Documentation

◆ WindowsWindow()

Haio::WindowsWindow::WindowsWindow ( const char * title,
int width,
int height )

Definition at line 16 of file window.cpp.

◆ ~WindowsWindow()

Haio::WindowsWindow::~WindowsWindow ( )
override

Definition at line 21 of file window.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ init()

void Haio::WindowsWindow::init ( )
overridevirtual

Implements Haio::IWindow.

Definition at line 53 of file window.cpp.

◆ pollEvents()

void Haio::WindowsWindow::pollEvents ( )
overridevirtual

Implements Haio::IWindow.

Definition at line 91 of file window.cpp.

◆ shouldClose()

bool Haio::WindowsWindow::shouldClose ( ) const
overridevirtual

Implements Haio::IWindow.

Definition at line 104 of file window.cpp.

◆ shutdown()

void Haio::WindowsWindow::shutdown ( )
overridevirtual

Implements Haio::IWindow.

Definition at line 83 of file window.cpp.


The documentation for this class was generated from the following files: