[longomatch/newui: 48/157] Rename PlaysTagger to Dashboard



commit a27a690c1f73eeab1a3471606d46796eda4bcfb1
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Thu Aug 21 13:22:11 2014 +0200

    Rename PlaysTagger to Dashboard

 LongoMatch.Drawing/LongoMatch.Drawing.mdp          |    2 +-
 LongoMatch.Drawing/Makefile.am                     |    2 +-
 .../Widgets/{PlaysTagger.cs => Dashboard.cs}       |    4 ++--
 LongoMatch.GUI/Gui/Component/ButtonsWidget.cs      |    4 ++--
 4 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/LongoMatch.Drawing/LongoMatch.Drawing.mdp b/LongoMatch.Drawing/LongoMatch.Drawing.mdp
index 6f97b9d..ee2a512 100644
--- a/LongoMatch.Drawing/LongoMatch.Drawing.mdp
+++ b/LongoMatch.Drawing/LongoMatch.Drawing.mdp
@@ -43,7 +43,6 @@
     <File subtype="Code" buildaction="Compile" name="CanvasObjects/CounterObject.cs" />
     <File subtype="Code" buildaction="Compile" name="Utils.cs" />
     <File subtype="Code" buildaction="Compile" name="CanvasObjects/CategoryObject.cs" />
-    <File subtype="Code" buildaction="Compile" name="Widgets/PlaysTagger.cs" />
     <File subtype="Code" buildaction="Compile" name="CanvasObjects/TaggerObject.cs" />
     <File subtype="Code" buildaction="Compile" name="CanvasObjects/ScoreObject.cs" />
     <File subtype="Code" buildaction="Compile" name="CanvasObjects/CardObject.cs" />
@@ -52,6 +51,7 @@
     <File subtype="Code" buildaction="Compile" name="CanvasObjects/BenchObject.cs" />
     <File subtype="Code" buildaction="Compile" name="CanvasObjects/FieldObject.cs" />
     <File subtype="Code" buildaction="Compile" name="CanvasObjects/PlayersTaggerObject.cs" />
+    <File subtype="Code" buildaction="Compile" name="Widgets/Dashboard.cs" />
   </Contents>
   <References>
     <ProjectReference type="Package" localcopy="True" refto="System, Version=4.0.0.0, Culture=neutral, 
PublicKeyToken=b77a5c561934e089" />
diff --git a/LongoMatch.Drawing/Makefile.am b/LongoMatch.Drawing/Makefile.am
index 202dc7a..ae01b5b 100644
--- a/LongoMatch.Drawing/Makefile.am
+++ b/LongoMatch.Drawing/Makefile.am
@@ -32,7 +32,7 @@ SOURCES = Canvas.cs \
        Utils.cs \
        Widgets/Blackboard.cs \
        Widgets/CategoriesLabels.cs \
-       Widgets/PlaysTagger.cs \
+       Widgets/Dashboard.cs \
        Widgets/PlaysTimeline.cs \
        Widgets/PositionTagger.cs \
        Widgets/TeamTagger.cs \
diff --git a/LongoMatch.Drawing/Widgets/PlaysTagger.cs b/LongoMatch.Drawing/Widgets/Dashboard.cs
similarity index 98%
rename from LongoMatch.Drawing/Widgets/PlaysTagger.cs
rename to LongoMatch.Drawing/Widgets/Dashboard.cs
index 97931e7..ddc6de8 100644
--- a/LongoMatch.Drawing/Widgets/PlaysTagger.cs
+++ b/LongoMatch.Drawing/Widgets/Dashboard.cs
@@ -29,7 +29,7 @@ using LongoMatch.Interfaces;
 
 namespace LongoMatch.Drawing.Widgets
 {
-       public class PlaysTagger: SelectionCanvas
+       public class Dashboard: SelectionCanvas
        {
        
                public event TaggersSelectedHandler TaggersSelectedEvent;
@@ -42,7 +42,7 @@ namespace LongoMatch.Drawing.Widgets
                Time currentTime;
                int templateWidth, templateHeight;
 
-               public PlaysTagger (IWidget widget): base (widget)
+               public Dashboard (IWidget widget): base (widget)
                {
                        Accuracy = 5;
                        TagMode = TagMode.Edit;
diff --git a/LongoMatch.GUI/Gui/Component/ButtonsWidget.cs b/LongoMatch.GUI/Gui/Component/ButtonsWidget.cs
index bdee58d..3b56ab6 100644
--- a/LongoMatch.GUI/Gui/Component/ButtonsWidget.cs
+++ b/LongoMatch.GUI/Gui/Component/ButtonsWidget.cs
@@ -41,7 +41,7 @@ namespace LongoMatch.Gui.Component
                public event NewTagHandler NewTagEvent;
 
                TagMode tagMode;
-               PlaysTagger tagger;
+               Dashboard tagger;
                Categories template;
                TaggerButton selected;
                bool internalButtons;
@@ -50,7 +50,7 @@ namespace LongoMatch.Gui.Component
                public ButtonsWidget()
                {
                        this.Build();
-                       tagger = new PlaysTagger (new WidgetWrapper (drawingarea));
+                       tagger = new Dashboard (new WidgetWrapper (drawingarea));
                        tagger.FitMode = FitMode.Original;
                        tagger.TaggersSelectedEvent += HandleTaggersSelectedEvent;
                        tagger.ShowMenuEvent += HandleShowMenuEvent;


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