mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-04-24 08:43:59 +00:00
16 lines
335 B
C++
16 lines
335 B
C++
#pragma once
|
|
class Options;
|
|
|
|
class ScreenSizeCalculator {
|
|
private:
|
|
int w;
|
|
int h;
|
|
|
|
public:
|
|
double rawWidth, rawHeight;
|
|
int scale;
|
|
ScreenSizeCalculator(Options* options, int width, int height,
|
|
int forceScale = -1); // 4J added forceScale parameter
|
|
int getWidth();
|
|
int getHeight();
|
|
}; |