33 lines
887 B
C++
33 lines
887 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "Experimental/ZenServerInterface.h"
|
|
#include "ZenServiceInstanceManager.h"
|
|
#include "Templates/SharedPointer.h"
|
|
#include "Widgets/DeclarativeSyntaxSupport.h"
|
|
#include "Widgets/SBoxPanel.h"
|
|
#include "Widgets/SCompoundWidget.h"
|
|
#include "Widgets/SWidget.h"
|
|
|
|
class STORAGESERVERWIDGETS_API SZenCidStoreStatistics : public SCompoundWidget
|
|
{
|
|
SLATE_BEGIN_ARGS(SZenCidStoreStatistics)
|
|
: _ZenServiceInstance(nullptr)
|
|
{ }
|
|
|
|
SLATE_ATTRIBUTE(TSharedPtr<UE::Zen::FZenServiceInstance>, ZenServiceInstance);
|
|
|
|
SLATE_END_ARGS()
|
|
|
|
void Construct(const FArguments& InArgs);
|
|
|
|
private:
|
|
|
|
TSharedRef<SWidget> GetGridPanel();
|
|
|
|
EActiveTimerReturnType UpdateGridPanels(double InCurrentTime, float InDeltaTime);
|
|
|
|
SVerticalBox::FSlot* GridSlot = nullptr;
|
|
TAttribute<TSharedPtr<UE::Zen::FZenServiceInstance>> ZenServiceInstance;
|
|
}; |