|
Stream Chat Unreal SDK
|
A button with an icon which can be disabled and themed. More...
#include <IconButton.h>
Inherits UStreamWidget.
Public Attributes | |
| UTexture2D * | IconTexture |
| UTexture2D * | DisabledIconTexture |
| FMargin | IconPadding |
| FName | IconPaletteColor = TEXT("text-high-emphasis") |
| FName | EnabledBackgroundColor = TEXT("accent-primary") |
| FName | DisabledBackgroundColor = TEXT("disabled") |
| bool | bEnabled = true |
| FOnButtonClickedEvent | OnClicked |
Protected Attributes | |
| UButton * | Button |
| UImage * | Icon |
| FButtonStyle | EnabledStyle |
| FButtonStyle | DisabledStyle |
A button with an icon which can be disabled and themed.
UMG disabling affects the style in a way which we can't control.
| FOnButtonClickedEvent UIconButton::OnClicked |
Called when the button is clicked