OSDN Git Service

#32618 [DTXC] GENRE情報がDTXファイルの読み書きに反映されていなかったのを修正。
authoryyagi <yyagi@16f42ceb-6dc6-49c8-ba94-f2d53467949d>
Sat, 21 Dec 2013 04:39:27 +0000 (04:39 +0000)
committeryyagi <yyagi@16f42ceb-6dc6-49c8-ba94-f2d53467949d>
Sat, 21 Dec 2013 04:39:27 +0000 (04:39 +0000)
git-svn-id: http://svn.osdn.jp/svnroot/dtxmania/trunk@661 16f42ceb-6dc6-49c8-ba94-f2d53467949d

DTXCreatorプロジェクト/コード/00.全体/CDTX入出力.cs
DTXCreatorプロジェクト/コード/00.全体/Cメインフォーム.cs
実行時フォルダ(DTXCreator)/DTXCreator.exe
実行時フォルダ(DTXCreator)/ja-JP/DTXCreator.resources.dll

index 44a6749..42b0590 100644 (file)
@@ -755,6 +755,12 @@ namespace DTXCreator
                                this._Form.textBox製作者.Text = strパラメータ.Trim();\r
                                return true;\r
                        }\r
+                       if ( strコマンド.Equals( "GENRE", StringComparison.OrdinalIgnoreCase ) )\r
+                       {\r
+                               CUndoRedo管理.bUndoRedoした直後 = true;\r
+                               this._Form.textBoxGenre.Text = strパラメータ.Trim();\r
+                               return true;\r
+                       }\r
                        if( strコマンド.Equals( "COMMENT", StringComparison.OrdinalIgnoreCase ) )\r
                        {\r
                                CUndoRedo管理.bUndoRedoした直後 = true;\r
@@ -1800,6 +1806,10 @@ namespace DTXCreator
                        {\r
                                sw.WriteLine( "#ARTIST: " + this._Form.textBox製作者.Text );\r
                        }\r
+                       if( this._Form.textBoxGenre.Text.Length > 0 )\r
+                       {\r
+                               sw.WriteLine( "#GENRE: " + this._Form.textBoxGenre.Text );\r
+                       }\r
                        if( this._Form.textBoxコメント.Text.Length > 0 )\r
                        {\r
                                sw.WriteLine( "#COMMENT: " + this._Form.textBoxコメント.Text );\r
index 2ec1f8c..6cf2f51 100644 (file)
@@ -518,6 +518,7 @@ namespace DTXCreator
                        //-----------------\r
                        CUndoRedo管理.bUndoRedoした直後 = true;   this.textBox曲名.Clear();\r
                        CUndoRedo管理.bUndoRedoした直後 = true;   this.textBox製作者.Clear();\r
+                       CUndoRedo管理.bUndoRedoした直後 = true;   this.textBoxGenre.Clear();\r
                        CUndoRedo管理.bUndoRedoした直後 = true;   this.textBoxコメント.Clear();\r
                        CUndoRedo管理.bUndoRedoした直後 = true;   this.numericUpDownBPM.Value = 120.0M;\r
                        CUndoRedo管理.bUndoRedoした直後 = true;   this.textBoxDLEVEL.Text = "50";\r
index a7d5ee6..9b5e94a 100644 (file)
Binary files a/実行時フォルダ(DTXCreator)/DTXCreator.exe and b/実行時フォルダ(DTXCreator)/DTXCreator.exe differ
index 0fa7d42..5e67dea 100644 (file)
Binary files a/実行時フォルダ(DTXCreator)/ja-JP/DTXCreator.resources.dll and b/実行時フォルダ(DTXCreator)/ja-JP/DTXCreator.resources.dll differ