-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathCityVitalsWatchResolution.cs
38 lines (31 loc) · 1.04 KB
/
CityVitalsWatchResolution.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
namespace CityVitalsWatch {
/// <summary>
/// Represents the position of the panel and toggle button at a specific resolution.
/// </summary>
public class CityVitalsWatchResolution {
/// <summary>
/// The width of the screen at this resolution.
/// </summary>
public int ScreenWidth;
/// <summary>
/// The height of the screen at this resolution.
/// </summary>
public int ScreenHeight;
/// <summary>
/// The relative x-position of the panel.
/// </summary>
public float PanelPositionX = 10f;
/// <summary>
/// The relative y-position of the panel.
/// </summary>
public float PanelPositionY = 65f;
/// <summary>
/// The absolute x-position of the toggle button.
/// </summary>
public float ToggleButtonPositionX = 125f;
/// <summary>
/// The absolute y-position of the toggle button.
/// </summary>
public float ToggleButtonPositionY = 12f;
}
}