Files
UnrealEngineUWP/Engine/Source/Developer/LogVisualizer/Private/SVisualLoggerStatusView.h
sebastian kowalczyk 49aba11ae5 Optimizations to Visual Logger edytor tool:
Much faster filters due to Async framework, it's paraller now,
Optimizations to items rendered on sequencer,
Optimization to graphs rendered on canvas,
Changed as much as possible to event driven flot, to update data only when needed.

[CL 2670708 by sebastian kowalczyk in Main branch]
2015-08-27 05:21:28 -04:00

29 lines
1.1 KiB
C++

// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
#pragma once
class SVisualLoggerStatusView : public SVisualLoggerBaseWidget
{
public:
SLATE_BEGIN_ARGS(SVisualLoggerStatusView){}
SLATE_END_ARGS();
virtual ~SVisualLoggerStatusView();
void Construct(const FArguments& InArgs, const TSharedRef<FUICommandList>& InCommandList);
void ResetData();
protected:
void OnObjectSelectionChanged(const TArray<FName>& SelectedRows);
void OnItemSelectionChanged(const FVisualLoggerDBRow& DBRow, int32 ItemIndex);
void GenerateStatusData(const FVisualLogDevice::FVisualLogEntryItem&, bool bAddHeader);
TSharedRef<ITableRow> HandleGenerateLogStatus(TSharedPtr<struct FLogStatusItem> InItem, const TSharedRef<STableViewBase>& OwnerTable);
void OnLogStatusGetChildren(TSharedPtr<struct FLogStatusItem> InItem, TArray< TSharedPtr<FLogStatusItem> >& OutItems);
void OnExpansionChanged(TSharedPtr<FLogStatusItem> Item, bool);
protected:
TArray<FString> ExpandedCategories;
TSharedPtr< STreeView< TSharedPtr<FLogStatusItem> > > StatusItemsView;
TArray< TSharedPtr<FLogStatusItem> > StatusItems;
};