ExtContentBrowserStyle.h 999 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. // Copyright 2017-2021 marynate. All Rights Reserved.
  2. #pragma once
  3. #include "CoreMinimal.h"
  4. #include "Styling/SlateStyle.h"
  5. #include "IDocumentation.h"
  6. /** */
  7. class FExtContentBrowserStyle
  8. {
  9. public:
  10. static void Initialize();
  11. static void Shutdown();
  12. /** reloads textures used by slate renderer */
  13. static void ReloadTextures();
  14. /** @return The Slate style set for the Shooter game */
  15. static const ISlateStyle& Get();
  16. static FName GetStyleSetName();
  17. static FSlateFontInfo GetFontStyle(FName PropertyName, const ANSICHAR* Specifier = NULL);
  18. static FDocumentationStyle GetChangLogDocumentationStyle();
  19. public:
  20. // For debug
  21. static FLinearColor CustomContentBrowserBorderBackgroundColor;
  22. static FLinearColor CustomToolbarBackgroundColor;
  23. static FLinearColor CustomSourceViewBackgroundColor;
  24. static FLinearColor CustomAssetViewBackgroundColor;
  25. private:
  26. static TSharedRef< class FSlateStyleSet > Create();
  27. private:
  28. static TSharedPtr< class FSlateStyleSet > StyleInstance;
  29. };