From 4a54968bce21dc2a80bc426824ca462f9f8b03d9 Mon Sep 17 00:00:00 2001 From: yyagi Date: Tue, 28 Oct 2014 16:54:38 +0000 Subject: [PATCH] =?utf8?q?#34546=20DTXC=E8=B5=B7=E5=8B=95=E6=99=82?= =?utf8?q?=E3=81=AA=E3=82=89=E3=81=B3=E3=81=ABDTX=E3=83=95=E3=82=A1?= =?utf8?q?=E3=82=A4=E3=83=AB=E3=82=92=E9=96=8B=E3=81=84=E3=81=9F=E3=81=A8?= =?utf8?q?=E3=81=8D=E3=81=AE=E6=9C=80=E5=88=9D=E3=81=AE=E3=83=A2=E3=83=BC?= =?utf8?q?=E3=83=89=E3=82=92=E3=80=81=E7=B7=A8=E9=9B=86=E3=83=A2=E3=83=BC?= =?utf8?q?=E3=83=89=E3=81=A8=E9=81=B8=E6=8A=9E=E3=83=A2=E3=83=BC=E3=83=89?= =?utf8?q?=E3=81=AE=E3=81=A9=E3=81=A1=E3=82=89=E3=81=AB=E3=81=99=E3=82=8B?= =?utf8?q?=E3=81=8B=E3=82=92=E3=82=AA=E3=83=97=E3=82=B7=E3=83=A7=E3=83=B3?= =?utf8?q?=E3=81=A7=E9=81=B8=E3=81=B9=E3=82=8B=E3=82=88=E3=81=86=E3=81=AB?= =?utf8?q?=E3=81=97=E3=81=9F=E3=80=82=20#32661=20BPM=E8=87=AA=E5=8B=95?= =?utf8?q?=E5=8F=96=E5=BE=97=E6=A9=9F=E8=83=BD=E3=82=92=E5=B0=91=E3=81=97?= =?utf8?q?=E6=94=B9=E5=96=84=E3=81=97=E3=81=9F=E3=80=82=E4=B8=80=E6=97=A6B?= =?utf8?q?EAT=E3=83=81=E3=83=83=E3=83=97=E3=82=92=E7=94=9F=E6=88=90?= =?utf8?q?=E3=81=97=E3=81=9F=E7=8A=B6=E6=85=8B=E3=81=A7DTX=E3=83=95?= =?utf8?q?=E3=82=A1=E3=82=A4=E3=83=AB=E3=82=92=E3=82=BB=E3=83=BC=E3=83=96/?= =?utf8?q?=E3=83=AD=E3=83=BC=E3=83=89=E3=81=97=E3=81=AA=E3=81=8A=E3=81=97?= =?utf8?q?=E3=81=A6=E3=82=82=E3=80=81=E5=8C=BA=E9=96=93=E3=81=94=E3=81=A8?= =?utf8?q?=E3=81=AEBPM=E6=83=85=E5=A0=B1=E3=81=8C=E5=A4=B1=E3=82=8F?= =?utf8?q?=E3=82=8C=E3=81=AA=E3=81=84=E3=82=88=E3=81=86=E3=81=AB=E3=81=97?= =?utf8?q?=E3=81=9F=E3=80=82=E8=A9=B3=E3=81=97=E3=81=84=E4=BD=BF=E7=94=A8?= =?utf8?q?=E6=96=B9=E6=B3=95=E3=81=AF=E3=83=81=E3=82=B1=E3=83=83=E3=83=88?= =?utf8?q?=E5=8F=82=E7=85=A7=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit git-svn-id: http://svn.osdn.jp/svnroot/dtxmania/trunk@776 16f42ceb-6dc6-49c8-ba94-f2d53467949d --- .../コード/00.全体/AppSetting.cs | 19 + .../コード/00.全体/CDTX入出力.cs | 147 ++- .../コード/00.全体/Cメインフォーム.cs | 147 ++- .../Cオプションダイアログ.Designer.cs | 211 +++- .../Cオプションダイアログ.cs | 10 + .../Cオプションダイアログ.ja-JP.resx | 35 + .../Cオプションダイアログ.resx | 1180 +++++++++++--------- .../Cオプション管理.cs | 4 + 8 files changed, 1193 insertions(+), 560 deletions(-) diff --git a/DTXCreatorプロジェクト/コード/00.全体/AppSetting.cs b/DTXCreatorプロジェクト/コード/00.全体/AppSetting.cs index f7e3d96e..d851fe22 100644 --- a/DTXCreatorプロジェクト/コード/00.全体/AppSetting.cs +++ b/DTXCreatorプロジェクト/コード/00.全体/AppSetting.cs @@ -47,6 +47,7 @@ namespace DTXCreator this._MovieListColumnWidth[ 2 ] = 120; this._LastWorkFolder = Directory.GetCurrentDirectory(); this._ViewerInfo = new Viewer(); + this._InitialOperationMode = false; } //----------------- #endregion @@ -352,6 +353,23 @@ namespace DTXCreator } } + /// + /// 操作モードの初期値 + /// false: 編集モード + /// true: 選択モード + /// + public bool InitialOperationMode + { + get + { + return this._InitialOperationMode; + } + set + { + this._InitialOperationMode = value; + } + } + //public enum ViewerSoundType //{ // DirectSound, @@ -483,6 +501,7 @@ namespace DTXCreator private int _Width = 600; private int _X; private int _Y; + private bool _InitialOperationMode; //----------------- #endregion } diff --git a/DTXCreatorプロジェクト/コード/00.全体/CDTX入出力.cs b/DTXCreatorプロジェクト/コード/00.全体/CDTX入出力.cs index 42b05908..2b99a97b 100644 --- a/DTXCreatorプロジェクト/コード/00.全体/CDTX入出力.cs +++ b/DTXCreatorプロジェクト/コード/00.全体/CDTX入出力.cs @@ -35,6 +35,7 @@ namespace DTXCreator this.tDTX出力・AVIリスト( sw ); this.tDTX出力・小節長倍率( sw ); this.tDTX出力・BPxリスト( sw ); + this.tDTX出力・BEATチップのf値( sw ); this.tDTX出力・全チップ( sw ); sw.WriteLine(); this.tDTX出力・レーン割付チップ( sw ); @@ -49,6 +50,7 @@ namespace DTXCreator if( str全入力文字列.Length != 0 ) { this.dic小節長倍率 = new Dictionary(); + this.dicBEATチップf値 = new Dictionary(); this.listチップパレット = new List(); this.listBGMWAV番号 = new List(); // #26775 2011.11.21 yyagi this.nLastBarConverted = -1; @@ -106,7 +108,8 @@ namespace DTXCreator this.tDTX入力・BPMチップにBPx数値をバインドする(); this.tDTX入力・キャッシュからListViewを一括構築する(); this.tDTX入力・チップパレットのListViewを一括構築する(); - if( this.listBGMWAV番号.Count > 0 ) // #26775 2011.11.21 yyagi + //this.tDTX入力・BEATチップにf値をバインドする(); + if ( this.listBGMWAV番号.Count > 0 ) // #26775 2011.11.21 yyagi { foreach ( int nBGMWAV番号 in listBGMWAV番号 ) // #26775 2011.11.21 yyagi { @@ -182,6 +185,7 @@ namespace DTXCreator private IEnumerator eDTXbgmChs; // #25990 2011.8.12 yyagi BMS/BME→DTX変換用 #endregion private Dictionary dic小節長倍率; + private Dictionary dicBEATチップf値; private E種別 e種別; private List listチップパレット; private List listBGMWAV番号 = null; // #26775 2011.11.21 yyagi @@ -217,6 +221,39 @@ namespace DTXCreator } } } + //private void tDTX入力・BEATチップにf値をバインドする() + //{ + // foreach ( KeyValuePair pair in this._Form.mgr譜面管理者.dic小節 ) + // { + // C小節 c小節 = pair.Value; + // for ( int i = 0; i < c小節.listチップ.Count; i++ ) + // { + // Cチップ cチップ = c小節.listチップ[ i ]; + // float num2 = 0f; + // if ( ( cチップ.nチャンネル番号00toFF == 0xF8 || cチップ.nチャンネル番号00toFF == 0xF3 ) + // && this._Form.mgr譜面管理者.dicBPx.TryGetValue( cチップ.n値・整数1to1295, out num2 ) ) + // { + // cチップ.f値・浮動小数 = num2; + // } + // if ( cチップ.nチャンネル番号00toFF == 3 ) + // { + // cチップ.nチャンネル番号00toFF = 8; + // cチップ.f値・浮動小数 = cチップ.n値・整数1to1295; + // cチップ.b裏 = false; + // for ( int j = 1; j <= 36 * 36 - 1; j++ ) + // { + // if ( !this._Form.mgr譜面管理者.dicBPx.ContainsKey( j ) ) + // { + // this._Form.mgr譜面管理者.dicBPx.Add( j, cチップ.f値・浮動小数 ); + // cチップ.n値・整数1to1295 = j; + // break; + // } + // } + // } + // } + // } + //} + private void tDTX入力・キャッシュからListViewを一括構築する() { for( int i = 1; i <= 36 * 36 - 1; i++ ) @@ -417,9 +454,89 @@ namespace DTXCreator this.tDTX入力・行解析・DTXC_AVIFORECOLOR( strコマンド, strパラメータ, strコメント ) || this.tDTX入力・行解析・DTXC_AVIBACKCOLOR( strコマンド, strパラメータ, strコメント ) || this.tDTX入力・行解析・DTXC_CHIPPALETTE( strコマンド, strパラメータ, strコメント ) || + this.tDTX入力・行解析・BEATチップのf値( strコマンド, strパラメータ, strコメント ) || this.tDTX入力・行解析・チャンネル( strコマンド, strパラメータ, strコメント ) ); } + private bool tDTX入力・行解析・BEATチップのf値( string strコマンド, string strパラメータ, string strコメント ) + { + if ( strコマンド.StartsWith( "BEAT", StringComparison.OrdinalIgnoreCase ) ) + { + strコマンド = strコマンド.Substring( 4 ); + } + else + { + return false; + } + int num = C変換.n値を文字列から取得して返す( strコマンド, 0 ); + if ( num < 0 ) + { + return false; + } + + // 小節番号, grid, f値 + string[] strParams = strパラメータ.Split( new char[] { ',' }, StringSplitOptions.RemoveEmptyEntries ); + + #region [ パラメータ引数は全3個ないと無効。] + //----------------- + if ( strParams.Length < 3 ) + { + //Trace.TraceError( "BEAT: 引数が足りません。[{0}: {1}行]", this.strファイル名の絶対パス, this.n現在の行数 ); + return false; + } + //----------------- + #endregion + + int i = 0; + + #region [ 1. 小節番号 ] + //----------------- + if ( string.IsNullOrEmpty( strParams[ i ] ) ) + { + //Trace.TraceError( "BGAPAN: {2}番目の数(BMP番号)が異常です。[{0}: {1}行]", this.strファイル名の絶対パス, this.n現在の行数, i + 1 ); + return false; + } + int n小節番号 = C変換.n値を文字列から取得して返す( strParams[ i ], 0 ); + if ( n小節番号 < 0 ) + { + //Trace.TraceError( "BGAPAN: {2}番目の数(BMP番号)が異常です。[{0}: {1}行]", this.strファイル名の絶対パス, this.n現在の行数, i + 1 ); + return false; + } + i++; + #endregion + #region [ 2. Grid ] + //----------------- + if ( string.IsNullOrEmpty( strParams[ i ] ) ) + { + //Trace.TraceError( "BGAPAN: {2}番目の数(BMP番号)が異常です。[{0}: {1}行]", this.strファイル名の絶対パス, this.n現在の行数, i + 1 ); + return false; + } + int nGrid = C変換.n値を文字列から取得して返す( strParams[ i ], 0 ); + if ( nGrid < 0 ) + { + //Trace.TraceError( "BGAPAN: {2}番目の数(BMP番号)が異常です。[{0}: {1}行]", this.strファイル名の絶対パス, this.n現在の行数, i + 1 ); + return false; + } + i++; + #endregion + #region [ 3. f値 ] + //----------------- + if ( string.IsNullOrEmpty( strParams[ i ] ) ) + { + //Trace.TraceError( "BGAPAN: {2}番目の数(BMP番号)が異常です。[{0}: {1}行]", this.strファイル名の絶対パス, this.n現在の行数, i + 1 ); + return false; + } + decimal f値 = 0; + if ( ( !this.TryParse( strParams[ i ], out f値 ) || ( f値 < 0 ) ) ) + { + return false; + } + #endregion +//Debug.WriteLine( "入力: n小節番号=" + n小節番号 + ", nGrid=" + nGrid + ", f値=" + f値 + ", strParam=" + strParams[i] ); + this.dicBEATチップf値.Add( n小節番号 * 192 + nGrid, (float) f値 ); + + return true; + } private bool tDTX入力・行解析・AVI_AVIPAN( string strコマンド, string strパラメータ, string strコメント ) { if( !strコマンド.StartsWith( "AVIPAN", StringComparison.OrdinalIgnoreCase ) && strコマンド.StartsWith( "AVI", StringComparison.OrdinalIgnoreCase ) ) @@ -1312,6 +1429,13 @@ namespace DTXCreator cチップ.n読み込み時の解像度 = nChips; cチップ.n値・整数1to1295 = nChipNo; cチップ.b裏 = flag; + float f; + if ( ( nCh == 0xF8 || nCh == 0xF3 ) && // BEATチップの場合 + dicBEATチップf値.TryGetValue( nBar * 192 + (i * 192 / nChips ), out f ) ) + { + cチップ.f値・浮動小数 = f; +//Debug.WriteLine( "f値: nBar=" + nBar + ", f値=" + f ); + } c小節.listチップ.Add( cチップ ); } } @@ -1908,6 +2032,27 @@ namespace DTXCreator } } } + private void tDTX出力・BEATチップのf値( StreamWriter sw ) + { + sw.WriteLine(); + int laneBEAT = this._Form.mgr譜面管理者.nレーン名に対応するレーン番号を返す( "BEAT" ); +// Debug.WriteLine( "laneBEAT=" + laneBEAT ); + int c = 0; + foreach ( KeyValuePair pair in this._Form.mgr譜面管理者.dic小節 ) + { + C小節 c小節 = pair.Value; + for ( int index = 0; index < c小節.listチップ.Count; index++ ) + { + if ( c小節.listチップ[ index ].nレーン番号0to == laneBEAT ) + { +// int n小節番号 = c小節.n小節番号0to3599; +// Debug.WriteLine( "n小節番号=" + c小節.n小節番号0to3599 + ", 小節内Grid=" + c小節.listチップ[ index ].n位置grid + ",lane=" + c小節.listチップ[ index ].nレーン番号0to + ", f値=" + c小節.listチップ[ index ].f値・浮動小数 ); + //string str = C変換.str数値を36進数2桁に変換して返す( c ); + sw.WriteLine( "#BEAT{0}: {1}, {2}, {3}", c++, c小節.n小節番号0to3599, c小節.listチップ[ index ].n位置grid, c小節.listチップ[ index ].f値・浮動小数 ); + } + } + } + } private void tDTX出力・全チップ( StreamWriter sw ) { sw.WriteLine(); diff --git a/DTXCreatorプロジェクト/コード/00.全体/Cメインフォーム.cs b/DTXCreatorプロジェクト/コード/00.全体/Cメインフォーム.cs index da1c7a34..2fe76de7 100644 --- a/DTXCreatorプロジェクト/コード/00.全体/Cメインフォーム.cs +++ b/DTXCreatorプロジェクト/コード/00.全体/Cメインフォーム.cs @@ -382,6 +382,16 @@ namespace DTXCreator } this.mgr譜面管理者.tRefreshDisplayLanes(); #endregion + #region [ 選択モード/編集モードの設定 ] + if ( this.appアプリ設定.InitialOperationMode ) + { + this.t選択モードにする(); + } + else + { + this.t編集モードにする(); + } + #endregion } private void tアプリ設定の保存() { @@ -624,12 +634,19 @@ namespace DTXCreator //----------------- #endregion - #region [ 「2大モード」の管理者を生成、初期は編集モードにする。] + #region [ 「2大モード」の管理者を生成、初期モードは、設定値から取得する・・・が、起動時は譜面生成後に設定値を読みだすので、設定値読み出し後に再設定すること。。] //----------------- this.mgr選択モード管理者 = new C選択モード管理( this ); this.mgr編集モード管理者 = new C編集モード管理( this ); - - this.t編集モードにする(); + + if ( this.appアプリ設定.InitialOperationMode ) + { + this.t選択モードにする(); + } + else + { + this.t編集モードにする(); + } //----------------- #endregion @@ -5091,11 +5108,13 @@ namespace DTXCreator // GenarateBeatChip_Main(); //} + + // 2度続けて実行するとチップが増えておかしくなる?要調査。 private void GenarateBeatChip_Main() { string filename = ""; - #region [ マウスカーソルを待機中に変更 ] + #region [ マウスカーソルを待機中に変更 (アプリウインドウ外で右クリックメニュー選択していると、効果がない・・・) ] this.Cursor = Cursors.WaitCursor; #endregion @@ -5105,6 +5124,14 @@ namespace DTXCreator int laneBPM = this.mgr譜面管理者.nレーン名に対応するレーン番号を返す( "BPM" ); int laneBEAT = this.mgr譜面管理者.nレーン名に対応するレーン番号を返す( "BEAT" ); #endregion + + #region [ BPM,BEATレーンの情報を消去 ] + this.mgr選択モード管理者.tレーン上の全チップを選択する( laneBPM ); + this.tシナリオ・削除(); + this.mgr選択モード管理者.tレーン上の全チップを選択する( laneBEAT ); + this.tシナリオ・削除(); + #endregion + #region [ BGMレーンにあるチップを抽出して、beat検出する対象のサウンドファイルを決める ] // とりあえずBGMチップは1個しかない前提で進める。追々、複数のBGMチップでも動作するようにはしたい。 #region [ BGMチップ抽出 ] @@ -5141,13 +5168,6 @@ namespace DTXCreator #endregion - #region [ BPM,BEATレーンの情報を消去 ] - this.mgr選択モード管理者.tレーン上の全チップを選択する( laneBPM ); - this.tシナリオ・削除(); - this.mgr選択モード管理者.tレーン上の全チップを選択する( laneBEAT ); - this.tシナリオ・削除(); - - #endregion #region [ BASSFXのBeat detectionを実行する ] FDK.CBeatDetect cbd = new CBeatDetect( filename ); @@ -5163,30 +5183,30 @@ namespace DTXCreator #region [ 四分音符以下の間隔で検出されたbeatを、端折る。端折らないと、検出beat数が多過ぎて、人が扱えなくなる。ただ、端折り方はもう少し熟慮が必要。] float last = 0; float minBeatDelta = 60.0f / tempo; // 4分音符の長さ - int count = 0; + int count = 10; // 最初の10個くらいは、端折らない。まず拍の頭をとるのに必要な情報を落とすわけにはいかないので。 // 10個目以降は、四分音符未満の長さのbeatを、端折る。(裏BEATレーンに回す) - if ( listBeatPositions.Count > 10 ) - { - for ( int i = count; i < listBeatPositions.Count; i++ ) - { - if ( listBeatPositions[ i ].fBeatTime - last < minBeatDelta ) - { - FDK.CBeatDetect.stBeatPos sbp = new CBeatDetect.stBeatPos( - listBeatPositions[ i ].fBeatTime, - 0, - 0, - 0, - ( listBeatPositions[ i ].fBeatTime - last < minBeatDelta ), - true - ); - - listBeatPositions[ i ] = sbp; - } - last = listBeatPositions[ i ].fBeatTime; - } - } + //if ( listBeatPositions.Count > 10 ) + //{ + // for ( int i = count; i < listBeatPositions.Count; i++ ) + // { + // if ( listBeatPositions[ i ].fBeatTime - last < minBeatDelta ) + // { + // FDK.CBeatDetect.stBeatPos sbp = new CBeatDetect.stBeatPos( + // listBeatPositions[ i ].fBeatTime, + // 0, + // 0, + // 0, + // ( listBeatPositions[ i ].fBeatTime - last < minBeatDelta ), + // true + // ); + + // listBeatPositions[ i ] = sbp; + // } + // last = listBeatPositions[ i ].fBeatTime; + // } + //} #endregion #region [ ただのデバッグ表示 ] @@ -5233,7 +5253,7 @@ namespace DTXCreator #region [ 0小節目のBPMを設定し、1つ目の拍が1小節目の頭に来るようにする。] // まず、0小節の頭にBPM設定を追加する。 - this.mgr編集モード管理者.tBPMチップを配置する( 0 * 192, tempo ); + this.mgr編集モード管理者.tBPMチップを配置する( 0 * 192, tempo ); // 既にBPMチップが配置されている場合の処理は???????????????? this.numericUpDownBPM.Value = (decimal) ( (int) ( tempo + 0.5 ) ); numericUpDownBPM_ValueChanged( null, null ); numericUpDownBPM_Leave( null, null ); @@ -5244,12 +5264,19 @@ namespace DTXCreator this.mgr編集モード管理者.tBPMチップを配置する( 192 - ( nBGM位置grid % 192 ), fBGM再生直後のBPM ); #endregion + + +// 頭の1個目のBEATチップがちゃんと配置されてないよ!!!!! + + + #region [ BEATレーンにチップを配置する ] // int lastGrid = (int) ( 192 * this.mgr譜面管理者.dic小節[ 0 ].f小節長倍率 ); // 0小節目の倍率 //int last小節内Grid = 0; //int last小節番号 = nBGMチップの小節番号; int n最初の拍のある小節番号 = 1 + ( nBGM位置grid / 192 ); float lastBeatTime = listBeatPositions[ n1拍目のBeatPositionIndex ].fBeatTime; + int lastnGrid = -1; for ( int index = n1拍目のBeatPositionIndex; index < listBeatPositions.Count; index++ ) { @@ -5257,7 +5284,7 @@ namespace DTXCreator // 今注目しているBEATチップが、どの小節・拍(grid)に収まるかを計算する // // 誤差を小さくするため、直前のBEATポイントからの相対位置として計算すること。 - // // 絶対位置で計算すると、最初のBPM計算の誤差がそのままBEAT位置に現れる。 + // // 絶対位置で計算すると、最初のBPM計算の誤差がそのままBEAT位置に現れる。 // やり残し★★★★★★ // // ...としたいのだが、まだできてない。全部絶対位置で計算している。 FDK.CBeatDetect.stBeatPos sbp = listBeatPositions[ index ]; @@ -5331,12 +5358,16 @@ namespace DTXCreator int nGrid = this.mgr譜面管理者.n譜面先頭からみた小節先頭の位置gridを返す( n小節番号 ) + n小節内Grid; - this.mgr編集モード管理者.tBeatチップを配置する( nGrid, index, sbp.fBeatTime, sbp.b無効 ); - // this.mgr編集モード管理者.tHHチップを配置する( nGrid, 1, sbp.b無効 ); // デバッグ用・見やすくするために暫定的に。 - sbp.nGrid = nGrid; - sbp.n小節番号 = n小節番号; - listBeatPositions[ index ] = sbp; // Grid情報を入れて、listを更新 (この情報はBPx挿入時に使う) - + if ( lastnGrid != nGrid ) + { + // indexを+1しているのは、チップ番号を01から開始するため。 + this.mgr編集モード管理者.tBeatチップを配置する( nGrid, index + 1, sbp.fBeatTime, sbp.b無効 ); + // this.mgr編集モード管理者.tHHチップを配置する( nGrid, 1, sbp.b無効 ); // デバッグ用・見やすくするために暫定的に。 + sbp.nGrid = nGrid; + sbp.n小節番号 = n小節番号; + listBeatPositions[ index ] = sbp; // Grid情報を入れて、listを更新 (この情報はBPx挿入時に使う) + lastnGrid = nGrid; + } //if ( !sbp.b無効 ) { //lastGrid = nGrid; @@ -5384,22 +5415,30 @@ namespace DTXCreator this.mgr選択モード管理者.tレーン上の全チップを選択する( laneBPM, 1 ); this.tシナリオ・削除(); - //int laneHH = this.mgr譜面管理者.nレーン名に対応するレーン番号を返す( "HH" ); - //this.mgr選択モード管理者.tレーン上の全チップを選択する( laneHH, 1 ); - //this.tシナリオ・削除(); + #region [ デバッグ用: HHレーンを消去 ] + int laneHH = this.mgr譜面管理者.nレーン名に対応するレーン番号を返す( "HH" ); + this.mgr選択モード管理者.tレーン上の全チップを選択する( laneHH, 1 ); + this.tシナリオ・削除(); + #endregion #endregion + //★★★★小節長1.00以外の場合に後で対応のこと。 #region [ BEATレーンから、listBestPositionを生成 ] int laneBEAT = this.mgr譜面管理者.nレーン名に対応するレーン番号を返す( "BEAT" ); +//Debug.WriteLine( "laneBEAT=" + laneBEAT ); List listBeatPositions = new List(); foreach ( KeyValuePair pair in this.mgr譜面管理者.dic小節 ) { C小節 c小節 = pair.Value; for ( int index = 0; index < c小節.listチップ.Count; index++ ) { - if ( c小節.listチップ[ index ].nレーン番号0to == laneBEAT ) + if ( c小節.listチップ[ index ].nレーン番号0to == laneBEAT && + !c小節.listチップ[ index ].b裏 ) { int n小節番号 = c小節.n小節番号0to3599; +//Debug.WriteLine( "n小節番号=" + c小節.n小節番号0to3599 + ", 小節内Grid=" + c小節.listチップ[ index ].n位置grid + ",lane=" + c小節.listチップ[ index ].nレーン番号0to + ", f値=" + c小節.listチップ[ index ].f値・浮動小数 ); + + listBeatPositions.Add( new CBeatDetect.stBeatPos( c小節.listチップ[ index ].f値・浮動小数, @@ -5411,6 +5450,10 @@ namespace DTXCreator ) ); } + else + { +//Debug.WriteLine( "N小節番号=" + c小節.n小節番号0to3599 + ", 小節内Grid=" + c小節.listチップ[ index ].n位置grid + ",lane=" + c小節.listチップ[ index ].nレーン番号0to + ", f値=" + c小節.listチップ[ index ].f値・浮動小数 ); + } } } #endregion @@ -5421,7 +5464,7 @@ namespace DTXCreator int n1拍目のBeatPositionIndex = 0; int lastindex = 0; - for ( int index = n1拍目のBeatPositionIndex + 1; index < listBeatPositions.Count; index++ ) + for ( int index = n1拍目のBeatPositionIndex; index < listBeatPositions.Count; index++ ) { if ( listBeatPositions[ index ].b無効 ) { @@ -5448,18 +5491,20 @@ namespace DTXCreator if ( nextIndex >= 0 ) { float deltatime = listBeatPositions[ nextIndex ].fBeatTime - listBeatPositions[ index ].fBeatTime; +//Debug.WriteLine( "deltatime=" + deltatime+ ", nextIndex=" + nextIndex + ", fBeatTime(nextIndex)=" + listBeatPositions[ nextIndex ].fBeatTime+ ", index=" + index + ", fBeatTIme(index) =" + listBeatPositions[ index ].fBeatTime ); //int current小節番号 = listBeatPositionsLight[ index ].n小節番号; //int next小節番号 = listBeatPositionsLight[ nextIndex ].n小節番号; int deltagrid = listBeatPositions[ nextIndex ].nGrid - listBeatPositions[ index ].nGrid; - +//Debug.WriteLine( "deltagrid=" + deltagrid + ", nextIndex=" + nextIndex + ", nGrid(nextIndex)=" + listBeatPositions[ nextIndex ].nGrid + ", index=" + index + ", nGrid(index) =" + listBeatPositions[ index ].nGrid ); float fBPM = 60.0f / ( deltatime / deltagrid * 48 ); // 四分音符==48grid - +//Debug.WriteLine( "fBPM=" + fBPM + ", deltatime=" + deltatime + ", deltagrid=" + deltagrid ); // BPMチップを配置する(裏BEATチップに対しては、配置しない) if ( nextIndex >= 0 ) { this.mgr編集モード管理者.tBPMチップを配置する( listBeatPositions[ index ].nGrid, fBPM ); +// Debug.WriteLine( " tBPM: #" + index + "=" + fBPM ); } @@ -5471,10 +5516,10 @@ namespace DTXCreator #endregion } #region [ デバッグ用: HHチップを置く ] - //for ( int index = n1拍目のBeatPositionIndex; index < listBeatPositions.Count; index++ ) - //{ - // this.mgr編集モード管理者.tHHチップを配置する( listBeatPositions[ index ].nGrid, 1, listBeatPositions[ index ].b無効 ); // デバッグ用・見やすくするために暫定的に。 - //} + for ( int index = n1拍目のBeatPositionIndex; index < listBeatPositions.Count; index++ ) + { + this.mgr編集モード管理者.tHHチップを配置する( listBeatPositions[ index ].nGrid, 1, listBeatPositions[ index ].b無効 ); // デバッグ用・見やすくするために暫定的に。 + } #endregion #region [ listBeatPositionsの開放 ] diff --git a/DTXCreatorプロジェクト/コード/03.オプション関連/Cオプションダイアログ.Designer.cs b/DTXCreatorプロジェクト/コード/03.オプション関連/Cオプションダイアログ.Designer.cs index 2a79cf3b..b26107ce 100644 --- a/DTXCreatorプロジェクト/コード/03.オプション関連/Cオプションダイアログ.Designer.cs +++ b/DTXCreatorプロジェクト/コード/03.オプション関連/Cオプションダイアログ.Designer.cs @@ -30,6 +30,11 @@ { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager( typeof( Cオプションダイアログ ) ); this.tabPage全般 = new System.Windows.Forms.TabPage(); + this.groupBoxDefaultOperationMode = new System.Windows.Forms.GroupBox(); + this.pictureBox_EditMode = new System.Windows.Forms.PictureBox(); + this.pictureBox_SelectMode = new System.Windows.Forms.PictureBox(); + this.radioButton_EditMode = new System.Windows.Forms.RadioButton(); + this.radioButton_SelectMode = new System.Windows.Forms.RadioButton(); this.checkBoxPlaySoundOnChip = new System.Windows.Forms.CheckBox(); this.checkBoxPreviewBGM = new System.Windows.Forms.CheckBox(); this.checkBoxオートフォーカス = new System.Windows.Forms.CheckBox(); @@ -58,6 +63,9 @@ this.button1 = new System.Windows.Forms.Button(); this.buttonOK = new System.Windows.Forms.Button(); this.tabPage全般.SuspendLayout(); + this.groupBoxDefaultOperationMode.SuspendLayout(); + ( (System.ComponentModel.ISupportInitialize) ( this.pictureBox_EditMode ) ).BeginInit(); + ( (System.ComponentModel.ISupportInitialize) ( this.pictureBox_SelectMode ) ).BeginInit(); ( (System.ComponentModel.ISupportInitialize) ( this.numericUpDown最近使用したファイルの最大表示個数 ) ).BeginInit(); this.tabControlオプション.SuspendLayout(); this.tabPageLanes.SuspendLayout(); @@ -69,48 +77,140 @@ // // tabPage全般 // + this.tabPage全般.AccessibleDescription = null; + this.tabPage全般.AccessibleName = null; + resources.ApplyResources( this.tabPage全般, "tabPage全般" ); + this.tabPage全般.BackgroundImage = null; + this.tabPage全般.Controls.Add( this.groupBoxDefaultOperationMode ); this.tabPage全般.Controls.Add( this.checkBoxPlaySoundOnChip ); this.tabPage全般.Controls.Add( this.checkBoxPreviewBGM ); this.tabPage全般.Controls.Add( this.checkBoxオートフォーカス ); this.tabPage全般.Controls.Add( this.label個まで表示する ); this.tabPage全般.Controls.Add( this.checkBox最近使用したファイル ); this.tabPage全般.Controls.Add( this.numericUpDown最近使用したファイルの最大表示個数 ); - resources.ApplyResources( this.tabPage全般, "tabPage全般" ); + this.tabPage全般.Font = null; this.tabPage全般.Name = "tabPage全般"; this.tabPage全般.UseVisualStyleBackColor = true; // + // groupBoxDefaultOperationMode + // + this.groupBoxDefaultOperationMode.AccessibleDescription = null; + this.groupBoxDefaultOperationMode.AccessibleName = null; + resources.ApplyResources( this.groupBoxDefaultOperationMode, "groupBoxDefaultOperationMode" ); + this.groupBoxDefaultOperationMode.BackgroundImage = null; + this.groupBoxDefaultOperationMode.Controls.Add( this.pictureBox_EditMode ); + this.groupBoxDefaultOperationMode.Controls.Add( this.pictureBox_SelectMode ); + this.groupBoxDefaultOperationMode.Controls.Add( this.radioButton_EditMode ); + this.groupBoxDefaultOperationMode.Controls.Add( this.radioButton_SelectMode ); + this.groupBoxDefaultOperationMode.Font = null; + this.groupBoxDefaultOperationMode.Name = "groupBoxDefaultOperationMode"; + this.groupBoxDefaultOperationMode.TabStop = false; + // + // pictureBox_EditMode + // + this.pictureBox_EditMode.AccessibleDescription = null; + this.pictureBox_EditMode.AccessibleName = null; + resources.ApplyResources( this.pictureBox_EditMode, "pictureBox_EditMode" ); + this.pictureBox_EditMode.BackgroundImage = null; + this.pictureBox_EditMode.ErrorImage = null; + this.pictureBox_EditMode.Font = null; + this.pictureBox_EditMode.Image = global::DTXCreator.Properties.Resources.鉛筆; + this.pictureBox_EditMode.ImageLocation = null; + this.pictureBox_EditMode.InitialImage = null; + this.pictureBox_EditMode.Name = "pictureBox_EditMode"; + this.pictureBox_EditMode.TabStop = false; + // + // pictureBox_SelectMode + // + this.pictureBox_SelectMode.AccessibleDescription = null; + this.pictureBox_SelectMode.AccessibleName = null; + resources.ApplyResources( this.pictureBox_SelectMode, "pictureBox_SelectMode" ); + this.pictureBox_SelectMode.BackgroundImage = null; + this.pictureBox_SelectMode.Font = null; + this.pictureBox_SelectMode.Image = global::DTXCreator.Properties.Resources.矢印ポインタ; + this.pictureBox_SelectMode.ImageLocation = null; + this.pictureBox_SelectMode.InitialImage = null; + this.pictureBox_SelectMode.Name = "pictureBox_SelectMode"; + this.pictureBox_SelectMode.TabStop = false; + // + // radioButton_EditMode + // + this.radioButton_EditMode.AccessibleDescription = null; + this.radioButton_EditMode.AccessibleName = null; + resources.ApplyResources( this.radioButton_EditMode, "radioButton_EditMode" ); + this.radioButton_EditMode.BackgroundImage = null; + this.radioButton_EditMode.Font = null; + this.radioButton_EditMode.Name = "radioButton_EditMode"; + this.radioButton_EditMode.TabStop = true; + this.radioButton_EditMode.UseVisualStyleBackColor = true; + this.radioButton_EditMode.CheckedChanged += new System.EventHandler( this.radioButtonEditMove_CheckedChanged ); + // + // radioButton_SelectMode + // + this.radioButton_SelectMode.AccessibleDescription = null; + this.radioButton_SelectMode.AccessibleName = null; + resources.ApplyResources( this.radioButton_SelectMode, "radioButton_SelectMode" ); + this.radioButton_SelectMode.BackgroundImage = null; + this.radioButton_SelectMode.Font = null; + this.radioButton_SelectMode.Name = "radioButton_SelectMode"; + this.radioButton_SelectMode.TabStop = true; + this.radioButton_SelectMode.UseVisualStyleBackColor = true; + this.radioButton_SelectMode.CheckedChanged += new System.EventHandler( this.radioButtonSelectMode_CheckedChanged ); + // // checkBoxPlaySoundOnChip // + this.checkBoxPlaySoundOnChip.AccessibleDescription = null; + this.checkBoxPlaySoundOnChip.AccessibleName = null; resources.ApplyResources( this.checkBoxPlaySoundOnChip, "checkBoxPlaySoundOnChip" ); + this.checkBoxPlaySoundOnChip.BackgroundImage = null; + this.checkBoxPlaySoundOnChip.Font = null; this.checkBoxPlaySoundOnChip.Name = "checkBoxPlaySoundOnChip"; this.checkBoxPlaySoundOnChip.UseVisualStyleBackColor = true; // // checkBoxPreviewBGM // + this.checkBoxPreviewBGM.AccessibleDescription = null; + this.checkBoxPreviewBGM.AccessibleName = null; resources.ApplyResources( this.checkBoxPreviewBGM, "checkBoxPreviewBGM" ); + this.checkBoxPreviewBGM.BackgroundImage = null; + this.checkBoxPreviewBGM.Font = null; this.checkBoxPreviewBGM.Name = "checkBoxPreviewBGM"; this.checkBoxPreviewBGM.UseVisualStyleBackColor = true; // // checkBoxオートフォーカス // + this.checkBoxオートフォーカス.AccessibleDescription = null; + this.checkBoxオートフォーカス.AccessibleName = null; resources.ApplyResources( this.checkBoxオートフォーカス, "checkBoxオートフォーカス" ); + this.checkBoxオートフォーカス.BackgroundImage = null; + this.checkBoxオートフォーカス.Font = null; this.checkBoxオートフォーカス.Name = "checkBoxオートフォーカス"; this.checkBoxオートフォーカス.UseVisualStyleBackColor = true; // // label個まで表示する // + this.label個まで表示する.AccessibleDescription = null; + this.label個まで表示する.AccessibleName = null; resources.ApplyResources( this.label個まで表示する, "label個まで表示する" ); + this.label個まで表示する.Font = null; this.label個まで表示する.Name = "label個まで表示する"; // // checkBox最近使用したファイル // + this.checkBox最近使用したファイル.AccessibleDescription = null; + this.checkBox最近使用したファイル.AccessibleName = null; resources.ApplyResources( this.checkBox最近使用したファイル, "checkBox最近使用したファイル" ); + this.checkBox最近使用したファイル.BackgroundImage = null; + this.checkBox最近使用したファイル.Font = null; this.checkBox最近使用したファイル.Name = "checkBox最近使用したファイル"; this.checkBox最近使用したファイル.UseVisualStyleBackColor = true; // // numericUpDown最近使用したファイルの最大表示個数 // + this.numericUpDown最近使用したファイルの最大表示個数.AccessibleDescription = null; + this.numericUpDown最近使用したファイルの最大表示個数.AccessibleName = null; resources.ApplyResources( this.numericUpDown最近使用したファイルの最大表示個数, "numericUpDown最近使用したファイルの最大表示個数" ); + this.numericUpDown最近使用したファイルの最大表示個数.Font = null; this.numericUpDown最近使用したファイルの最大表示個数.Maximum = new decimal( new int[] { 10, 0, @@ -130,104 +230,157 @@ // // tabControlオプション // + this.tabControlオプション.AccessibleDescription = null; + this.tabControlオプション.AccessibleName = null; resources.ApplyResources( this.tabControlオプション, "tabControlオプション" ); + this.tabControlオプション.BackgroundImage = null; this.tabControlオプション.Controls.Add( this.tabPage全般 ); this.tabControlオプション.Controls.Add( this.tabPageLanes ); this.tabControlオプション.Controls.Add( this.tabPageViewer ); + this.tabControlオプション.Font = null; this.tabControlオプション.Name = "tabControlオプション"; this.tabControlオプション.SelectedIndex = 0; this.tabControlオプション.KeyDown += new System.Windows.Forms.KeyEventHandler( this.tabControlオプション_KeyDown ); // // tabPageLanes // + this.tabPageLanes.AccessibleDescription = null; + this.tabPageLanes.AccessibleName = null; + resources.ApplyResources( this.tabPageLanes, "tabPageLanes" ); + this.tabPageLanes.BackgroundImage = null; this.tabPageLanes.Controls.Add( this.labelSelectLanes ); this.tabPageLanes.Controls.Add( this.checkedListBoxLaneSelectList ); - resources.ApplyResources( this.tabPageLanes, "tabPageLanes" ); + this.tabPageLanes.Font = null; this.tabPageLanes.Name = "tabPageLanes"; this.tabPageLanes.UseVisualStyleBackColor = true; // // labelSelectLanes // + this.labelSelectLanes.AccessibleDescription = null; + this.labelSelectLanes.AccessibleName = null; resources.ApplyResources( this.labelSelectLanes, "labelSelectLanes" ); + this.labelSelectLanes.Font = null; this.labelSelectLanes.Name = "labelSelectLanes"; // // checkedListBoxLaneSelectList // + this.checkedListBoxLaneSelectList.AccessibleDescription = null; + this.checkedListBoxLaneSelectList.AccessibleName = null; + resources.ApplyResources( this.checkedListBoxLaneSelectList, "checkedListBoxLaneSelectList" ); + this.checkedListBoxLaneSelectList.BackgroundImage = null; this.checkedListBoxLaneSelectList.CheckOnClick = true; + this.checkedListBoxLaneSelectList.Font = null; this.checkedListBoxLaneSelectList.FormattingEnabled = true; - resources.ApplyResources( this.checkedListBoxLaneSelectList, "checkedListBoxLaneSelectList" ); this.checkedListBoxLaneSelectList.Name = "checkedListBoxLaneSelectList"; // // tabPageViewer // - this.tabPageViewer.Controls.Add( this.groupBox_SelectViewer ); + this.tabPageViewer.AccessibleDescription = null; + this.tabPageViewer.AccessibleName = null; resources.ApplyResources( this.tabPageViewer, "tabPageViewer" ); + this.tabPageViewer.BackgroundImage = null; + this.tabPageViewer.Controls.Add( this.groupBox_SelectViewer ); + this.tabPageViewer.Font = null; this.tabPageViewer.Name = "tabPageViewer"; this.tabPageViewer.UseVisualStyleBackColor = true; // // groupBox_SelectViewer // + this.groupBox_SelectViewer.AccessibleDescription = null; + this.groupBox_SelectViewer.AccessibleName = null; + resources.ApplyResources( this.groupBox_SelectViewer, "groupBox_SelectViewer" ); + this.groupBox_SelectViewer.BackgroundImage = null; this.groupBox_SelectViewer.Controls.Add( this.groupBox_DTXManiaSettings ); this.groupBox_SelectViewer.Controls.Add( this.groupBox_SoundDeviceSettings ); this.groupBox_SelectViewer.Controls.Add( this.radioButton_UseDTXViewer ); this.groupBox_SelectViewer.Controls.Add( this.radioButton_UseDTXManiaGR ); - resources.ApplyResources( this.groupBox_SelectViewer, "groupBox_SelectViewer" ); + this.groupBox_SelectViewer.Font = null; this.groupBox_SelectViewer.Name = "groupBox_SelectViewer"; this.groupBox_SelectViewer.TabStop = false; // // groupBox_DTXManiaSettings // + this.groupBox_DTXManiaSettings.AccessibleDescription = null; + this.groupBox_DTXManiaSettings.AccessibleName = null; + resources.ApplyResources( this.groupBox_DTXManiaSettings, "groupBox_DTXManiaSettings" ); + this.groupBox_DTXManiaSettings.BackgroundImage = null; this.groupBox_DTXManiaSettings.Controls.Add( this.label1 ); this.groupBox_DTXManiaSettings.Controls.Add( this.checkBox_TimeStretch ); this.groupBox_DTXManiaSettings.Controls.Add( this.checkBox_VSyncWait ); this.groupBox_DTXManiaSettings.Controls.Add( this.checkBox_GRmode ); - resources.ApplyResources( this.groupBox_DTXManiaSettings, "groupBox_DTXManiaSettings" ); + this.groupBox_DTXManiaSettings.Font = null; this.groupBox_DTXManiaSettings.Name = "groupBox_DTXManiaSettings"; this.groupBox_DTXManiaSettings.TabStop = false; // // label1 // + this.label1.AccessibleDescription = null; + this.label1.AccessibleName = null; resources.ApplyResources( this.label1, "label1" ); + this.label1.Font = null; this.label1.Name = "label1"; // // checkBox_TimeStretch // + this.checkBox_TimeStretch.AccessibleDescription = null; + this.checkBox_TimeStretch.AccessibleName = null; resources.ApplyResources( this.checkBox_TimeStretch, "checkBox_TimeStretch" ); + this.checkBox_TimeStretch.BackgroundImage = null; + this.checkBox_TimeStretch.Font = null; this.checkBox_TimeStretch.Name = "checkBox_TimeStretch"; this.checkBox_TimeStretch.UseVisualStyleBackColor = true; // // checkBox_VSyncWait // + this.checkBox_VSyncWait.AccessibleDescription = null; + this.checkBox_VSyncWait.AccessibleName = null; resources.ApplyResources( this.checkBox_VSyncWait, "checkBox_VSyncWait" ); + this.checkBox_VSyncWait.BackgroundImage = null; + this.checkBox_VSyncWait.Font = null; this.checkBox_VSyncWait.Name = "checkBox_VSyncWait"; this.checkBox_VSyncWait.UseVisualStyleBackColor = true; // // checkBox_GRmode // + this.checkBox_GRmode.AccessibleDescription = null; + this.checkBox_GRmode.AccessibleName = null; resources.ApplyResources( this.checkBox_GRmode, "checkBox_GRmode" ); + this.checkBox_GRmode.BackgroundImage = null; + this.checkBox_GRmode.Font = null; this.checkBox_GRmode.Name = "checkBox_GRmode"; this.checkBox_GRmode.UseVisualStyleBackColor = true; // // groupBox_SoundDeviceSettings // + this.groupBox_SoundDeviceSettings.AccessibleDescription = null; + this.groupBox_SoundDeviceSettings.AccessibleName = null; + resources.ApplyResources( this.groupBox_SoundDeviceSettings, "groupBox_SoundDeviceSettings" ); + this.groupBox_SoundDeviceSettings.BackgroundImage = null; this.groupBox_SoundDeviceSettings.Controls.Add( this.label_Notice ); this.groupBox_SoundDeviceSettings.Controls.Add( this.radioButton_DirectSound ); this.groupBox_SoundDeviceSettings.Controls.Add( this.radioButton_WASAPI ); this.groupBox_SoundDeviceSettings.Controls.Add( this.comboBox_ASIOdevices ); this.groupBox_SoundDeviceSettings.Controls.Add( this.radioButton_ASIO ); - resources.ApplyResources( this.groupBox_SoundDeviceSettings, "groupBox_SoundDeviceSettings" ); + this.groupBox_SoundDeviceSettings.Font = null; this.groupBox_SoundDeviceSettings.Name = "groupBox_SoundDeviceSettings"; this.groupBox_SoundDeviceSettings.TabStop = false; // // label_Notice // + this.label_Notice.AccessibleDescription = null; + this.label_Notice.AccessibleName = null; resources.ApplyResources( this.label_Notice, "label_Notice" ); this.label_Notice.AutoEllipsis = true; + this.label_Notice.Font = null; this.label_Notice.Name = "label_Notice"; // // radioButton_DirectSound // + this.radioButton_DirectSound.AccessibleDescription = null; + this.radioButton_DirectSound.AccessibleName = null; resources.ApplyResources( this.radioButton_DirectSound, "radioButton_DirectSound" ); + this.radioButton_DirectSound.BackgroundImage = null; + this.radioButton_DirectSound.Font = null; this.radioButton_DirectSound.Name = "radioButton_DirectSound"; this.radioButton_DirectSound.TabStop = true; this.radioButton_DirectSound.UseVisualStyleBackColor = true; @@ -235,7 +388,11 @@ // // radioButton_WASAPI // + this.radioButton_WASAPI.AccessibleDescription = null; + this.radioButton_WASAPI.AccessibleName = null; resources.ApplyResources( this.radioButton_WASAPI, "radioButton_WASAPI" ); + this.radioButton_WASAPI.BackgroundImage = null; + this.radioButton_WASAPI.Font = null; this.radioButton_WASAPI.Name = "radioButton_WASAPI"; this.radioButton_WASAPI.TabStop = true; this.radioButton_WASAPI.UseVisualStyleBackColor = true; @@ -243,14 +400,22 @@ // // comboBox_ASIOdevices // + this.comboBox_ASIOdevices.AccessibleDescription = null; + this.comboBox_ASIOdevices.AccessibleName = null; + resources.ApplyResources( this.comboBox_ASIOdevices, "comboBox_ASIOdevices" ); + this.comboBox_ASIOdevices.BackgroundImage = null; this.comboBox_ASIOdevices.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.comboBox_ASIOdevices.Font = null; this.comboBox_ASIOdevices.FormattingEnabled = true; - resources.ApplyResources( this.comboBox_ASIOdevices, "comboBox_ASIOdevices" ); this.comboBox_ASIOdevices.Name = "comboBox_ASIOdevices"; // // radioButton_ASIO // + this.radioButton_ASIO.AccessibleDescription = null; + this.radioButton_ASIO.AccessibleName = null; resources.ApplyResources( this.radioButton_ASIO, "radioButton_ASIO" ); + this.radioButton_ASIO.BackgroundImage = null; + this.radioButton_ASIO.Font = null; this.radioButton_ASIO.Name = "radioButton_ASIO"; this.radioButton_ASIO.TabStop = true; this.radioButton_ASIO.UseVisualStyleBackColor = true; @@ -258,7 +423,11 @@ // // radioButton_UseDTXViewer // + this.radioButton_UseDTXViewer.AccessibleDescription = null; + this.radioButton_UseDTXViewer.AccessibleName = null; resources.ApplyResources( this.radioButton_UseDTXViewer, "radioButton_UseDTXViewer" ); + this.radioButton_UseDTXViewer.BackgroundImage = null; + this.radioButton_UseDTXViewer.Font = null; this.radioButton_UseDTXViewer.Name = "radioButton_UseDTXViewer"; this.radioButton_UseDTXViewer.TabStop = true; this.radioButton_UseDTXViewer.UseVisualStyleBackColor = true; @@ -266,7 +435,11 @@ // // radioButton_UseDTXManiaGR // + this.radioButton_UseDTXManiaGR.AccessibleDescription = null; + this.radioButton_UseDTXManiaGR.AccessibleName = null; resources.ApplyResources( this.radioButton_UseDTXManiaGR, "radioButton_UseDTXManiaGR" ); + this.radioButton_UseDTXManiaGR.BackgroundImage = null; + this.radioButton_UseDTXManiaGR.Font = null; this.radioButton_UseDTXManiaGR.Name = "radioButton_UseDTXManiaGR"; this.radioButton_UseDTXManiaGR.TabStop = true; this.radioButton_UseDTXManiaGR.UseVisualStyleBackColor = true; @@ -274,32 +447,49 @@ // // button1 // + this.button1.AccessibleDescription = null; + this.button1.AccessibleName = null; resources.ApplyResources( this.button1, "button1" ); + this.button1.BackgroundImage = null; this.button1.DialogResult = System.Windows.Forms.DialogResult.Cancel; + this.button1.Font = null; this.button1.Name = "button1"; this.button1.UseVisualStyleBackColor = true; // // buttonOK // + this.buttonOK.AccessibleDescription = null; + this.buttonOK.AccessibleName = null; resources.ApplyResources( this.buttonOK, "buttonOK" ); + this.buttonOK.BackgroundImage = null; this.buttonOK.DialogResult = System.Windows.Forms.DialogResult.OK; + this.buttonOK.Font = null; this.buttonOK.Name = "buttonOK"; this.buttonOK.UseVisualStyleBackColor = true; // // Cオプションダイアログ // + this.AccessibleDescription = null; + this.AccessibleName = null; resources.ApplyResources( this, "$this" ); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.BackgroundImage = null; this.ControlBox = false; this.Controls.Add( this.buttonOK ); this.Controls.Add( this.button1 ); this.Controls.Add( this.tabControlオプション ); + this.Font = null; + this.Icon = null; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "Cオプションダイアログ"; this.KeyDown += new System.Windows.Forms.KeyEventHandler( this.Cオプションダイアログ_KeyDown ); this.tabPage全般.ResumeLayout( false ); this.tabPage全般.PerformLayout(); + this.groupBoxDefaultOperationMode.ResumeLayout( false ); + this.groupBoxDefaultOperationMode.PerformLayout(); + ( (System.ComponentModel.ISupportInitialize) ( this.pictureBox_EditMode ) ).EndInit(); + ( (System.ComponentModel.ISupportInitialize) ( this.pictureBox_SelectMode ) ).EndInit(); ( (System.ComponentModel.ISupportInitialize) ( this.numericUpDown最近使用したファイルの最大表示個数 ) ).EndInit(); this.tabControlオプション.ResumeLayout( false ); this.tabPageLanes.ResumeLayout( false ); @@ -345,6 +535,11 @@ public System.Windows.Forms.CheckBox checkBox_TimeStretch; public System.Windows.Forms.CheckBox checkBox_VSyncWait; private System.Windows.Forms.Label label1; + private System.Windows.Forms.GroupBox groupBoxDefaultOperationMode; + private System.Windows.Forms.PictureBox pictureBox_SelectMode; + private System.Windows.Forms.PictureBox pictureBox_EditMode; + internal System.Windows.Forms.RadioButton radioButton_EditMode; + internal System.Windows.Forms.RadioButton radioButton_SelectMode; } } \ No newline at end of file diff --git a/DTXCreatorプロジェクト/コード/03.オプション関連/Cオプションダイアログ.cs b/DTXCreatorプロジェクト/コード/03.オプション関連/Cオプションダイアログ.cs index 9954ff45..c2c75e97 100644 --- a/DTXCreatorプロジェクト/コード/03.オプション関連/Cオプションダイアログ.cs +++ b/DTXCreatorプロジェクト/コード/03.オプション関連/Cオプションダイアログ.cs @@ -97,5 +97,15 @@ namespace DTXCreator.オプション関連 { this.comboBox_ASIOdevices.Enabled = true; } + + private void radioButtonSelectMode_CheckedChanged( object sender, EventArgs e ) + { + + } + + private void radioButtonEditMove_CheckedChanged( object sender, EventArgs e ) + { + + } } } diff --git a/DTXCreatorプロジェクト/コード/03.オプション関連/Cオプションダイアログ.ja-JP.resx b/DTXCreatorプロジェクト/コード/03.オプション関連/Cオプションダイアログ.ja-JP.resx index 89b2c802..a9ded2aa 100644 --- a/DTXCreatorプロジェクト/コード/03.オプション関連/Cオプションダイアログ.ja-JP.resx +++ b/DTXCreatorプロジェクト/コード/03.オプション関連/Cオプションダイアログ.ja-JP.resx @@ -117,7 +117,42 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + True + + + TopLeft + + + 75, 16 + + + 編集モード + + + + ImageBeforeText + + + True + + + TopLeft + + + 75, 16 + + + 選択モード + + + ImageBeforeText + + + 初期モード + 283, 16 diff --git a/DTXCreatorプロジェクト/コード/03.オプション関連/Cオプションダイアログ.resx b/DTXCreatorプロジェクト/コード/03.オプション関連/Cオプションダイアログ.resx index a0a10840..4ba7b2ba 100644 --- a/DTXCreatorプロジェクト/コード/03.オプション関連/Cオプションダイアログ.resx +++ b/DTXCreatorプロジェクト/コード/03.オプション関連/Cオプションダイアログ.resx @@ -117,760 +117,958 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + groupBox_SelectViewer + - + True - - - 6, 73 - - - 214, 16 + + 1 - - 5 + + + 6, 40 - - &Play sound when WAV chip is placed + + Use DTX&Viewer.exe - - checkBoxPlaySoundOnChip + + groupBoxDefaultOperationMode - - System.Windows.Forms.CheckBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + ImageBeforeText - - tabPage全般 + + 359, 256 - - 0 + + groupBox_SoundDeviceSettings - - True + + Bottom, Right - - 6, 50 + + 62, 12 - - 318, 16 + + 4, 22 - - 4 + + checkBox_VSyncWait - - Don't play &BGM preview automatically when WAV clicked + + label個まで表示する - - checkBoxPreviewBGM + + 263, 25 - - System.Windows.Forms.CheckBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 0 - - tabPage全般 + + 6, 6 - - 1 + + 6, 28 - + True - - 6, 6 + + button1 80, 16 - - 0 - - - Auto &focus + + System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - checkBoxオートフォーカス + + 8 - - System.Windows.Forms.CheckBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + checkBoxPlaySoundOnChip - - tabPage全般 + + 3 - - 2 + + checkBox_TimeStretch - - True + + 170, 16 - - 195, 29 + + Initial Operation Mode - - 62, 12 + + Viewer - + 3 - - Show up &to - - - label個まで表示する + + $this - - System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + System.Windows.Forms.RadioButton, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - tabPage全般 + + 6 - - 3 + + tabControlオプション - + True - - 6, 28 + + System.Windows.Forms.RadioButton, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 170, 16 + + &Play sound when WAV chip is placed - - 1 + + 2 - - Most &recently used files list: + + 0 - - checkBox最近使用したファイル + + System.Windows.Forms.RadioButton, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - System.Windows.Forms.CheckBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + groupBox_SoundDeviceSettings - - tabPage全般 + + label_Notice - - 4 + + groupBoxDefaultOperationMode - - 263, 25 + + Bottom, Right - - 56, 19 + + SoundDevice (*) - - 2 + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - numericUpDown最近使用したファイルの最大表示個数 + + 145, 16 - - System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + Most &recently used files list: - - tabPage全般 + + 133, 7 - - 5 + + Use DTX&ManiaGR.exe - - 4, 22 + + 6 - - - 3, 3, 3, 3 + + 56, 19 - - 359, 256 + + System.Windows.Forms.PictureBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 0 + + 1 - - General + + 6, 73 - - tabPage全般 + + 3, 3, 3, 3 - - System.Windows.Forms.TabPage, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - tabControlオプション + + 143, 34 - + 0 - - Top, Bottom, Left, Right - - - True - - - NoControl + + 2 - - 133, 7 + + Lanes - - 161, 12 + + 4, 22 - - 1 + + 4 - - Select Lanes you'd like to use. + + True - - labelSelectLanes + + 0 - - System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + groupBoxDefaultOperationMode - - tabPageLanes + + 0 - + 0 - - 6, 6 + + True - - 120, 228 + + 168, 36 - - 0 + + ImageBeforeText - - checkedListBoxLaneSelectList + + tabPage全般 - - System.Windows.Forms.CheckedListBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 135, 16 - - tabPageLanes + + groupBox_SoundDeviceSettings - - 1 + + Don't play &BGM preview automatically when WAV clicked - - 4, 22 + + checkBox_GRmode - - 3, 3, 3, 3 + + Cancel - - 359, 256 + + Options - - 1 + + Auto &focus - - Lanes + + 86, 16 - - tabPageLanes + + 28, 41 - - System.Windows.Forms.TabPage, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 10 - - tabControlオプション + + 2 - - 1 + + tabPage全般 - + + 347, 250 + + + 4 + + True - - 143, 34 + + 6, 18 - - 168, 36 + + 6, 95 - - 11 + + 1 + + + System.Windows.Forms.RadioButton, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + groupBox_DTXManiaSettings (You can use it only when WASAPI/ASIO is used, within PlaySpeed = x0.8 - x1.2) - - label1 + + pictureBox_EditMode - - System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 74, 16 - - groupBox_DTXManiaSettings + + 75, 23 - - 0 + + 1 - - True + + 86, 16 - - NoControl + + 71, 16 - - 127, 18 + + 1 - - 86, 16 + + radioButton_UseDTXManiaGR - - 10 + + True - - &TimeStretch + + System.Windows.Forms.GroupBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - checkBox_TimeStretch + + NoControl - + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - groupBox_DTXManiaSettings + + 6, 6 1 + + System.Windows.Forms.RadioButton, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + True - + + 170, 68 + + + groupBoxDefaultOperationMode + + + groupBox_DTXManiaSettings + + + System.Windows.Forms.TabPage, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 6 + + + 4 + + + 0 + + + System.Windows.Forms.Button, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 359, 256 + + + buttonOK + + + 2 + + + System.Windows.Forms.PictureBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 2 + + NoControl - + + 11 + + + groupBox_SelectViewer + + + 4, 22 + + + radioButton_SelectMode + + + True + + + 0 + + + 1 + + + 5 + + 6, 40 - - 79, 16 + + $this + + + Top, Bottom, Left, Right + + + 219, 304 + + + 0 + + + checkBoxオートフォーカス + + + 3 + + + StretchImage + + + 7 + + + 3 + + + 6, 40 + + + tabPage全般 + + + NoControl + + + 169, 19 + + + 0 + + + CenterParent + + + System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + True + + + System.Windows.Forms.RadioButton, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 4 + + + 2 + + + 2 + + + 121, 20 + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + (*) +You need to reboot viewer +after changing these +parameters. + + + System.Windows.Forms.TabControl, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Windows.Forms.RadioButton, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + True + + + Select mode + + + 124, 16 + + + groupBox_SelectViewer + + + System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + &GR mode + + + tabControlオプション + + + 313, 73 + + + General + + + pictureBox_SelectMode + + + 0 + + + tabPageViewer + + + 195, 29 + + + 28, 171 + + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 6, 18 + + + numericUpDown最近使用したファイルの最大表示個数 + + + 28, 58 + + + 85, 16 + + + 2 - - 9 + + 1 - - V&SyncWait + + 7 - - checkBox_VSyncWait + + 161, 12 - - System.Windows.Forms.CheckBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + tabPage全般 - - groupBox_DTXManiaSettings + + System.Windows.Forms.GroupBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - + + 359, 256 + + 2 - + + StretchImage + + True - - 6, 18 + + Cオプションダイアログ - - 71, 16 + + 16, 16 - - 8 + + 3 - - &GR mode + + Show up &to - - checkBox_GRmode + + checkedListBoxLaneSelectList - + + Edit mode + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 groupBox_DTXManiaSettings - - 3 - - - 28, 171 - - - 313, 73 + + NoControl - - 8 + + 6, 3 - - Other DTXManiaGR Settings + + tabPage全般 - - groupBox_DTXManiaSettings + + radioButtonEditMove - - System.Windows.Forms.GroupBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 300, 304 - - groupBox_SelectViewer + + tabPage全般 - - 0 + + 6 - - Top, Bottom, Left, Right + + 1 - - True + + System.Windows.Forms.TabPage, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 169, 19 + + 3 - - 139, 48 + + 12, 12 - - 6 + + 1 - - (*) -You need to reboot viewer -after changing these -parameters. + + &TimeStretch - - label_Notice + + 6, 50 - - System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + NoControl - - groupBox_SoundDeviceSettings + + tabPage全般 - - 0 + + 1 - - True + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - + 6, 18 - - 85, 16 - - - 2 + + 9 - - &DirectSound + + 8 - - radioButton_DirectSound + + 139, 48 - + System.Windows.Forms.RadioButton, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - groupBox_SoundDeviceSettings - - - 1 + + 3, 3, 3, 3 - + True - - NoControl - - - 6, 40 + + 318, 16 - - 145, 16 + + tabPageLanes - - 3 + + groupBox_DTXManiaSettings - - &WASAPI (Vista or later) + + 28, 18 - - radioButton_WASAPI + + 313, 107 - - System.Windows.Forms.RadioButton, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 6, 40 - - groupBox_SoundDeviceSettings + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 2 + + System.Windows.Forms.Form, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 29, 80 + + 155, 16 - - 121, 20 + + tabPage全般 - - 5 + + True - - comboBox_ASIOdevices + + 120, 228 - - System.Windows.Forms.ComboBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 10 - - groupBox_SoundDeviceSettings + + 79, 16 - - 3 + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - True + + NoControl - + NoControl - - 6, 62 + + 9 - - 155, 16 + + groupBoxDefaultOperationMode - - 4 + + groupBox_SoundDeviceSettings - - &ASIO (ASIO devices only) + + groupBox_DTXManiaSettings - - radioButton_ASIO + + 28, 41 - - System.Windows.Forms.RadioButton, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + V&SyncWait - - groupBox_SoundDeviceSettings + + True - - 4 + + 28, 18 - - 28, 58 + + 3 - - 313, 107 + + radioButton_EditMode - - 7 + + 6 + + + radioButton_ASIO - - SoundDevice (*) + + Top, Bottom, Left, Right - - groupBox_SoundDeviceSettings + + 391, 339 - + System.Windows.Forms.GroupBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - groupBox_SelectViewer + + 0 - - 1 + + 75, 23 - + True - - 6, 18 - - - 124, 16 + + 127, 18 - - 0 + + 5 - - Use DTX&Viewer.exe + + radioButton_DirectSound - - radioButton_UseDTXViewer + + checkBoxPreviewBGM - - System.Windows.Forms.RadioButton, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 3 - - groupBox_SelectViewer + + True - - 2 + + tabControlオプション - - True + + comboBox_ASIOdevices - - NoControl + + System.Windows.Forms.TabPage, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 6, 40 + + System.Windows.Forms.GroupBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 135, 16 + + &WASAPI (Vista or later) - - 1 + + tabPageLanes - - Use DTX&ManiaGR.exe + + System.Windows.Forms.CheckedListBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - radioButton_UseDTXManiaGR + + labelSelectLanes - - System.Windows.Forms.RadioButton, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 5 - - groupBox_SelectViewer + + 0 - - 3 + + 6, 18 - - 6, 3 + + NoControl - - 347, 250 + + groupBox_SelectViewer - - 6 + + radioButton_UseDTXViewer - - Viewer Settings + + Select Lanes you'd like to use. - - groupBox_SelectViewer + + radioButton_WASAPI - - System.Windows.Forms.GroupBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + tabControlオプション - - tabPageViewer + + 214, 16 - - 0 + + 6, 62 - - 4, 22 + + TopLeft - - 3, 3, 3, 3 + + $this - - 359, 256 + + 5 - - 2 + + groupBox_SoundDeviceSettings - - Viewer + + 367, 282 - + tabPageViewer - - System.Windows.Forms.TabPage, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + radioButtonSelectMode - - tabControlオプション + + 7 - - 2 + + groupBox_SelectViewer - - 12, 12 + + TopLeft - - 367, 282 + + 3, 3, 3, 3 - + + groupBoxDefaultOperationMode + + 3 - - tabControlオプション + + checkBox最近使用したファイル - - System.Windows.Forms.TabControl, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + Viewer Settings - - $this + + 16, 16 - - 2 + + &ASIO (ASIO devices only) - - Bottom, Right + + label1 - - 300, 304 + + groupBoxDefaultOperationMode - - 75, 23 + + 1 - - 5 + + 10 - - Cancel + + True - - button1 + + 2 - - System.Windows.Forms.Button, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 6, 12 - - $this + + System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 1 + + 29, 80 - - Bottom, Right + + 2 - - 219, 304 + + tabPageLanes - - 75, 23 + + &DirectSound - + 4 - - OK + + System.Windows.Forms.Button, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - buttonOK + + System.Windows.Forms.RadioButton, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - System.Windows.Forms.Button, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + OK - - $this + + Other DTXManiaGR Settings - - 0 + + groupBox_SoundDeviceSettings True @@ -878,22 +1076,4 @@ parameters. Japanese (Japan) - - 6, 12 - - - 391, 339 - - - CenterParent - - - Options - - - Cオプションダイアログ - - - System.Windows.Forms.Form, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - \ No newline at end of file diff --git a/DTXCreatorプロジェクト/コード/03.オプション関連/Cオプション管理.cs b/DTXCreatorプロジェクト/コード/03.オプション関連/Cオプション管理.cs index 2387325a..54bc711b 100644 --- a/DTXCreatorプロジェクト/コード/03.オプション関連/Cオプション管理.cs +++ b/DTXCreatorプロジェクト/コード/03.オプション関連/Cオプション管理.cs @@ -20,6 +20,8 @@ namespace DTXCreator.オプション関連 cオプションダイアログ.numericUpDown最近使用したファイルの最大表示個数.Value = this.formメインフォーム.appアプリ設定.RecentFilesNum; cオプションダイアログ.checkBoxPreviewBGM.CheckState = this.formメインフォーム.appアプリ設定.NoPreviewBGM ? CheckState.Checked : CheckState.Unchecked; cオプションダイアログ.checkBoxPlaySoundOnChip.CheckState = this.formメインフォーム.appアプリ設定.PlaySoundOnWAVChipAllocated ? CheckState.Checked : CheckState.Unchecked; + cオプションダイアログ.radioButton_SelectMode.Checked = this.formメインフォーム.appアプリ設定.InitialOperationMode; + cオプションダイアログ.radioButton_EditMode.Checked = !this.formメインフォーム.appアプリ設定.InitialOperationMode; #endregion #region [ Laneタブ ] if ( !cオプションダイアログ.bレーンリストの内訳が生成済みである ) @@ -58,6 +60,8 @@ namespace DTXCreator.オプション関連 this.formメインフォーム.appアプリ設定.NoPreviewBGM = cオプションダイアログ.checkBoxPreviewBGM.Checked; this.formメインフォーム.appアプリ設定.PlaySoundOnWAVChipAllocated = cオプションダイアログ.checkBoxPlaySoundOnChip.Checked; + this.formメインフォーム.appアプリ設定.InitialOperationMode = cオプションダイアログ.radioButton_SelectMode.Checked; + for ( int i = 0; i < this.formメインフォーム.mgr譜面管理者.listレーン.Count; i++ ) { DTXCreator.譜面.Cレーン.ELaneType e = this.formメインフォーム.mgr譜面管理者.listレーン[ i ].eLaneType; -- 2.11.0