UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
SlateStyleMacros.h File Reference

Go to the source code of this file.

Macros

#define IMAGE_BRUSH(RelativePath, ...)   FSlateImageBrush( RootToContentDir( RelativePath, TEXT(".png") ), __VA_ARGS__ )
 
#define BOX_BRUSH(RelativePath, ...)   FSlateBoxBrush( RootToContentDir( RelativePath, TEXT(".png") ), __VA_ARGS__ )
 
#define BORDER_BRUSH(RelativePath, ...)   FSlateBorderBrush( RootToContentDir( RelativePath, TEXT(".png") ), __VA_ARGS__ )
 
#define IMAGE_BRUSH_SVG(RelativePath, ...)   FSlateVectorImageBrush(RootToContentDir(RelativePath, TEXT(".svg")), __VA_ARGS__)
 
#define BOX_BRUSH_SVG(RelativePath, ...)   FSlateVectorBoxBrush(RootToContentDir(RelativePath, TEXT(".svg")), __VA_ARGS__)
 
#define BORDER_BRUSH_SVG(RelativePath, ...)   FSlateVectorBorderBrush(RootToContentDir(RelativePath, TEXT(".svg")), __VA_ARGS__)
 
#define CORE_IMAGE_BRUSH(RelativePath, ...)   FSlateImageBrush( RootToCoreContentDir( RelativePath, TEXT(".png") ), __VA_ARGS__ )
 
#define CORE_BOX_BRUSH(RelativePath, ...)   FSlateBoxBrush( RootToCoreContentDir( RelativePath, TEXT(".png") ), __VA_ARGS__ )
 
#define CORE_BORDER_BRUSH(RelativePath, ...)   FSlateBorderBrush( RootToCoreContentDir( RelativePath, TEXT(".png") ), __VA_ARGS__ )
 
#define CORE_IMAGE_BRUSH_SVG(RelativePath, ...)   FSlateVectorImageBrush(RootToCoreContentDir(RelativePath, TEXT(".svg")), __VA_ARGS__)
 
#define CORE_BOX_BRUSH_SVG(RelativePath, ...)   FSlateVectorBoxBrush(RootToCoreContentDir(RelativePath, TEXT(".svg")), __VA_ARGS__)
 
#define CORE_BORDER_BRUSH_SVG(RelativePath, ...)   FSlateVectorBorderBrush(RootToCoreContentDir(RelativePath, TEXT(".svg")), __VA_ARGS__)
 
#define DEFAULT_FONT(...)   FCoreStyle::GetDefaultFontStyle(__VA_ARGS__)
 
#define REGULAR_ICON_FONT(...)   FCoreStyle::GetRegularIconFontStyle(__VA_ARGS__)
 

Macro Definition Documentation

◆ BORDER_BRUSH

#define BORDER_BRUSH (   RelativePath,
  ... 
)    FSlateBorderBrush( RootToContentDir( RelativePath, TEXT(".png") ), __VA_ARGS__ )

◆ BORDER_BRUSH_SVG

#define BORDER_BRUSH_SVG (   RelativePath,
  ... 
)    FSlateVectorBorderBrush(RootToContentDir(RelativePath, TEXT(".svg")), __VA_ARGS__)

◆ BOX_BRUSH

#define BOX_BRUSH (   RelativePath,
  ... 
)    FSlateBoxBrush( RootToContentDir( RelativePath, TEXT(".png") ), __VA_ARGS__ )

◆ BOX_BRUSH_SVG

#define BOX_BRUSH_SVG (   RelativePath,
  ... 
)    FSlateVectorBoxBrush(RootToContentDir(RelativePath, TEXT(".svg")), __VA_ARGS__)

◆ CORE_BORDER_BRUSH

#define CORE_BORDER_BRUSH (   RelativePath,
  ... 
)    FSlateBorderBrush( RootToCoreContentDir( RelativePath, TEXT(".png") ), __VA_ARGS__ )

◆ CORE_BORDER_BRUSH_SVG

#define CORE_BORDER_BRUSH_SVG (   RelativePath,
  ... 
)    FSlateVectorBorderBrush(RootToCoreContentDir(RelativePath, TEXT(".svg")), __VA_ARGS__)

◆ CORE_BOX_BRUSH

#define CORE_BOX_BRUSH (   RelativePath,
  ... 
)    FSlateBoxBrush( RootToCoreContentDir( RelativePath, TEXT(".png") ), __VA_ARGS__ )

◆ CORE_BOX_BRUSH_SVG

#define CORE_BOX_BRUSH_SVG (   RelativePath,
  ... 
)    FSlateVectorBoxBrush(RootToCoreContentDir(RelativePath, TEXT(".svg")), __VA_ARGS__)

◆ CORE_IMAGE_BRUSH

#define CORE_IMAGE_BRUSH (   RelativePath,
  ... 
)    FSlateImageBrush( RootToCoreContentDir( RelativePath, TEXT(".png") ), __VA_ARGS__ )

◆ CORE_IMAGE_BRUSH_SVG

#define CORE_IMAGE_BRUSH_SVG (   RelativePath,
  ... 
)    FSlateVectorImageBrush(RootToCoreContentDir(RelativePath, TEXT(".svg")), __VA_ARGS__)

◆ DEFAULT_FONT

#define DEFAULT_FONT (   ...)    FCoreStyle::GetDefaultFontStyle(__VA_ARGS__)

◆ IMAGE_BRUSH

#define IMAGE_BRUSH (   RelativePath,
  ... 
)    FSlateImageBrush( RootToContentDir( RelativePath, TEXT(".png") ), __VA_ARGS__ )

◆ IMAGE_BRUSH_SVG

#define IMAGE_BRUSH_SVG (   RelativePath,
  ... 
)    FSlateVectorImageBrush(RootToContentDir(RelativePath, TEXT(".svg")), __VA_ARGS__)

◆ REGULAR_ICON_FONT

#define REGULAR_ICON_FONT (   ...)    FCoreStyle::GetRegularIconFontStyle(__VA_ARGS__)