diff options
Diffstat (limited to 'Minecraft.Client/ScreenSizeCalculator.h')
| -rw-r--r-- | Minecraft.Client/ScreenSizeCalculator.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Minecraft.Client/ScreenSizeCalculator.h b/Minecraft.Client/ScreenSizeCalculator.h new file mode 100644 index 00000000..5e140771 --- /dev/null +++ b/Minecraft.Client/ScreenSizeCalculator.h @@ -0,0 +1,15 @@ +#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(); +};
\ No newline at end of file |
