diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-10-02 11:32:11 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-10-02 11:32:11 -0400 |
| commit | 7dae0069d65883d8b2a5ba635991354eb395b7c6 (patch) | |
| tree | 21c7b523f888f6bbec528534a6d521473bab4dbd /MediaBrowser.Server.Implementations/Drawing/WatchedIndicatorDrawer.cs | |
| parent | f87454336e0bd1f5cb21353a2da116eacfd1adb9 (diff) | |
added new image params & GameSystem constants
Diffstat (limited to 'MediaBrowser.Server.Implementations/Drawing/WatchedIndicatorDrawer.cs')
| -rw-r--r-- | MediaBrowser.Server.Implementations/Drawing/WatchedIndicatorDrawer.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/MediaBrowser.Server.Implementations/Drawing/WatchedIndicatorDrawer.cs b/MediaBrowser.Server.Implementations/Drawing/WatchedIndicatorDrawer.cs index 921494dba..c889db304 100644 --- a/MediaBrowser.Server.Implementations/Drawing/WatchedIndicatorDrawer.cs +++ b/MediaBrowser.Server.Implementations/Drawing/WatchedIndicatorDrawer.cs @@ -5,15 +5,16 @@ namespace MediaBrowser.Server.Implementations.Drawing public class WatchedIndicatorDrawer { private const int IndicatorHeight = 50; + public const int IndicatorWidth = 50; private const int FontSize = 50; public void Process(Graphics graphics, Size imageSize) { - var x = imageSize.Width - IndicatorHeight; + var x = imageSize.Width - IndicatorWidth; using (var backdroundBrush = new SolidBrush(Color.FromArgb(225, 204, 51, 51))) { - graphics.FillRectangle(backdroundBrush, x, 0, IndicatorHeight, IndicatorHeight); + graphics.FillRectangle(backdroundBrush, x, 0, IndicatorWidth, IndicatorHeight); const string text = "a"; |
