I am super duper retarded.
This commit is contained in:
@@ -30,7 +30,7 @@ namespace DREAM {
|
||||
}
|
||||
|
||||
void Window::setHeight(int height) {
|
||||
SetWindowSize(m_height, height);
|
||||
SetWindowSize(m_width, height);
|
||||
m_height = height;
|
||||
}
|
||||
|
||||
@@ -69,14 +69,6 @@ namespace DREAM {
|
||||
setPosition(x, y);
|
||||
}
|
||||
|
||||
int Window::getWidth() {
|
||||
return GetScreenWidth();
|
||||
}
|
||||
|
||||
int Window::getHeight() {
|
||||
return GetScreenHeight();
|
||||
}
|
||||
|
||||
float Window::getAspectRatio() {
|
||||
return static_cast<float>(m_width) / static_cast<float>(m_height);
|
||||
}
|
||||
|
||||
@@ -26,17 +26,14 @@ namespace DREAM {
|
||||
void setPosition(int x, int y);
|
||||
void centerWindow();
|
||||
|
||||
int getWidth();
|
||||
int getHeight();
|
||||
int getWindowWidth();
|
||||
int getWindowHeight();
|
||||
float getAspectRatio();
|
||||
|
||||
bool isFullscreen();
|
||||
bool isVSyncEnabled();
|
||||
bool isResizable();
|
||||
|
||||
int getWindowWidth();
|
||||
int getWindowHeight();
|
||||
|
||||
int getMonitorIndex();
|
||||
int getMonitorRefreshRate();
|
||||
int getMonitorWidth();
|
||||
|
||||
Reference in New Issue
Block a user