Haio
0.2.X
Homebrew Asset IO/CDN
Toggle main menu visibility
Loading...
Searching...
No Matches
window.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include "
haio_iwindow.hpp
"
4
5
namespace
Haio
{
6
7
class
WindowsWindow
:
public
IWindow
{
8
public
:
9
WindowsWindow
(
const
char
* title,
int
width,
int
height);
10
~WindowsWindow
()
override
;
11
12
void
init
()
override
;
13
void
shutdown
()
override
;
14
void
pollEvents
()
override
;
15
bool
shouldClose
()
const override
;
16
17
private
:
18
const
char
*title;
19
int
width;
20
int
height;
21
22
struct
Impl
;
23
std::unique_ptr<Impl> p;
24
};
25
26
}
Haio::IWindow
Definition
haio_iwindow.hpp:5
Haio::WindowsWindow::WindowsWindow
WindowsWindow(const char *title, int width, int height)
Definition
window.cpp:16
Haio::WindowsWindow::init
void init() override
Definition
window.cpp:53
Haio::WindowsWindow::shouldClose
bool shouldClose() const override
Definition
window.cpp:104
Haio::WindowsWindow::shutdown
void shutdown() override
Definition
window.cpp:83
Haio::WindowsWindow::pollEvents
void pollEvents() override
Definition
window.cpp:91
Haio::WindowsWindow::Impl
Definition
window.cpp:10
haio_iwindow.hpp
Haio
Definition
haio.hpp:11
source
platform
microslop
window.hpp
Generated by
1.18.0