From: くまかみ工房 Date: Wed, 30 Nov 2016 07:46:37 +0000 (+0900) Subject: 演奏画面で、小節番号を表示するように修正。 X-Git-Url: http://git.osdn.net/view?p=strokestylet%2FCsWin10Desktop3.git;a=commitdiff_plain;h=71a58a2afd93e2ffa17d0aa490c0714898ffab81 演奏画面で、小節番号を表示するように修正。 --- diff --git a/SSTFEditor/メインフォーム.ja-JP.resx b/SSTFEditor/メインフォーム.ja-JP.resx index 485896e..65b8116 100644 --- a/SSTFEditor/メインフォーム.ja-JP.resx +++ b/SSTFEditor/メインフォーム.ja-JP.resx @@ -461,15 +461,6 @@ x3.25 - - x3.5 - - - x3.75 - - - x4 - 譜面の縦方向の表示倍率を指定します。 diff --git a/SSTFEditor/メインフォーム.resx b/SSTFEditor/メインフォーム.resx index dc3f0a8..ed489ca 100644 --- a/SSTFEditor/メインフォーム.resx +++ b/SSTFEditor/メインフォーム.resx @@ -132,15 +132,6 @@ 166, 22 - - labelメモ用小節番号 - - - 23, 23 - - - &Copy - True @@ -162,18 +153,15 @@ 0, 0, 0, 0 - - Save to file + + System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - &Help + + toolStripMenuItemオプション Select &All - - Search(&F) - @@ -186,14 +174,17 @@ &Redo + + System.Windows.Forms.MenuStrip, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + General &View - - System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 192, 22 True @@ -204,6 +195,9 @@ System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + toolStripMenuItemガイド間隔48分 + 275, 103 @@ -228,9 +222,6 @@ MS UI Gothic, 12pt - - False - 111, 22 @@ -240,12 +231,18 @@ $this + + 189, 6 + System.Windows.Forms.ToolStripSeparator, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 splitContainer分割パネルコンテナ.Panel2 + + toolStripMenuItem切り取り + System.Windows.Forms.VScrollBar, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 @@ -261,9 +258,6 @@ 4 - - toolStripSeparator3 - toolStripMenuItemバージョン @@ -276,15 +270,18 @@ &Paste - - Play from top with a viewer - 8, 9 False + + 192, 22 + + + System.Windows.Forms.ToolStripSeparator, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + toolStripMenuItem選択チップのコピー @@ -300,23 +297,17 @@ Guide margin - - Magenta - System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 192, 22 - System.Windows.Forms.ToolStripButton, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 Vertical sizing - - tabPage基本情報 + + 3, 3, 3, 3 23, 23 @@ -327,8 +318,8 @@ 1/48 - - 212, 322 + + 23, 23 75, 26 @@ -381,14 +372,17 @@ 132, 22 + + 17, 603 + 5 - - tabPage基本情報 + + 157, 22 splitContainer分割パネルコンテナ.Panel1 @@ -402,9 +396,6 @@ Ctrl+Y - - tabControl情報タブコンテナ - System.Windows.Forms.ToolStripButton, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 @@ -414,6 +405,9 @@ toolStripMenuItemコピー + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + toolStripMenuItemガイド間隔24分 @@ -426,12 +420,18 @@ Ctrl+C + + System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + System.Windows.Forms.ToolStripSeparator, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 1/24 + + &Mode change + System.Windows.Forms.ContextMenuStrip, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 @@ -459,8 +459,8 @@ System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 9 @@ -480,21 +480,33 @@ 245, 573 + + System.Windows.Forms.ToolStripSeparator, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + toolStripButton音量Down System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + toolStripMenuItem表示 + Both 0 + + textBox背景動画 + toolStripツールバー + + System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + Stop viewer playing @@ -507,23 +519,17 @@ D&elete part - - System.Windows.Forms.ToolStripLabel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - &Save - - NoControl - - - toolStripMenuItem編集モード + + System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 System.Windows.Forms.ToolStripButton, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - toolStripMenuItemガイド間隔32分 + + x4 0, 16 @@ -531,15 +537,12 @@ toolStripMenuItem上書き保存 - - 4 + + False toolStripButton現在位置から再生 - - 189, 6 - &Delete @@ -555,6 +558,9 @@ + + toolStripMenuItem削除 + toolStripButtonコピー @@ -573,12 +579,18 @@ 0 + + &Guide margin + toolStripSeparator4 + + volume down + System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 @@ -591,26 +603,17 @@ System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - NoControl + + 218, 22 System.Windows.Forms.ToolStripSeparator, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - Default - 15 - - toolStripButton貼り付け - - - 132, 22 - - - System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + tabPage基本情報 True @@ -624,9 +627,6 @@ System.Windows.Forms.Form, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 192, 22 - System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 @@ -663,6 +663,9 @@ 6, 26 + + 193, 198 + Change to edit mode @@ -675,35 +678,35 @@ toolStripMenuItemすべてのチップの選択 - - toolStripSeparator5 - Undo - - 1/64 - 166, 22 + + 1 + 132, 22 &New + + System.Windows.Forms.ToolStripButton, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + Magenta Magenta - - 23, 23 + + False 148, 6 @@ -741,12 +744,15 @@ 166, 22 - - toolStripMenuItemやり直す + + 23, 23 System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + toolStripSeparator10 + 7 @@ -759,12 +765,6 @@ 713, 22 - - Play from &top - - - x6 - Magenta @@ -780,11 +780,8 @@ System.Windows.Forms.SplitterPanel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 1 - - - 2 + + System.Windows.Forms.ToolStripSeparator, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 299 @@ -792,8 +789,8 @@ label現在のチップ種別 - - 1/48 + + toolStripMenuItemファイル Cu&t @@ -801,14 +798,17 @@ + + System.Windows.Forms.ToolStripButton, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + 0, 50 Open a file - - System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + Sound Delay [ms] (auto find) System.Windows.Forms.ToolTip, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 @@ -816,8 +816,8 @@ toolStripSeparator8 - - statusStripステータスバー + + 37, 20 23, 23 @@ -825,8 +825,8 @@ 0 - - 3 + + toolStripMenuItemすべて選択 Cut selected chip(s) @@ -834,30 +834,46 @@ 166, 22 + + toolStripMenuItemガイド間隔 + System.Windows.Forms.PictureBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + toolStripMenuItem選択チップの貼り付け + toolStripMenuItem元に戻す + + System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + toolStripButton新規作成 - - 6, 26 + + S&ave as ... - - Delete selected chip(s) + + Free + + + $this + + + labelCurrentChipType 145, 24 + + Chip type of current lane : +(Change to hit SPACE key) + 1/6 - - NoControl - System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 @@ -876,18 +892,15 @@ 218, 22 - - 166, 22 + + toolStripButton先頭から再生 - - Del + + Ctrl+O 17 - - NoControl - statusStrip1 @@ -900,8 +913,11 @@ toolStripMenuItemツール - - 23, 23 + + + + + 6 System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 @@ -912,27 +928,24 @@ 192, 22 - - - - - 6 + + True + + Part# + 8, 325 - - 41, 20 + + &Play 63, 12 - - 1/128 - toolStripComboBox譜面拡大率 @@ -942,8 +955,14 @@ False - - tabPage基本情報 + + + + + System.Windows.Forms.ToolStripButton, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Save to file 6 @@ -984,14 +1003,14 @@ 1/12 - - 1 + + 1/16 1/6 - - tabPage基本情報 + + System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 @@ -1017,8 +1036,8 @@ toolStripComboBoxガイド間隔 - - Description + + System.Windows.Forms.StatusStrip, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 toolStripSeparator12 @@ -1035,18 +1054,15 @@ System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - Ctrl+V + + toolStripMenuItemヘルプ + 9 - - 157, 22 - 157, 22 @@ -1059,8 +1075,8 @@ F7 - - 696, 603 + + Create a new file &Open ... @@ -1068,9 +1084,6 @@ toolStripButton削除 - - 75, 26 - 8, 214 @@ -1083,8 +1096,8 @@ 166, 22 - - 166, 22 + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 @@ -1092,8 +1105,8 @@ labelメモ小節単位 - - 8, 167 + + Default System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 @@ -1101,20 +1114,20 @@ Current volue of chip (smallest:1 - 4:largest) + + &Undo + F4 - - S&ave as ... + + NoControl Ctrl+F - - False - - - toolStripButton現在位置からBGMのみ再生 + + toolStripMenuItemやり直す toolStripSeparator13 @@ -1122,63 +1135,51 @@ Magenta - - toolStripLabel音量 - False System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - Magenta - 10, 24 System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - &Guide margin + + False 2 - - 10, 182 - 23, 23 toolStripMenuItem先頭から再生 + + System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + toolStripButtonやり直す - - 10, 61 - 5 Copy selected chip(s) - - 129, 6 - - - toolStripSeparator1 - 44, 20 6, 26 + + 4 (Normal) + BGV (auto find) @@ -1188,6 +1189,9 @@ System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + System.Windows.Forms.ToolStripSeparator, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + Change part length(&B) @@ -1203,8 +1207,8 @@ Right - - x10 + + &Copy x9 @@ -1212,8 +1216,8 @@ toolStripMenuItemガイド間隔拡大 - - $this + + x6 x5 @@ -1236,14 +1240,14 @@ x3 - - False + + &Help Fill - - &Undo + + 166, 22 System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 @@ -1260,9 +1264,6 @@ System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - F8 - False @@ -1272,9 +1273,6 @@ System.Windows.Forms.ToolStripButton, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - splitContainer分割パネルコンテナ - 0, 30 @@ -1284,8 +1282,8 @@ System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + toolStripMenuItem編集モード 166, 22 @@ -1293,11 +1291,11 @@ toolStripMenuItemガイド間隔64分 - - toolStripButton音量UP + + 1 - - 218, 22 + + 696, 603 System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 @@ -1317,26 +1315,23 @@ 145, 22 - - 1/16 + + Magenta - - 8 + + 2 1/12 - - pictureBox譜面パネル - - - System.Windows.Forms.ToolStripSeparator, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 75, 26 0 - - textBox背景動画 + + 1 toolStripMenuItem選択モード @@ -1347,8 +1342,8 @@ 166, 22 - - Cu&t selected chip(s) + + toolStripMenuItemガイド間隔6分 System.Windows.Forms.ToolStripSeparator, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 @@ -1383,8 +1378,8 @@ Paste chip(s) - - System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 1/48 132, 22 @@ -1392,11 +1387,11 @@ Fill - - System.Windows.Forms.ToolStripSeparator, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + Cu&t selected chip(s) - - menuStripメニューバー + + 10, 61 1 @@ -1404,11 +1399,14 @@ True - - 37, 20 + + 23, 23 - - System.Windows.Forms.ToolStripButton, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + + + Del 8, 46 @@ -1419,11 +1417,11 @@ tabPage基本情報 - - toolStripMenuItem現在位置からBGMのみ再生 + + NoControl - - 23, 23 + + System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 1/8 @@ -1458,32 +1456,29 @@ False - - System.Windows.Forms.ToolStripSeparator, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 23, 23 - - volume down + + 192, 22 - - toolStripMenuItemガイド間隔128分 + + F8 splitContainer分割パネルコンテナ.Panel2 - - &Delete selected chip(s) - - - x3.75 + + 23, 23 - - False + + Description System.Windows.Forms.SplitContainer, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 80, 23 + + System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 System.Windows.Forms.ToolStripButton, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 @@ -1491,35 +1486,35 @@ contextMenuStrip譜面右メニュー - - 157, 22 - - - 6, 26 + + 192, 22 16 - - + + False x3.5 + + pictureBox譜面パネル + System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 True - - Sound Delay [ms] (auto find) + + 132, 22 44, 20 - - toolStripMenuItemガイド間隔6分 + + toolStripButton貼り付け tabPage基本情報 @@ -1530,12 +1525,15 @@ 2 - - F3 + + &Option System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 189, 6 + MiddleLeft @@ -1569,23 +1567,23 @@ System.Windows.Forms.ToolStripComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - &Play + + tabPage基本情報 System.Windows.Forms.ToolStripSeparator, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - Ctrl+O + + tabControl情報タブコンテナ - - toolStripMenuItemオプション + + 1 696, 50 - - System.Windows.Forms.StatusStrip, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 8 Magenta @@ -1599,12 +1597,12 @@ Right + + 41, 20 + 23, 23 - - True - toolStripButton上書き保存 @@ -1614,14 +1612,14 @@ System.Windows.Forms.ToolStripSeparator, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - toolStripMenuItemヘルプ + + statusStripステータスバー - - x4 + + tabPage基本情報 - - System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + toolStripMenuItemガイド間隔128分 6, 12 @@ -1635,8 +1633,8 @@ 0, 0 - - toolStripMenuItem切り取り + + 189, 6 System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 @@ -1647,14 +1645,14 @@ 1/8 - - System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 3 192, 22 - - &Mode change + + Delete selected chip(s) 1/4 @@ -1662,39 +1660,42 @@ 20 - - System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 4 7 - - 1 + + Search(&F) 713, 26 - - 23, 23 + + 1/64 Play &BGM from current part - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + x3.75 - - 4 (Normal) + + 80, 23 - - 23, 23 + + splitContainer分割パネルコンテナ - - toolStripMenuItemガイド間隔 + + 166, 22 23, 23 + + 218, 22 + System.Windows.Forms.ToolStripComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 @@ -1704,35 +1705,35 @@ 1/4 - - Part# + + Play from &top - - System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + menuStripメニューバー tabPage基本情報 + + + toolStripMenuItem編集 System.Windows.Forms.ToolStripButton, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 132, 22 - - - tabPage基本情報 + + 6, 26 $this - - toolStripMenuItem表示 + + toolStripButton音量UP - - 192, 22 + + &Delete selected chip(s) Ctrl+A @@ -1746,23 +1747,29 @@ 2 + + 275, 19 + 274, 71 163, 6 - - textBox説明 + + toolStripSeparator2 + + + toolStripSeparator15 - - toolStripSeparator10 + + 1/128 - - System.Windows.Forms.MenuStrip, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + toolStripSeparator5 toolStripMenuItem新規作成 @@ -1776,17 +1783,14 @@ toolStripMenuItemガイド間隔12分 - - System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - 132, 22 - - System.Windows.Forms.ToolStripSeparator, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - + + $this &Paste chip(s) @@ -1806,11 +1810,8 @@ 39, 20 - - toolStripMenuItemガイド間隔フリー - - - toolStripMenuItemすべて選択 + + tabPage基本情報 &Insert part @@ -1818,23 +1819,23 @@ System.Windows.Forms.TabControl, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 132, 22 - - + System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 6, 26 - - System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + x10 - - System.Windows.Forms.ToolStripSeparator, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + Play from top with a viewer - - 17, 603 + + toolStripButton現在位置からBGMのみ再生 + + + NoControl &Narrow @@ -1845,20 +1846,20 @@ 299, 603 - - + + System.Windows.Forms.ToolStripSeparator, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 275, 19 + + 212, 322 - - toolStripMenuItemファイル + + System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 F5 - - 192, 22 + + 10, 182 3 @@ -1866,11 +1867,11 @@ toolStripMenuItemガイド間隔4分 - - 218, 22 + + labelメモ用小節番号 - - System.Windows.Forms.ToolStripButton, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 157, 22 label説明 @@ -1878,8 +1879,8 @@ toolStripMenuItemガイド間隔16分 - - 193, 198 + + F3 x4 @@ -1896,17 +1897,17 @@ System.Windows.Forms.ToolStripSeparator, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - toolStripButton先頭から再生 + + toolStripMenuItem現在位置からBGMのみ再生 - - 3, 3, 3, 3 + + 132, 22 - - toolStripSeparator2 + + 41, 20 - - &Option + + toolStripLabel音量 toolStripMenuItem検索 @@ -1914,8 +1915,8 @@ Ctrl+X - - 189, 6 + + 132, 22 132, 22 @@ -1926,26 +1927,26 @@ Magenta - - toolStripMenuItem削除 + + 129, 6 - - labelCurrentChipType + + 23, 23 System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - System.Windows.Forms.ToolStripButton, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + Magenta - - toolStripMenuItem選択チップの貼り付け + + System.Windows.Forms.ToolStripLabel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 vScrollBar譜面用垂直スクロールバー - - 189, 6 + + toolStripMenuItemガイド間隔32分 toolStripMenuItem選択チップの切り取り @@ -1953,11 +1954,11 @@ 8 - - toolStripMenuItemガイド間隔48分 + + Magenta - - Create a new file + + System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 3 @@ -1965,27 +1966,26 @@ splitContainer分割パネルコンテナ - - Chip type of current lane : -(Change to hit SPACE key) + + NoControl toolStripButton1 - - Free + + 8, 167 132, 22 - - + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - Magenta + + toolStripMenuItemガイド間隔フリー - - + + toolStripSeparator3 System.Windows.Forms.ToolStripButton, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 @@ -1999,8 +1999,8 @@ toolStripMenuItem選択チップの削除 - - 41, 20 + + tabPage基本情報 F6 @@ -2011,20 +2011,20 @@ System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - $this + + toolStripSeparator1 6, 26 - - 1 + + textBox説明 369, 17 - - ja-JP + + 0, 653 0, 26 @@ -2032,13 +2032,10 @@ True - - 0, 0 - 548, 17 - - 0, 653 + + 0, 0 \ No newline at end of file diff --git a/StrokeStyleT/StrokeStyleT.csproj b/StrokeStyleT/StrokeStyleT.csproj index 87c9c6d..6229455 100644 --- a/StrokeStyleT/StrokeStyleT.csproj +++ b/StrokeStyleT/StrokeStyleT.csproj @@ -98,6 +98,7 @@ + @@ -400,6 +401,9 @@ + + PreserveNewest + PreserveNewest diff --git a/StrokeStyleT/images/コンソールフォント白16x32.png b/StrokeStyleT/images/コンソールフォント白16x32.png new file mode 100644 index 0000000..3c1d716 Binary files /dev/null and b/StrokeStyleT/images/コンソールフォント白16x32.png differ diff --git a/StrokeStyleT/ステージ/コンソールフォント.cs b/StrokeStyleT/ステージ/コンソールフォント.cs new file mode 100644 index 0000000..1cfb691 --- /dev/null +++ b/StrokeStyleT/ステージ/コンソールフォント.cs @@ -0,0 +1,72 @@ +using System; +using System.Collections.Generic; +using System.Diagnostics; +using System.Linq; +using FDK; + +namespace SST.ステージ +{ + class コンソールフォント : FDK.Activity + { + public float 改行幅dpx => 32f; + + public float 文字幅dpx => 14f; // 画像では文字幅は 16px だが、表示するときはちょっと狭くする。 + + public コンソールフォント() + { + this.子リスト.Add( this._フォント白32x16 = new FDK.メディア.画像( @"$(Static)\images\コンソールフォント白16x32.png" ) ); + + this._文字の矩形領域 = new SharpDX.RectangleF[ 96 ]; + for( int i = 0; i < 96; i++ ) + { + this._文字の矩形領域[ i ] = new SharpDX.RectangleF( + x: ( i % 16 ) * 16, + y: ( i / 16 ) * 32, + width: 16, + height: 32 ); + } + } + + public void 描画する( FDK.メディア.デバイスリソース dr, float Xdpx, float Ydpx, string 描画する文字列, float 不透明度0to1 = 1f ) + { + if( null == this._フォント白32x16 ) + return; + + float 左端dpx = Xdpx; + + for( int i = 0; i < 描画する文字列.Length; i++ ) + { + char ch = 描画する文字列[ i ]; + + if( ch == '\n' ) + { + // (A) 改行 + Xdpx = 左端dpx; + Ydpx += 改行幅dpx; + } + else + { + int n = this._表記可能文字.LastIndexOf( ch ); + + if( 0 <= n ) + { + // (B) 通常文字 + this._フォント白32x16.描画する( dr, Xdpx, Ydpx, 不透明度0to1, 転送元矩形dpx: this._文字の矩形領域[ n ] ); + Xdpx += this._文字の矩形領域[ n ].Width; + } + else + { + // (C) 未対応文字 → 空白扱い + Xdpx += 文字幅dpx; + } + } + } + } + + private FDK.メディア.画像 _フォント白32x16 = null; + + private SharpDX.RectangleF[] _文字の矩形領域 = null; // [96] + + private readonly string _表記可能文字 = " !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ "; + } +} diff --git a/StrokeStyleT/ステージ/演奏/スクロール譜面.cs b/StrokeStyleT/ステージ/演奏/スクロール譜面.cs index 45461d1..e46e1e8 100644 --- a/StrokeStyleT/ステージ/演奏/スクロール譜面.cs +++ b/StrokeStyleT/ステージ/演奏/スクロール譜面.cs @@ -33,6 +33,7 @@ namespace SST.ステージ.演奏 public スクロール譜面() { this.子リスト.Add( this._チップ画像 = new 画像( @"$(Static)\images\Chips.png" ) ); + this.子リスト.Add( this._コンソールフォント = new コンソールフォント() ); } protected override void On活性化( デバイスリソース dr ) @@ -208,6 +209,8 @@ namespace SST.ステージ.演奏 private FDK.カウンタ.単純増加後反復カウンタ _チップアニメ = new FDK.カウンタ.単純増加後反復カウンタ(); + private SST.ステージ.コンソールフォント _コンソールフォント = null; + private readonly Dictionary _レーン種別toレーンフレーム左端からの相対X位置dpx = new Dictionary() { { SSTFormat.レーン種別.LeftCrash, +36f }, { SSTFormat.レーン種別.HiHat, +105f }, @@ -285,6 +288,25 @@ namespace SST.ステージ.演奏 // チップを1つ描画する。 if( チップ.可視 ) 描画アクション( dr, チップ, (float) y ); + + // 小節の先頭の場合。 + if( チップ.チップ種別 == SSTFormat.チップ種別.小節の先頭 ) + { + #region " 小節番号を表示する。" + //---------------- + string 小節番号文字列 = $"{チップ.小節番号}"; + + float 左位置dpx = 座標.レーンフレーム左端のX座標dpx + + this._レーン種別toレーンフレーム左端からの相対X位置dpx[ SSTFormat.レーン種別.LeftCrash ] + - 小節番号文字列.Length * this._コンソールフォント.文字幅dpx // 右そろえ + - 10f; // LeftCrash からのマージン + + float 上位置dpx = (float) y - this._コンソールフォント.改行幅dpx; + + this._コンソールフォント.描画する( dr, 左位置dpx, 上位置dpx, 小節番号文字列 ); + //---------------- + #endregion + } } } }