VoxelEngine
 
Loading...
Searching...
No Matches
Window.h
1#pragma once
2
3#include <LWGL/Context.h>
4
5#include "events/EngineEventSource.h"
6
7namespace engine {
8 class Window : public gl::Context,
9 public EngineEventSource {
10 public:
11 Window(gl::Context* share = nullptr);
12 ~Window();
13
14 int init(int w, int h, const char* name) override;
15
16 void mouseLock(bool state) const;
17
18 float aspectRatio() const;
19 };
20} // namespace engine
Definition EngineEventSource.h:8
Definition Window.h:9