2020-10-20 09:57:33 -04:00
|
|
|
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
/* Dependencies
|
|
|
|
|
*****************************************************************************/
|
|
|
|
|
|
|
|
|
|
#include "CoreMinimal.h"
|
|
|
|
|
#include "Input/Reply.h"
|
|
|
|
|
#include "Widgets/SCompoundWidget.h"
|
2022-09-11 18:32:18 -04:00
|
|
|
#include "SVisualLogger.h"
|
2020-10-20 09:57:33 -04:00
|
|
|
#include "LogVisualizerPublic.h"
|
|
|
|
|
|
|
|
|
|
class SVisualLoggerBaseWidget : public SCompoundWidget
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
virtual bool SupportsKeyboardFocus() const override { return true; }
|
|
|
|
|
virtual FReply OnKeyDown(const FGeometry& MyGeometry, const FKeyEvent& InKeyEvent) override
|
|
|
|
|
{
|
|
|
|
|
return FLogVisualizer::Get().GetEvents().OnKeyboardEvent.Execute(MyGeometry, InKeyEvent);
|
|
|
|
|
}
|
|
|
|
|
};
|