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