mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 19:58:00 +00:00
get realScreen size for android
- to check if the app renders different resolution and update the tooltips size
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
package forge.interfaces;
|
||||
|
||||
import org.apache.commons.lang3.tuple.Pair;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
import java.io.OutputStream;
|
||||
@@ -15,4 +17,5 @@ public interface IDeviceAdapter {
|
||||
void restart();
|
||||
void exit();
|
||||
void convertToJPEG(InputStream input, OutputStream output) throws IOException;
|
||||
Pair<Integer, Integer> getRealScreenSize(boolean real);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user