[longomatch/redesign: 71/75] Small fixes after rebasing against master
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch/redesign: 71/75] Small fixes after rebasing against master
- Date: Sun, 6 Feb 2011 13:42:55 +0000 (UTC)
commit b79f6af492132288a496549abad05b7d04c9cb7d
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Sun Feb 6 02:01:29 2011 +0100
Small fixes after rebasing against master
LongoMatch/Gui/Component/TimeLineWidget.cs | 4 ----
LongoMatch/Gui/Component/TimeScale.cs | 4 ++--
LongoMatch/LongoMatch.mdp | 7 +------
3 files changed, 3 insertions(+), 12 deletions(-)
---
diff --git a/LongoMatch/Gui/Component/TimeLineWidget.cs b/LongoMatch/Gui/Component/TimeLineWidget.cs
index f84b652..208dfd0 100644
--- a/LongoMatch/Gui/Component/TimeLineWidget.cs
+++ b/LongoMatch/Gui/Component/TimeLineWidget.cs
@@ -149,7 +149,6 @@ namespace LongoMatch.Gui.Component {
return;
}
hasProject = true;
- frames = value.File.GetFrames();
categories = value.Categories;
tsList = new Dictionary<Category, TimeScale>();
frames = value.Description.File.GetFrames();
@@ -159,9 +158,6 @@ namespace LongoMatch.Gui.Component {
tr.Frames = frames;
tr.FrameRate = value.Description.File.Fps;
- ushort fps = value.Description.File.Fps;
- tr = new TimeReferenceWidget(frames,fps);
- vbox1.PackStart(tr,false,false,0);
tr.Show();
foreach (Category cat in categories) {
diff --git a/LongoMatch/Gui/Component/TimeScale.cs b/LongoMatch/Gui/Component/TimeScale.cs
index 3e750d4..ff0b37d 100644
--- a/LongoMatch/Gui/Component/TimeScale.cs
+++ b/LongoMatch/Gui/Component/TimeScale.cs
@@ -78,7 +78,7 @@ namespace LongoMatch.Gui.Component
this.list = list;
HeightRequest= SECTION_HEIGHT;
Size((int)(frames/pixelRatio),SECTION_HEIGHT);
- this.color = CairoUtils.RGBToCairoColor(color);
+ this.color = new Cairo.Color(0, 0, 1);
this.color.A = ALPHA;
Events = EventMask.PointerMotionMask | EventMask.ButtonPressMask | EventMask.ButtonReleaseMask ;
@@ -182,7 +182,7 @@ namespace LongoMatch.Gui.Component
CairoUtils.DrawRoundedRectangle(g,selected.StartFrame/pixelRatio,3,
selected.TotalFrames/pixelRatio,height-6,
SECTION_HEIGHT/7, color, borderColor);
- if (selected.HasDrawing) {
+ if (selected.HasDrawings) {
g.MoveTo(selected.KeyFrame/pixelRatio,3);
g.LineTo(selected.KeyFrame/pixelRatio,SECTION_HEIGHT-3);
g.StrokePreserve();
diff --git a/LongoMatch/LongoMatch.mdp b/LongoMatch/LongoMatch.mdp
index 17d53f6..bedc404 100644
--- a/LongoMatch/LongoMatch.mdp
+++ b/LongoMatch/LongoMatch.mdp
@@ -160,10 +160,7 @@
<File subtype="Code" buildaction="Compile" name="Gui/TreeView/ListTreeViewBase.cs" />
<File subtype="Code" buildaction="Compile" name="Gui/Component/CategoriesScale.cs" />
<File subtype="Code" buildaction="Compile" name="Common/Cairo.cs" />
- <File subtype="Directory" buildaction="Compile" name="Compat" />
<File subtype="Code" buildaction="Compile" name="IO/XMLReader.cs" />
- <File subtype="Code" buildaction="Compile" name="IO/SectionsReader.cs" />
- <File subtype="Code" buildaction="Compile" name="IO/SectionsWriter.cs" />
<File subtype="Directory" buildaction="Compile" name="Store" />
<File subtype="Directory" buildaction="Compile" name="DB" />
<File subtype="Directory" buildaction="Compile" name="DB" />
@@ -196,7 +193,6 @@
<File subtype="Code" buildaction="Compile" name="Store/TimeNode.cs" />
<File subtype="Directory" buildaction="Compile" name="Time" />
<File subtype="Code" buildaction="Compile" name="Store/Templates/TeamTemplate.cs" />
- <File subtype="Code" buildaction="Compile" name="IO/XMLReader.cs" />
<File subtype="Code" buildaction="Compile" name="Common/SerializableObject.cs" />
<File subtype="Code" buildaction="Compile" name="Store/SubCategory.cs" />
<File subtype="Code" buildaction="Compile" name="Store/Templates/SubCategoriesTemplate.cs" />
@@ -217,7 +213,6 @@
<ProjectReference type="Gac" localcopy="True" refto="pango-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
<ProjectReference specificVersion="False" type="Assembly" localcopy="True" refto="../../../../../usr/lib/mono/gac/Db4objects.Db4o/7.4.121.14026__6199cd4f203aa8eb/Db4objects.Db4o.dll" />
<ProjectReference type="Gac" localcopy="True" refto="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
->>>>>>> Update Monodevelop project file with the new changes
</References>
<LanguageParameters StartupObject="LongoMatch.MainClass" ApplicationIcon="." CodePage="65001" ctype="CSharpProjectParameters" />
-</Project>
+</Project>
\ No newline at end of file
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]