1
0
Fork 0

Rename Display to Window.

It makes more sense to be consistent and always call it window.
This commit is contained in:
Henrik Hautakoski 2023-08-22 07:12:47 +02:00
parent 416a71f744
commit 24da7f45e0
33 changed files with 257 additions and 255 deletions

View file

@ -3,7 +3,7 @@
#define GRAPHICS_H
#include <Spectre/GfxDriver/GfxDriver.h>
#include <Spectre/Display/Display.h>
#include <Spectre/Window/Window.h>
namespace sp {
@ -31,7 +31,7 @@ public :
std::string getVersion() const;
void setDisplayMode(Display::Mode mode);
void setWindowMode(Window::Mode mode);
void setSize(int width, int height);
@ -45,14 +45,14 @@ public :
GfxDriver* getDriver();
Display* getDisplay();
Window* getWindow();
protected :
int m_width;
int m_height;
Display *m_display;
Window *m_window;
// Graphics Driver. OpenGL/Vulcan/DirectX etc.
GfxDriver *m_gfxdrv;