Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/OpenCGSS/DereTore
Browse files Browse the repository at this point in the history
  • Loading branch information
hozuki committed Nov 18, 2016
2 parents 03164b8 + a5e28bd commit e5ba643
Show file tree
Hide file tree
Showing 10 changed files with 505 additions and 476 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -158,10 +158,6 @@
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="UI\Controls\Primitives\SimpleScoreNote.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="UI\Controls\ScoreEditor.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
Expand Down Expand Up @@ -203,6 +199,8 @@
<Compile Include="UIHelper.cs" />
<Compile Include="CommandHelper.cs" />
<Compile Include="ResourceKeys.cs" />
<Compile Include="UI\Controls\Models\DrawingNote.cs" />
<Compile Include="UI\Controls\PreviewCanvas.cs" />
<Compile Include="UI\Controls\Primitives\LineLayer.DependencyProperties.cs" />
<Compile Include="UI\Controls\Primitives\LineLayer.xaml.cs">
<DependentUpon>LineLayer.xaml</DependentUpon>
Expand Down Expand Up @@ -235,9 +233,6 @@
<Compile Include="UI\Controls\Primitives\ScoreBar.Placeholder.cs" />
<Compile Include="UI\Controls\Primitives\ScoreBar.Rendering.cs" />
<Compile Include="UI\Controls\Primitives\ScoreBar.TextAndLocation.cs" />
<Compile Include="UI\Controls\Primitives\SimpleScoreNote.xaml.cs">
<DependentUpon>SimpleScoreNote.xaml</DependentUpon>
</Compile>
<Compile Include="UI\Controls\ScoreEditor.DependencyProperties.cs" />
<Compile Include="UI\Controls\ScoreEditor.Editing.cs" />
<Compile Include="UI\Controls\ScoreEditor.EventHandlers.cs" />
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DereTore.Applications.StarlightDirector.Entities;

namespace DereTore.Applications.StarlightDirector.UI.Controls.Models
{
/// <summary>
/// Internal representation of notes for drawing
/// </summary>
public class DrawingNote
{
public Note Note { get; set; }
public DrawingNote HoldTarget { get; set; }
public DrawingNote SyncTarget { get; set; }
public DrawingNote GroupTarget { get; set; }
public int Timing { get; set; }
public bool Done { get; set; }
public int Duration { get; set; }
public bool IsHoldStart { get; set; }
public double LastT { get; set; }
public double X { get; set; }
public double Y { get; set; }
public int DrawType { get; set; }
public int HitPosition { get; set; }
public bool EffectShown { get; set; }
}
}
Loading

0 comments on commit e5ba643

Please sign in to comment.