SUPERNOVA: Adds getters for screen width and height

This commit is contained in:
Joseph-Eugene Winzer 2019-05-28 02:12:57 +02:00
parent 7c3b128661
commit e7b91fe40f
2 changed files with 10 additions and 0 deletions

View File

@ -187,6 +187,14 @@ Screen::Screen(SupernovaEngine *vm, ResourceManager *resMan)
CursorMan.showMouse(true);
}
int Screen::getScreenWidth() const {
return _screenWidth;
}
int Screen::getScreenHeight() const {
return _screenHeight;
}
int Screen::getGuiBrightness() const {
return _guiBrightness;
}

View File

@ -134,6 +134,8 @@ public:
public:
Screen(SupernovaEngine *vm, ResourceManager *resMan);
int getScreenWidth() const;
int getScreenHeight() const;
int getViewportBrightness() const;
void setViewportBrightness(int brightness);
int getGuiBrightness() const;