35 lines
565 B
C
35 lines
565 B
C
|
|
// Fill out your copyright notice in the Description page of Project Settings.
|
|||
|
|
|
|||
|
|
#pragma once
|
|||
|
|
|
|||
|
|
#include "CoreMinimal.h"
|
|||
|
|
#include "Styling/ISlateStyle.h"
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
*
|
|||
|
|
*/
|
|||
|
|
class DTFLUXRACERESULT_API FDTFluxRaceResultStyle
|
|||
|
|
{
|
|||
|
|
|
|||
|
|
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;
|
|||
|
|
};
|