From e7c8cb01af3bd96db7a00437b59500beebc68ca2 Mon Sep 17 00:00:00 2001 From: Sebastian Pape <Sebastian.Pape@rwth-aachen.de> Date: Wed, 16 Oct 2019 16:20:25 +0200 Subject: [PATCH] Removed old stuff --- CAVELaunchButton.uplugin | 23 -- Resources/CAVEIcon_40x.png | Bin 5597 -> 0 bytes Resources/ROLVIcon_40x.png | Bin 710 -> 0 bytes .../CAVELaunchButton.Build.cs | 59 ------ .../Private/CAVELaunchButton.cpp | 200 ------------------ .../Private/CAVELaunchButtonCommands.cpp | 19 -- .../Private/CAVELaunchButtonStyle.cpp | 78 ------- .../Public/CAVELaunchButton.h | 33 --- .../Public/CAVELaunchButtonCommands.h | 23 -- .../Public/CAVELaunchButtonSettings.h | 56 ----- .../Public/CAVELaunchButtonStyle.h | 31 --- 11 files changed, 522 deletions(-) delete mode 100644 CAVELaunchButton.uplugin delete mode 100644 Resources/CAVEIcon_40x.png delete mode 100644 Resources/ROLVIcon_40x.png delete mode 100644 Source/CAVELaunchButton/CAVELaunchButton.Build.cs delete mode 100644 Source/CAVELaunchButton/Private/CAVELaunchButton.cpp delete mode 100644 Source/CAVELaunchButton/Private/CAVELaunchButtonCommands.cpp delete mode 100644 Source/CAVELaunchButton/Private/CAVELaunchButtonStyle.cpp delete mode 100644 Source/CAVELaunchButton/Public/CAVELaunchButton.h delete mode 100644 Source/CAVELaunchButton/Public/CAVELaunchButtonCommands.h delete mode 100644 Source/CAVELaunchButton/Public/CAVELaunchButtonSettings.h delete mode 100644 Source/CAVELaunchButton/Public/CAVELaunchButtonStyle.h diff --git a/CAVELaunchButton.uplugin b/CAVELaunchButton.uplugin deleted file mode 100644 index dd743ef..0000000 --- a/CAVELaunchButton.uplugin +++ /dev/null @@ -1,23 +0,0 @@ -{ - "FileVersion": 3, - "Version": 1, - "VersionName": "1.0", - "FriendlyName": "CAVELaunchButton", - "Description": "", - "Category": "Other", - "CreatedBy": "", - "CreatedByURL": "", - "DocsURL": "", - "MarketplaceURL": "", - "SupportURL": "", - "CanContainContent": true, - "IsBetaVersion": false, - "EnabledByDefault" : true, - "Modules": [ - { - "Name": "CAVELaunchButton", - "Type": "Editor", - "LoadingPhase": "Default" - } - ] -} \ No newline at end of file diff --git a/Resources/CAVEIcon_40x.png b/Resources/CAVEIcon_40x.png deleted file mode 100644 index cdcab78aa68bfdfe47fd266cf097495335691e86..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 5597 zcmeAS@N?(olHy`uVBq!ia0y~yV9)?z4mJh`hMs>rav2yHI14-?iy0WWg+Z8+Vb&Z8 z1_mzwOlRkSfQ<Z-{NjxK0tHWJXN7{I{ItxRR0f8MTXTccLxNw5*?zzG#mT#)VTyNt zkSK>jkW+Vq$V4?QMNR>)4#kBxMFS5Cy1KGRpIFer+}GF8BO0i~)5Udz{fXkDzUIXp zU8jCOtX`abZO`{-Xa8-zZufl6=ee8DvmfB#ndV^}XxhND(n(J6LG$q=#~wb>b7<sJ zDPR!b*qowR{8yQg;YXc~jkeMO_I(VD6_>d=7!LT(K42iz{-6Jq)65vgh8D&HB@->Y zIT}P59IE=9mN7WEF*eMdp%%=rfQ2F9baK*Th5%iL1oir7ml+!7{+L<K$Phh6QIv7P zL<R-n)D9Ph3~Pop=fk>O86pfAMAE#ESTfwuWiapzPxD~du$|$+IRWlX3>-WR27w)| znhY$}3<)Qcl`9xpW-^GleG0evsJ%|$xfTOM#mr4MJ5?-Q8>2aN3)#cN_2e|pd5UX` zm?bhL&T`N@R5?@9sL_P~!RIp!3=1ZT3O;E5{I}v9-@0?>%=)(R#p}M>&-Py_De3XQ zr{`A}I503gEUCNrPe*^VRD(5JL+-yts_$4b;<y)-e(z4(#P6_`VZqB=;hzgYVdJ`R z!p@sFpFVkV!|RAsbmFP-+JEVX;tz!X&G}hp^XL252m2nWG#bS=y0iRvaOlhzpQSSA zCvmnU-FepU{%1S)|39*qm5z8O?TpY8c^oKI*yl2<=d;mLrB0_wnnzVH{ZDyxU*|Wo z-F;J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Xon#@pibnlJ1H#^=-HRRYn4l{^8udrV3LAsej_@!=7{?j>|7!UJ3c)Z6g zr)R~tZ=I1PV(VARFY-0q)Ft%R;Emj?^~Vp%eMrwUNsiC6=8C$Lo<FZiEaCmpvN@Vr zY3lD6Znt8LSz-9N_wiK8IXh;#{?~cI9?$1@-7?CDuYdR2{C5`ClkPX1=Q_LN*N5e- z>+M+Vv`rp+)G@cI-BdmwTXWhZ;CANmZ!WI=?>~029(>!b?c^VqzTVk?4tM&i%@Ju0 zj@AVl*E@`#iiwyoPv@DZnZdT`U39^VMS{)3IXvYb=ld~Vi+qsLCRe}f)`O=)cM7~_ z%@4iIe)<Z}toG#>Z8jO*ohB)9mha8kHO?hRC5m39O;|balZW43o<-U^H-6{J_N1}z z(lyR|yuIhlgO^uyHg(<la9o@BzTU6cH5b}Dw_G!rcuZ>2vW;!KoR@5DTe50x%)(1j za~4I4g6K)BwzYNLInM8SIpXJYlWP;!mtLD27}V?i;s4D4d<^L&8c|DwcJVSWFfe$! L`njxgN@xNAaXomt diff --git a/Resources/ROLVIcon_40x.png b/Resources/ROLVIcon_40x.png deleted file mode 100644 index 8b79e58416229a9dea1599bcf973b9ceddb75cc2..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 710 zcmeAS@N?(olHy`uVBq!ia0y~yV9)?z4mJh`hMs>rav2yH*pj^6T^Rm@;DWu&Co?cG zReQQPhD5Z!o#yQ?oG8+E|D{j%Otu+L&fHsK#Ck+Jre}q$iMhn;df4w@qv6X{(Y-kb zH>6#i@q^hXC4EtjPfinWuc6zeq~okJvY4;l3R`l)NL<{s_brdY#hGP>=bw3>D^L40 z?|Y58gF6U3k5^zw$g+F2=|V-wlcS!FQ_g%9agpj^7Itmp=j%Qw{yk5nW982kuX`e+ z_Lr`_UG#QMZ&F6E?N`Nc4aH9nrT_nVJKgDHgM{Mwvv+DA?Z07Larv_A%-)pPql^tV zJ(3n|zNyftFnQ+uJm-nx>hA2hA$wb|7S&#Gn_6+uopVvjwMA?9C@9JJD<4YTFjtp> zK_*OUagOz|b}NU8ZL4b9%p3(&H!u9=-gx0wz2twD?cs+G74fXMe|GWu<0D^YuwPD= z`|@qahEq>J7FhP(iSyiOaA?28M5o5p%MBlgd}!)ueJXM5_HBa;x0lX1oV#?w*_4k7 zWh+jdbjaXcWi8RS+%agG@=->H+t*nSWw=x*>&_0od+_IS!!O^h5;t#?nf?9iZ#_HJ z$uoA_#&l*rO0e3`zwBmFlH#>6DeIlJkujz0&HeWeyx+^vW%aM;X(glf>h~K;o)@Vu z>ui=?>wDszn4gZy@5Kz(msPq~zk6`{Ywnt&${5S@a<j#2=Qm7GeIQ*Jk~GW0!tM&A zrv=OQsa8QU+h;bFoJc;DJN@j+cM1V^E2hsYROoU0Vr`w6yO43p?Oi{2>gZV<ZrT`f zKcn%2l*!I!$!^Z#&4(+tZfy2Y>U{D3?yC)#K5WXJQE=OFQp=<5vuuStCN<<A3EX<@ zAKOi-922Ry1#6Catryf?d3Qrgy`j=owY7KTL*q7TEneaZN(##l{$vf(P~RKKCB2h@ Pfq}u()z4*}Q$iB}GNw&u diff --git a/Source/CAVELaunchButton/CAVELaunchButton.Build.cs b/Source/CAVELaunchButton/CAVELaunchButton.Build.cs deleted file mode 100644 index af52f7f..0000000 --- a/Source/CAVELaunchButton/CAVELaunchButton.Build.cs +++ /dev/null @@ -1,59 +0,0 @@ -// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved. - -using UnrealBuildTool; - -public class CAVELaunchButton : ModuleRules -{ - public CAVELaunchButton(ReadOnlyTargetRules Target) : base(Target) - { - PCHUsage = ModuleRules.PCHUsageMode.UseExplicitOrSharedPCHs; - - PublicIncludePaths.AddRange( - new string[] { - // ... add public include paths required here ... - } - ); - - - PrivateIncludePaths.AddRange( - new string[] { - // ... add other private include paths required here ... - } - ); - - - PublicDependencyModuleNames.AddRange( - new string[] - { - "Core", - // ... add other public dependencies that you statically link with here ... - } - ); - - - PrivateDependencyModuleNames.AddRange( - new string[] - { - "Projects", - "InputCore", - "UnrealEd", - "LevelEditor", - "CoreUObject", - "Engine", - "Slate", - "SlateCore", - "Sockets", - "Networking" - // ... add private dependencies that you statically link with here ... - } - ); - - - DynamicallyLoadedModuleNames.AddRange( - new string[] - { - // ... add any modules that your module loads dynamically here ... - } - ); - } -} diff --git a/Source/CAVELaunchButton/Private/CAVELaunchButton.cpp b/Source/CAVELaunchButton/Private/CAVELaunchButton.cpp deleted file mode 100644 index 038ffc1..0000000 --- a/Source/CAVELaunchButton/Private/CAVELaunchButton.cpp +++ /dev/null @@ -1,200 +0,0 @@ -// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved. -#include "CAVELaunchButton.h" - -#include <string> - -#include "CAVELaunchButtonStyle.h" -#include "CAVELaunchButtonSettings.h" -#include "CAVELaunchButtonCommands.h" -#include "Misc/MessageDialog.h" -#include "Framework/MultiBox/MultiBoxBuilder.h" -#include "IPluginManager.h" -#include "Misc/EngineVersion.h" -#include "Networking.h" - -#include "LevelEditor.h" - -#define LOCTEXT_NAMESPACE "FCAVELaunchButtonModule" - -void FCAVELaunchButtonModule::StartupModule() -{ - // This code will execute after your module is loaded into memory; the exact timing is specified in the .uplugin file per-module - - FCAVELaunchButtonStyle::Initialize(); - FCAVELaunchButtonStyle::ReloadTextures(); - - FCAVELaunchButtonCommands::Register(); - - PluginCommands = MakeShareable(new FUICommandList); - - PluginCommands->MapAction( - FCAVELaunchButtonCommands::Get().PluginAction, - FExecuteAction::CreateRaw(this, &FCAVELaunchButtonModule::PluginButtonClicked), - FCanExecuteAction()); - - FLevelEditorModule& LevelEditorModule = FModuleManager::LoadModuleChecked<FLevelEditorModule>("LevelEditor"); - - { - TSharedPtr<FExtender> ToolbarExtender = MakeShareable(new FExtender); - ToolbarExtender->AddToolBarExtension("Game", EExtensionHook::First, PluginCommands, FToolBarExtensionDelegate::CreateRaw(this, &FCAVELaunchButtonModule::AddToolbarExtension)); - - LevelEditorModule.GetToolBarExtensibilityManager()->AddExtender(ToolbarExtender); - } -} - -void FCAVELaunchButtonModule::ShutdownModule() -{ - // This function may be called during shutdown to clean up your module. For modules that support dynamic reloading, - // we call this function before unloading the module. - FCAVELaunchButtonStyle::Shutdown(); - - FCAVELaunchButtonCommands::Unregister(); -} - -void FCAVELaunchButtonModule::PluginButtonClicked() -{ -// minimize the root window to provide max performance for the preview. -TSharedPtr<SWindow> RootWindow = FGlobalTabmanager::Get()->GetRootWindow(); -if (RootWindow.IsValid()) RootWindow->Minimize(); - -#if PLATFORM_WINDOWS - const UCAVELaunchButtonSettings* Settings = GetDefault<UCAVELaunchButtonSettings>(); - - if (Settings->StartROLVInsteadOfCAVE) { - - FString EditorExecutable = "UE4Editor.exe"; - FString Parameters = "\"" + FPaths::GetProjectFilePath() + "\" -game -dc_cluster -nosplash -fixedseed -dx11 -dc_dev_side_by_side dc_cfg=\"" + Settings->RolvConfig.FilePath + "\" -notexturestreaming -fullscreen dc_node=node_main -log ABSLOG=" + FPaths::ProjectDir() + "\\ROLV_Launch.log"; - - FProcHandle VRPN; - ProjectorDisplayType modeFromBefore; - if (Settings->StartVRPN) VRPN = FPlatformProcess::CreateProc(*Settings->VRPNPath.FilePath, *FString("-f \"" + Settings->VRPNConfigPath.FilePath + "\" -millisleep 0"), false, false, false, NULL, 0, NULL, NULL); - if (Settings->StartDTrack) SendToDTrack(Settings->DTrackIP, Settings->DTrackPort, "dtrack2 tracking start\0"); - if (Settings->SwitchBeamer) modeFromBefore = SwitchBeamerToState(Settings->BeamerIP, Settings->BeamerPort, Settings->BeamerType); - - FProcHandle instance = FPlatformProcess::CreateProc(*EditorExecutable, *(Parameters + " " + Settings->AdditionalParameters), true, false, false, NULL, 0, NULL, NULL); - FPlatformProcess::WaitForProc(instance); - - if (Settings->StartVRPN) FPlatformProcess::TerminateProc(VRPN); FPlatformProcess::CloseProc(VRPN); - if (Settings->StartDTrack) SendToDTrack(Settings->DTrackIP, Settings->DTrackPort, "dtrack2 tracking stop\0"); - if (Settings->SwitchBeamer && modeFromBefore != DisplayType_Error) SwitchBeamerToState(Settings->BeamerIP, Settings->BeamerPort, modeFromBefore); - } else { - FString Config = IPluginManager::Get().FindPlugin("CAVELaunchButton")->GetBaseDir() + "/LaunchConfig/minicave.cfg"; - FString EditorExecutable = "UE4Editor.exe"; - FString Parameters = "\"" + FPaths::GetProjectFilePath() + "\" -game -windowed -fixedseed -notexturestreaming -opengl4 dc_cfg=\"" + Config + "\" -dc_cluster -dc_dev_mono"; - - const int num_nodes = 5; - FString Windows_Node_Specific_Commands[num_nodes] = { - "dc_node=node_floor WinX=720 WinY=300 ResX=480 ResY=480 -log ABSLOG=" + FPaths::ProjectDir() + "\\MiniCaveMulti.log " + Settings->AdditionalParameters + " " + Settings->AdditionalParametersMaster, - "dc_node=node_front WinX=720 WinY=0 ResX=480 ResY=300 " + Settings->AdditionalParameters, - "dc_node=node_left WinX=420 WinY=300 ResX=300 ResY=480 " + Settings->AdditionalParameters, - "dc_node=node_right WinX=1200 WinY=300 ResX=300 ResY=480 " + Settings->AdditionalParameters, - "dc_node=node_back WinX=720 WinY=780 ResX=480 ResY=300 " + Settings->AdditionalParameters - }; - - FProcHandle processes[num_nodes]; - - for(int i = 0; i < num_nodes; i++){ - processes[i] = FPlatformProcess::CreateProc(*EditorExecutable, *(Parameters + " " + Windows_Node_Specific_Commands[i]), true, false, false, NULL, 0, NULL, NULL); - } - FPlatformProcess::WaitForProc(processes[num_nodes - 1]); - } -#elif PLATFORM_LINUX - FProcHandle process = FPlatformProcess::CreateProc(*FString("/home/av006de/demos_UNREAL/.misc/scripts/cave/launch_aixcave_editor.sh"), *("\"" + (FPaths::ConvertRelativePathToFull(FPaths::EngineDir()) + "Binaries/Linux/UE4Editor\" ") + FPaths::ConvertRelativePathToFull(FPaths::GetProjectFilePath()) + " " + FString::FromInt(FEngineVersion::Current().GetMajor()) + FString::FromInt(FEngineVersion::Current().GetMinor())), true, false, false, NULL, 0, NULL, NULL); - FPlatformProcess::WaitForProc(process); -#endif - - if (RootWindow.IsValid()) RootWindow->Maximize(); -} - -FSocket* openSocket(FString address, int port, FString socketName) { - FIPv4Address parsedAddress; - if (!FIPv4Address::Parse(address, parsedAddress)) { - UE_LOG(LogTemp, Error, TEXT("Could not parse Address %s"), *address); - return NULL; - } - - FIPv4Endpoint endpoint(parsedAddress, port); - FSocket* socket = FTcpSocketBuilder(*socketName); - if (!socket->Connect(endpoint.ToInternetAddr().Get())) - { - UE_LOG(LogTemp, Error, TEXT("Error connecting to server %s:%d via %s"), *address, port, *socketName); - socket->Close(); - return NULL; - } - return socket; -} - -int32 sendSocket(FSocket* socket, FString message) { - socket->Wait(ESocketWaitConditions::WaitForWrite, FTimespan::FromSeconds(5)); - std::string buffer = std::string(TCHAR_TO_UTF8(*message)); - int32 sent = 0; - if (!socket->Send((const uint8 *)buffer.c_str(), buffer.length(), sent)) - { - UE_LOG(LogTemp, Error, TEXT("Error sending via %s. Sent %d bytes"), *socket->GetDescription() , sent); - socket->Close(); - } - return sent; -} - -template<int32 bufferSize> FString receiveSocket(FSocket* socket) { - socket->Wait(ESocketWaitConditions::WaitForRead, FTimespan::FromSeconds(5)); - char receivebuffer[bufferSize]; - int bytesReceived = 0; - if (!socket->Recv((uint8*)&receivebuffer, bufferSize, bytesReceived)) { - UE_LOG(LogTemp, Error, TEXT("No valid response from %s. Response: '%s'"), *socket->GetDescription(), *FString(std::string(receivebuffer, bytesReceived).c_str())); - socket->Close(); - } - if (bytesReceived <= 0) return FString(""); - return FString(std::string(receivebuffer, bytesReceived).c_str()); -} - -void FCAVELaunchButtonModule::SendToDTrack(FString address, int port, FString message) { - FSocket* socket = openSocket(address, port, "DTrackSocket"); - if (!socket) return; - if (sendSocket(socket, message) <= 0) return; - FString response = receiveSocket<100>(socket); - if (response.Compare("dtrack2 ok") != 0) { - UE_LOG(LogTemp, Error, TEXT("DTrack Command Failed. Response: '%s'"), *response); - } - socket->Shutdown(ESocketShutdownMode::ReadWrite); - socket->Close(); -} - -//Returns old state -ProjectorDisplayType FCAVELaunchButtonModule::SwitchBeamerToState(FString address, int port, ProjectorDisplayType state) { - ProjectorDisplayType modeBefore = ProjectorDisplayType::DisplayType_Error; - FSocket* socket = openSocket(address, port, "BeamerSocket"); - if (!socket) return modeBefore; - - //Get mode from before - if (sendSocket(socket, ":TDSM ?\r") <= 0) return modeBefore; - FString response = receiveSocket<100>(socket); //%001 TDSM 000000 - - if (!response.IsEmpty()) { - int32 position = 0; - response.FindLastChar(' ', position); - modeBefore = (ProjectorDisplayType)FCString::Atoi(*response.RightChop(position)); - } - - if (response.IsEmpty() || sendSocket(socket, ":TDSM " + FString::FromInt(state) + "\r") <= 0) { - socket->Shutdown(ESocketShutdownMode::ReadWrite); - socket->Close(); - return modeBefore; - } - response = receiveSocket<100>(socket); - if (response.EndsWith(")")) { - UE_LOG(LogTemp, Error, TEXT("Beamer Type Change Failed. Response: '%s'"), *response); - } - socket->Shutdown(ESocketShutdownMode::ReadWrite); - socket->Close(); - return modeBefore; -} - -void FCAVELaunchButtonModule::AddToolbarExtension(FToolBarBuilder& Builder) -{ - Builder.AddToolBarButton(FCAVELaunchButtonCommands::Get().PluginAction); -} - -#undef LOCTEXT_NAMESPACE - -IMPLEMENT_MODULE(FCAVELaunchButtonModule, CAVELaunchButton) diff --git a/Source/CAVELaunchButton/Private/CAVELaunchButtonCommands.cpp b/Source/CAVELaunchButton/Private/CAVELaunchButtonCommands.cpp deleted file mode 100644 index 5836330..0000000 --- a/Source/CAVELaunchButton/Private/CAVELaunchButtonCommands.cpp +++ /dev/null @@ -1,19 +0,0 @@ -// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved. - -#include "CAVELaunchButtonCommands.h" -#include "CAVELaunchButtonSettings.h" - -#define LOCTEXT_NAMESPACE "FCAVELaunchButtonModule" - -void FCAVELaunchButtonCommands::RegisterCommands() -{ - if(GetDefault<UCAVELaunchButtonSettings>()->StartROLVInsteadOfCAVE) - { - UI_COMMAND(PluginAction, "PlayOnROLV", "Launch current project on ROLV", EUserInterfaceActionType::Button, FInputGesture()); - }else - { - UI_COMMAND(PluginAction, "PlayInCAVE", "Launch current project in CAVE", EUserInterfaceActionType::Button, FInputGesture()); - } -} - -#undef LOCTEXT_NAMESPACE diff --git a/Source/CAVELaunchButton/Private/CAVELaunchButtonStyle.cpp b/Source/CAVELaunchButton/Private/CAVELaunchButtonStyle.cpp deleted file mode 100644 index 2cb329f..0000000 --- a/Source/CAVELaunchButton/Private/CAVELaunchButtonStyle.cpp +++ /dev/null @@ -1,78 +0,0 @@ -// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved. - -#include "CAVELaunchButtonStyle.h" -#include "CAVELaunchButton.h" -#include "Framework/Application/SlateApplication.h" -#include "Styling/SlateStyleRegistry.h" -#include "Slate/SlateGameResources.h" -#include "Interfaces/IPluginManager.h" -#include "CAVELaunchButtonSettings.h" - -TSharedPtr< FSlateStyleSet > FCAVELaunchButtonStyle::StyleInstance = NULL; - -void FCAVELaunchButtonStyle::Initialize() -{ - if (!StyleInstance.IsValid()) - { - StyleInstance = Create(); - FSlateStyleRegistry::RegisterSlateStyle(*StyleInstance); - } -} - -void FCAVELaunchButtonStyle::Shutdown() -{ - FSlateStyleRegistry::UnRegisterSlateStyle(*StyleInstance); - ensure(StyleInstance.IsUnique()); - StyleInstance.Reset(); -} - -FName FCAVELaunchButtonStyle::GetStyleSetName() -{ - static FName StyleSetName(TEXT("CAVELaunchButtonStyle")); - return StyleSetName; -} - -#define IMAGE_BRUSH( RelativePath, ... ) FSlateImageBrush( Style->RootToContentDir( RelativePath, TEXT(".png") ), __VA_ARGS__ ) -#define BOX_BRUSH( RelativePath, ... ) FSlateBoxBrush( Style->RootToContentDir( RelativePath, TEXT(".png") ), __VA_ARGS__ ) -#define BORDER_BRUSH( RelativePath, ... ) FSlateBorderBrush( Style->RootToContentDir( RelativePath, TEXT(".png") ), __VA_ARGS__ ) -#define TTF_FONT( RelativePath, ... ) FSlateFontInfo( Style->RootToContentDir( RelativePath, TEXT(".ttf") ), __VA_ARGS__ ) -#define OTF_FONT( RelativePath, ... ) FSlateFontInfo( Style->RootToContentDir( RelativePath, TEXT(".otf") ), __VA_ARGS__ ) - -const FVector2D Icon16x16(16.0f, 16.0f); -const FVector2D Icon20x20(20.0f, 20.0f); -const FVector2D Icon40x40(40.0f, 40.0f); - -TSharedRef< FSlateStyleSet > FCAVELaunchButtonStyle::Create() -{ - TSharedRef< FSlateStyleSet > Style = MakeShareable(new FSlateStyleSet("CAVELaunchButtonStyle")); - Style->SetContentRoot(IPluginManager::Get().FindPlugin("CAVELaunchButton")->GetBaseDir() / TEXT("Resources")); - - if (GetDefault<UCAVELaunchButtonSettings>()->StartROLVInsteadOfCAVE) - { - Style->Set("CAVELaunchButton.PluginAction", new IMAGE_BRUSH(TEXT("ROLVIcon_40x"), Icon40x40)); - }else - { - Style->Set("CAVELaunchButton.PluginAction", new IMAGE_BRUSH(TEXT("CAVEIcon_40x"), Icon40x40)); - } - - return Style; -} - -#undef IMAGE_BRUSH -#undef BOX_BRUSH -#undef BORDER_BRUSH -#undef TTF_FONT -#undef OTF_FONT - -void FCAVELaunchButtonStyle::ReloadTextures() -{ - if (FSlateApplication::IsInitialized()) - { - FSlateApplication::Get().GetRenderer()->ReloadTextureResources(); - } -} - -const ISlateStyle& FCAVELaunchButtonStyle::Get() -{ - return *StyleInstance; -} diff --git a/Source/CAVELaunchButton/Public/CAVELaunchButton.h b/Source/CAVELaunchButton/Public/CAVELaunchButton.h deleted file mode 100644 index a35e554..0000000 --- a/Source/CAVELaunchButton/Public/CAVELaunchButton.h +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved. - -#pragma once - -#include "CoreMinimal.h" -#include "Modules/ModuleManager.h" -#include "CAVELaunchButtonSettings.h" - -class FToolBarBuilder; -class FMenuBuilder; - - -class FCAVELaunchButtonModule : public IModuleInterface -{ -public: - - /** IModuleInterface implementation */ - virtual void StartupModule() override; - virtual void ShutdownModule() override; - - /** This function will be bound to Command. */ - void PluginButtonClicked(); - - void SendToDTrack(FString address, int port, FString message); - ProjectorDisplayType SwitchBeamerToState(FString address, int port, ProjectorDisplayType state); - -private: - - void AddToolbarExtension(FToolBarBuilder& Builder); - -private: - TSharedPtr<class FUICommandList> PluginCommands; -}; diff --git a/Source/CAVELaunchButton/Public/CAVELaunchButtonCommands.h b/Source/CAVELaunchButton/Public/CAVELaunchButtonCommands.h deleted file mode 100644 index fbaffca..0000000 --- a/Source/CAVELaunchButton/Public/CAVELaunchButtonCommands.h +++ /dev/null @@ -1,23 +0,0 @@ -// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved. - -#pragma once - -#include "CoreMinimal.h" -#include "Framework/Commands/Commands.h" -#include "CAVELaunchButtonStyle.h" - -class FCAVELaunchButtonCommands : public TCommands<FCAVELaunchButtonCommands> -{ -public: - - FCAVELaunchButtonCommands() - : TCommands<FCAVELaunchButtonCommands>(TEXT("CAVELaunchButton"), NSLOCTEXT("Contexts", "CAVELaunchButton", "CAVELaunchButton Plugin"), NAME_None, FCAVELaunchButtonStyle::GetStyleSetName()) - { - } - - // TCommands<> interface - virtual void RegisterCommands() override; - -public: - TSharedPtr< FUICommandInfo > PluginAction; -}; diff --git a/Source/CAVELaunchButton/Public/CAVELaunchButtonSettings.h b/Source/CAVELaunchButton/Public/CAVELaunchButtonSettings.h deleted file mode 100644 index 7525296..0000000 --- a/Source/CAVELaunchButton/Public/CAVELaunchButtonSettings.h +++ /dev/null @@ -1,56 +0,0 @@ -#pragma once -#include "CoreMinimal.h" -#include "Engine/DeveloperSettings.h" -#include "CAVELaunchButtonSettings.generated.h" - -UENUM(BlueprintType) -enum ProjectorDisplayType -{ - DisplayType_Off = 0, - DisplayType_Frame_Sequential = 1, - DisplayType_Side_By_Side = 2, - DisplayType_DualHead = 3, - DisplayType_Error = 4 UMETA(Hidden) -}; - -UCLASS(config=Engine, defaultconfig, meta=(DisplayName="nDisplay Launch Button")) -class UCAVELaunchButtonSettings : public UDeveloperSettings -{ - GENERATED_BODY() -public: - - UPROPERTY(EditAnywhere, config, Category = LaunchParametersWindows) - FString AdditionalParameters = ""; - - UPROPERTY(EditAnywhere, config, Category = LaunchParametersWindows) - FString AdditionalParametersMaster = ""; - - UPROPERTY(EditAnywhere, config, Category = ROLV, meta = (ConfigRestartRequired = true)) - bool StartROLVInsteadOfCAVE = false; - - UPROPERTY(EditAnywhere, config, Category = ROLV) - FFilePath RolvConfig; - - UPROPERTY(EditAnywhere, config, Category = "ROLV|Beamer") - bool SwitchBeamer = true; - UPROPERTY(EditAnywhere, config, Category = "ROLV|Beamer", meta = (EditCondition = "SwitchBeamer")) - TEnumAsByte<ProjectorDisplayType> BeamerType; - UPROPERTY(EditAnywhere, config, Category = "ROLV|Beamer", meta = (EditCondition = "SwitchBeamer")) - FString BeamerIP; - UPROPERTY(EditAnywhere, config, Category = "ROLV|Beamer", meta = (EditCondition = "SwitchBeamer")) - int BeamerPort = 1025; - - UPROPERTY(EditAnywhere, config, Category = "ROLV|VRPN") - bool StartVRPN = true; - UPROPERTY(EditAnywhere, config, Category = "ROLV|VRPN", meta = (EditCondition = "StartVRPN")) - FFilePath VRPNPath; - UPROPERTY(EditAnywhere, config, Category = "ROLV|VRPN", meta = (EditCondition = "StartVRPN")) - FFilePath VRPNConfigPath; - - UPROPERTY(EditAnywhere, config, Category = "ROLV|DTRACK") - bool StartDTrack = true; - UPROPERTY(EditAnywhere, config, Category = "ROLV|DTRACK", meta= (EditCondition = "StartDTrack")) - FString DTrackIP; - UPROPERTY(EditAnywhere, config, Category = "ROLV|DTRACK", meta = (EditCondition = "StartDTrack")) - int DTrackPort = 50105; -}; diff --git a/Source/CAVELaunchButton/Public/CAVELaunchButtonStyle.h b/Source/CAVELaunchButton/Public/CAVELaunchButtonStyle.h deleted file mode 100644 index 617d0e7..0000000 --- a/Source/CAVELaunchButton/Public/CAVELaunchButtonStyle.h +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved. - -#pragma once - -#include "CoreMinimal.h" -#include "Styling/SlateStyle.h" - -class FCAVELaunchButtonStyle -{ -public: - - static void Initialize(); - - static void Shutdown(); - - /** reloads textures used by slate renderer */ - static void ReloadTextures(); - - /** @return The Slate style set for the Shooter game */ - static const ISlateStyle& Get(); - - static FName GetStyleSetName(); - -private: - - static TSharedRef< class FSlateStyleSet > Create(); - -private: - - static TSharedPtr< class FSlateStyleSet > StyleInstance; -}; -- GitLab