mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-04 09:18:38 +00:00
SUPERNOVA: Adds getters for screen width and height
This commit is contained in:
parent
7c3b128661
commit
e7b91fe40f
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user