VJ Master 1.0
Real-time audio analysis and visualisation.
Loading...
Searching...
No Matches
ST_VJMasterToolbarCustomisation.h
1// Copyright (c) 2025 Aaron Trotter (ShaderTech). All Rights Reserved.
2
3#pragma once
4#include "IDetailCustomization.h"
5
6class ST_VJMASTEREDITOR_API FST_VJMasterToolbarCustomisation
7{
8public:
9 FST_VJMasterToolbarCustomisation();
10 ~FST_VJMasterToolbarCustomisation();
11
12 void Initialize();
13 void Shutdown();
14
15private:
16 void ExtendToolbar();
17 void FillToolbar(FToolBarBuilder& ToolbarBuilder);
18};
19
20class ST_VJMASTEREDITOR_API FST_VJMasterToolbarEdCMDs : public TCommands<FST_VJMasterToolbarEdCMDs>
21{
22public:
23 FST_VJMasterToolbarEdCMDs();
24
25 TSharedPtr<FUICommandList> VJMasterActions;
26
27 TSharedPtr<FUICommandInfo> Run_LogPlaybackDevices;
28 TSharedPtr<FUICommandInfo> Run_LogCaptureDevices;
29 TSharedPtr<FUICommandInfo> Run_LogInputMIDIDevices;
30 TSharedPtr<FUICommandInfo> Run_LogOutputMIDIDevices;
31
32 // TCommands interface
33 virtual void RegisterCommands() override;
34 // End of TCommands interface
35 static bool CanShowNonPlayWorldOnlyActions();
36 TSharedRef<SWidget> GeneratePlayMenuContent() const;
37
38 void MapActions() const;
39protected:
40 static bool HasPlayWorld();
41};