client: add getScalingFactor method. (#2323)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user