[longomatch] Use default parent class behaviour.



commit 8aef5ff873542edd8d5302996647ae9ecba86d2d
Author: Julien Moutte <julien fluendo com>
Date:   Wed Mar 11 23:27:16 2015 +0100

    Use default parent class behaviour.
    
    No need to paint this ourselves.

 LongoMatch.Drawing/CanvasObjects/TimelineObject.cs |   15 ---------------
 1 files changed, 0 insertions(+), 15 deletions(-)
---
diff --git a/LongoMatch.Drawing/CanvasObjects/TimelineObject.cs 
b/LongoMatch.Drawing/CanvasObjects/TimelineObject.cs
index a1bb8ef..8eab4be 100644
--- a/LongoMatch.Drawing/CanvasObjects/TimelineObject.cs
+++ b/LongoMatch.Drawing/CanvasObjects/TimelineObject.cs
@@ -417,21 +417,6 @@ namespace LongoMatch.Drawing.CanvasObjects
                        co.LineColor = LineColor;
                        AddNode (co);
                }
-
-               protected override void DrawBackground (IDrawingToolkit tk, Area area)
-               {
-                       double linepos;
-                       base.DrawBackground (tk, area);
-
-                       if (ShowLine) {
-                               linepos = OffsetY + Height - StyleConf.TimelineLineSize;
-                               tk.FillColor = Config.Style.PaletteBackgroundDark;
-                               tk.StrokeColor = Config.Style.PaletteBackgroundDark;
-                               tk.LineWidth = 4;
-                               tk.DrawLine (new Point (0, linepos),
-                                       new Point (Width, linepos));
-                       }
-               }
        }
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]