client: add getScalingFactor method. (#2323)

This commit is contained in:
Ganom
2020-02-09 15:14:48 -05:00
committed by GitHub
parent 471e431090
commit 8c5b28cdf8
2 changed files with 14 additions and 1 deletions

View File

@@ -1297,6 +1297,12 @@ public interface Client extends GameShell
*/
void setScalingFactor(int factor);
/**
* @return Scaling factor that was set for stretched mode.
*/
double getScalingFactor();
/**
* Invalidates cached dimensions that are
* used for stretching and scaling.
@@ -1979,4 +1985,4 @@ public interface Client extends GameShell
void setMouseIdleTicks(int cycles);
void setKeyboardIdleTicks(int cycles);
}
}