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 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 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 ConcurrentQueue<SST.ステージ.演奏.ビュアーメッセージ> ビュアーメッセージキュー
+ => ( StrokeStyleT.bs_ビュアーメッセージキュー );
+
public static void すべての入力デバイスをポーリングする()
{
// hack: 追加の入力デバイスができたら、ここにポーリングコードを追加すること。
this.MainForm.AllowUserResizing = false; // ユーザはフォームサイズを変更できない。
this.MainForm.UserResized += フォームサイズが変更された;
}
-
public void Run()
{
Debug.Assert( null != this.MainForm );
}
protected SharpDX.Windows.RenderForm MainForm = null;
- protected enum ApplicationState
- {
- 起動,
- 進行描画,
- 終了,
- }
+ protected enum ApplicationState { 起動, 進行描画, 終了 }
protected ApplicationState State;
protected SharpDX.Size2F 設計画面サイズdpx = SharpDX.Size2F.Empty;
protected FDK.メディア.デバイスリソース デバイスリソース = null;