浏览代码

reverted staff measure to previous commit.

Matthias 9 年之前
父节点
当前提交
d9a4d83aa9
共有 1 个文件被更改,包括 19 次插入11 次删除
  1. 19 11
      src/MusicalScore/Graphical/StaffMeasure.ts

+ 19 - 11
src/MusicalScore/Graphical/StaffMeasure.ts

@@ -1,4 +1,3 @@
-/* tslint:disable:no-empty */
 import {MusicSystem} from "./MusicSystem";
 import {GraphicalStaffEntry} from "./GraphicalStaffEntry";
 import {SourceMeasure} from "../VoiceData/SourceMeasure";
@@ -86,32 +85,40 @@ export class StaffMeasure extends GraphicalObject {
         }
     }
 
-    public ResetLayout(): void {
+    public resetLayout(): void {
+        throw new Error("not implemented");
     }
 
-    public GetLineWidth(line: SystemLinesEnum): number {
-        return undefined;
+    public getLineWidth(line: SystemLinesEnum): number {
+        throw new Error("not implemented");
     }
 
-    public AddClefAtBegin(clef: ClefInstruction): void {
+    public addClefAtBegin(clef: ClefInstruction): void {
+        throw new Error("not implemented");
     }
 
-    public AddKeyAtBegin(currentKey: KeyInstruction, previousKey: KeyInstruction, currentClef: ClefInstruction): void {
+    public addKeyAtBegin(currentKey: KeyInstruction, previousKey: KeyInstruction, currentClef: ClefInstruction): void {
+        throw new Error("not implemented");
     }
 
-    public AddRhythmAtBegin(rhythm: RhythmInstruction): void {
+    public addRhythmAtBegin(rhythm: RhythmInstruction): void {
+        throw new Error("not implemented");
     }
 
-    public AddClefAtEnd(clef: ClefInstruction): void {
+    public addClefAtEnd(clef: ClefInstruction): void {
+        throw new Error("not implemented");
     }
 
-    public SetPositionInStaffline(xPos: number): void {
+    public setPositionInStaffline(xPos: number): void {
+        throw new Error("not implemented");
     }
 
-    public SetWidth(width: number): void {
+    public setWidth(width: number): void {
+        throw new Error("not implemented");
     }
 
-    public LayoutSymbols(): void {
+    public layoutSymbols(): void {
+        throw new Error("not implemented");
     }
 
     public findGraphicalStaffEntryFromTimestamp(relativeTimestamp: Fraction): GraphicalStaffEntry {
@@ -254,3 +261,4 @@ export class StaffMeasure extends GraphicalObject {
         return sourceMeasure.endsWithWordRepetition();
     }
 }
+