using System.IO.Pipes;
using System.Linq;
using System.Windows.Forms;
-using FDK; // for string 拡張
+using FDK;
namespace SST
{
class StrokeStyleT
{
// グローバルリソース (static)
- public static SST.フォルダ フォルダ => ( StrokeStyleT.bs_フォルダ );
- public static FDK.入力.Keyboard キーボード入力 => ( StrokeStyleT.bs_キーボード入力 );
- public static FDK.入力.MidiIn MIDI入力 => ( StrokeStyleT.bs_MIDI入力 );
- public static FDK.メディア.サウンド.WASAPI排他.ExclusiveDevice Wasapiデバイス => ( StrokeStyleT.bs_Wasapiデバイス );
- public static Random 乱数 => ( StrokeStyleT.bs_乱数 );
- public static SST.ユーザ.ユーザ管理 ユーザ管理 => ( StrokeStyleT.bs_ユーザ管理 );
- public static SST.曲.曲ツリー管理 曲ツリー管理 => ( StrokeStyleT.bs_曲ツリー管理 );
- public static SSTFormat.スコア 演奏スコア { get; set; } = null;
- public static SST.設定.Config Config => ( StrokeStyleT.bs_Config );
- public static bool ビュアーモードである { get; set; } = false;
- public static bool ビュアーモードではない
- {
- get { return !StrokeStyleT.ビュアーモードである; }
- set { StrokeStyleT.ビュアーモードである = !value; }
- }
- public static ConcurrentQueue<SST.ステージ.演奏.ビュアーメッセージ> ビュアーメッセージキュー => ( StrokeStyleT.bs_ビュアーメッセージキュー );
+
+ public static SST.フォルダ フォルダ
+ => ( StrokeStyleT.bs_フォルダ );
+
+ public static FDK.入力.Keyboard キーボード入力
+ => ( StrokeStyleT.bs_キーボード入力 );
+
+ public static FDK.入力.MidiIn MIDI入力
+ => ( StrokeStyleT.bs_MIDI入力 );
+
public static void すべての入力デバイスをポーリングする()
{
// hack: 追加の入力デバイスができたら、ここにポーリングコードを追加すること。
StrokeStyleT.MIDI入力?.ポーリングする();
}
+ public static FDK.メディア.サウンド.WASAPI排他.ExclusiveDevice Wasapiデバイス
+ => ( StrokeStyleT.bs_Wasapiデバイス );
+
+ public static Random 乱数
+ => ( StrokeStyleT.bs_乱数 );
+
+ public static SST.ユーザ.ユーザ管理 ユーザ管理
+ => ( StrokeStyleT.bs_ユーザ管理 );
+
+ public static SST.曲.曲ツリー管理 曲ツリー管理
+ => ( StrokeStyleT.bs_曲ツリー管理 );
+
+ public static SSTFormat.スコア 演奏スコア { get; set; } = null;
+
+ public static SST.設定.Config Config
+ => ( StrokeStyleT.bs_Config );
+
+ public static bool ビュアーモードである
+ {
+ get;
+ set;
+ } = false;
+ public static bool ビュアーモードではない
+ {
+ get { return !StrokeStyleT.ビュアーモードである; }
+ set { StrokeStyleT.ビュアーモードである = !value; }
+ }
+
+ public static ConcurrentQueue<SST.ステージ.演奏.ビュアーメッセージ> ビュアーメッセージキュー
+ => ( StrokeStyleT.bs_ビュアーメッセージキュー );
+
static StrokeStyleT()
{
// フォルダ変数を真っ先に登録する。(ほかのメンバのコンストラクタでフォルダ変数を利用できるようにするため。)
} );
}
- protected SharpDX.Windows.RenderForm MainForm = null;
- protected enum ApplicationState
- {
- 起動,
- 進行描画,
- 終了,
- }
+ protected enum ApplicationState { 起動, 進行描画, 終了 }
protected ApplicationState State;
+ protected SharpDX.Windows.RenderForm MainForm = null;
protected SharpDX.Size2F 設計画面サイズdpx = SharpDX.Size2F.Empty;
+
protected FDK.メディア.デバイスリソース デバイスリソース = null;
protected SST.ステージ.ステージ 最初のダミーステージ = null;
protected SST.ステージ.起動.起動ステージ 起動ステージ = null;