Rename Display to Window.
It makes more sense to be consistent and always call it window.
This commit is contained in:
parent
416a71f744
commit
24da7f45e0
33 changed files with 257 additions and 255 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue