aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.Client/ScreenSizeCalculator.h
blob: 5e140771dfbc4960e062b0914e647e8eeaff314d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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();
};