diff options
| author | a1xd <[email protected]> | 2020-10-08 23:12:08 -0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-10-08 23:12:08 -0400 |
| commit | f4c04b4eb03fdbf1f3402dfb26e891ce8d968c9f (patch) | |
| tree | 2da2e0e956c8b92c24260ec9ed4fa3f0681c0a1a /grapher/Constants/Constants.cs | |
| parent | Fixed anisotropy not loading correctly on save (diff) | |
| parent | add magic number to constants (diff) | |
| download | rawaccel-1.1.0.tar.xz rawaccel-1.1.0.zip | |
Merge pull request #33 from a1xd/1.1v1.1.0
1.1
Diffstat (limited to 'grapher/Constants/Constants.cs')
| -rw-r--r-- | grapher/Constants/Constants.cs | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/grapher/Constants/Constants.cs b/grapher/Constants/Constants.cs index b41ffa2..d669d25 100644 --- a/grapher/Constants/Constants.cs +++ b/grapher/Constants/Constants.cs @@ -58,7 +58,9 @@ namespace grapher public const int NarrowChartLeft = 482; /// <summary> Vertical placement of write button above bottom of sensitivity graph </summary> - public const int WriteButtonVerticalOffset = 80; + public const int ButtonVerticalOffset = 60; + + public const float SmallButtonSizeFactor = 0.666f; /// <summary> Format string for shortened x and y textboxes. </summary> public const string ShortenedFormatString = "0.###"; @@ -84,9 +86,12 @@ namespace grapher /// <summary> Default text to be displayed on write button. </summary> public const string WriteButtonDefaultText = "Apply"; - /// <summary> Default text to be displayed on write button. </summary> - public const string WriteButtonDelayText = "Delay"; + /// <summary> Default text to be displayed on toggle button. </summary> + public const string ToggleButtonDefaultText = "Toggle"; + /// <summary> Default text to be displayed on button delay. </summary> + public const string ButtonDelayText = "Delay"; + /// <summary> Title of sensitivity chart. </summary> public const string SensitivityChartTitle = "Sensitivity"; @@ -112,6 +117,9 @@ namespace grapher /// <summary> Color of font in active value labels. </summary> public static readonly Color ActiveValueFontColor = Color.FromArgb(255, 65, 65, 65); + public static readonly Point Origin = new Point(0); + public static readonly Size MaxSize = new Size(9999, 9999); + #endregion ReadOnly } } |