Files
FLESH/Source/FLESHEditor/Public/FLESHEditorStyle.h
2025-04-17 23:59:17 +08:00

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;
};