36 lines
561 B
C++
36 lines
561 B
C++
// Fill out your copyright notice in the Description page of Project Settings.
|
|
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "Styling/ISlateStyle.h"
|
|
|
|
/**
|
|
*
|
|
*/
|
|
class DTFLUXAPISTATUS_API FDTFluxStatusStyle
|
|
{
|
|
|
|
public:
|
|
static void RegisterStyle();
|
|
static void UnregisterStyle();
|
|
|
|
static void ReloadTextures();
|
|
|
|
static const ISlateStyle& Get()
|
|
{
|
|
return *StyleSet;
|
|
}
|
|
|
|
static const FName& GetStyleSetName()
|
|
{
|
|
return StyleSet->GetStyleSetName();
|
|
}
|
|
|
|
private:
|
|
static TSharedPtr<ISlateStyle> Create();
|
|
static TSharedPtr<ISlateStyle> StyleSet;
|
|
};
|
|
|
|
|