Files
UnrealEngineUWP/Engine/Source/Developer/LogVisualizer/Private/VisualLoggerCanvasRenderer.h
sebastian kowalczyk 66816b0ffb Bunch of fixes for LogVisualizer and added two new features to this tool:
- Filters can be presistent even between editor sessions (option for this in settings)
- Option to filter logs by owner class

[CL 2392383 by sebastian kowalczyk in Main branch]
2014-12-18 08:37:06 -05:00

23 lines
756 B
C++

// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
#pragma once
struct FVisualLoggerCanvasRenderer
{
FVisualLoggerCanvasRenderer(TSharedPtr<IVisualLoggerInterface> InVisualLoggerInterface)
: VisualLoggerInterface(InVisualLoggerInterface)
{}
void DrawOnCanvas(class UCanvas* Canvas, class APlayerController*);
void OnItemSelectionChanged(const struct FVisualLogEntry& EntryItem);
void ObjectSelectionChanged(TSharedPtr<class STimeline> TimeLine);
protected:
void DrawHistogramGraphs(class UCanvas* Canvas, class APlayerController* );
private:
FVisualLogEntry SelectedEntry;
TWeakPtr<IVisualLoggerInterface> VisualLoggerInterface;
TMap<FString, TArray<FString> > UsedGraphCategories;
TWeakPtr<class STimeline> CurrentTimeLine;
};