35 lines
644 B
C++
35 lines
644 B
C++
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "Styling/SlateStyle.h"
|
|
|
|
/**
|
|
* FLESH Editor Style
|
|
* Defines the visual style for the FLESH editor
|
|
*/
|
|
class FFLESHEditorStyle
|
|
{
|
|
public:
|
|
// Initialize the style
|
|
static void Initialize();
|
|
|
|
// Shutdown the style
|
|
static void Shutdown();
|
|
|
|
// Reload textures
|
|
static void ReloadTextures();
|
|
|
|
// Get the style set name
|
|
static FName GetStyleSetName();
|
|
|
|
// Get the instance
|
|
static const ISlateStyle& Get();
|
|
|
|
private:
|
|
// Create the style
|
|
static TSharedRef<FSlateStyleSet> Create();
|
|
|
|
// The instance
|
|
static TSharedPtr<FSlateStyleSet> StyleInstance;
|
|
};
|