2 using System.Collections.Generic;
\r
4 using System.Drawing;
\r
6 namespace DTXCreator.譜面
\r
10 public const int LANEWIDTH = 30;
\r
31 public enum ELaneType
\r
44 END // 何か非値を設定したくなったときのための値(nullの代わり)
\r
47 public bool b左側の線が太線;
\r
48 public Color col背景色 = Color.Black;
\r
49 public E種別 eレーン種別 = E種別.WAV;
\r
50 public int nチャンネル番号・表00toFF;
\r
51 public int nチャンネル番号・裏00toFF;
\r
52 public int nレーン割付チップ・表0or1to1295;
\r
53 public int nレーン割付チップ・裏0or1to1295;
\r
55 public int n幅dot = 30;
\r
56 public string strレーン名 = "";
\r
57 public ELaneType eLaneType { get; set; }
\r
58 public bool bIsVisible //
\r
62 return ( n幅dot > 0 );
\r
66 n幅dot = ( value == true ) ? LANEWIDTH : 0;
\r
76 this.eレーン種別 = E種別.WAV;
\r
78 this.nチャンネル番号・表00toFF = 0;
\r
79 this.nチャンネル番号・裏00toFF = 0;
\r
80 this.b左側の線が太線 = false;
\r
81 this.col背景色 = Color.FromArgb(0, 0, 0, 0);
\r
84 this.eLaneType = ELaneType.SE1_5;
\r
85 this.bIsVisible = true;
\r
91 /// <param name="eレーン種別"></param>
\r
92 /// <param name="strレーン名"></param>
\r
93 /// <param name="nチャンネル番号・表00toFF"></param>
\r
94 /// <param name="nチャンネル番号・裏00toFF"></param>
\r
95 /// <param name="b左側の線が太線"></param>
\r
96 /// <param name="col背景色"></param>
\r
97 /// <param name="n位置Xdot"></param>
\r
98 /// <param name="n幅dot"></param>
\r
99 /// <param name="eLaneType"></param>
\r
100 /// <param name="bIsVisible"></param>
\r
102 E種別 eレーン種別_, string strレーン名_,
\r
103 int nチャンネル番号・表00toFF_, int nチャンネル番号・裏00toFF_,
\r
106 int n位置Xdot_, int n幅dot_,
\r
107 ELaneType eLaneType_,
\r
110 this.eレーン種別 = eレーン種別_;
\r
111 this.strレーン名 = strレーン名_;
\r
112 this.nチャンネル番号・表00toFF = nチャンネル番号・表00toFF_;
\r
113 this.nチャンネル番号・裏00toFF = nチャンネル番号・裏00toFF_;
\r
114 this.b左側の線が太線 = b左側の線が太線_;
\r
115 this.col背景色 = col背景色_;
\r
116 this.n位置Xdot = n位置Xdot_;
\r
117 this.n幅dot = n幅dot_;
\r
118 this.eLaneType = eLaneType_;
\r
119 this.bIsVisible = bIsVisible_;
\r
122 public bool bパターンレーンである()
\r
124 if( ( this.eレーン種別 != E種別.GtR ) && ( this.eレーン種別 != E種別.GtG ) && ( this.eレーン種別 != E種別.GtB ) && ( this.eレーン種別 != E種別.BsR ) && ( this.eレーン種別 != E種別.BsG ) && ( this.eレーン種別 != E種別.BsB ) )
\r