Update
This commit is contained in:
34
Source/FLESHEditor/Public/FLESHEditorStyle.h
Normal file
34
Source/FLESHEditor/Public/FLESHEditorStyle.h
Normal file
@@ -0,0 +1,34 @@
|
||||
#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;
|
||||
};
|
Reference in New Issue
Block a user