A Demo Project for the UnrealEngineSDK
Loading...
Searching...
No Matches
SDialogueNodeOverlayWidget Class Reference

#include <SDialogueNodeOverlayWidget.h>

Inheritance diagram for SDialogueNodeOverlayWidget:
[legend]

Public Member Functions

void Construct (const FArguments &InArgs)
 
 DECLARE_DELEGATE_OneParam (FOnHoverStateChanged, bool)
 
 DECLARE_DELEGATE_RetVal_OneParam (FSlateColor, FOnGetBackgroundColor, bool)
 
FSlateColor GetBackgroundColor () const
 
void OnMouseEnter (const FGeometry &MyGeometry, const FPointerEvent &MouseEvent) override
 
void OnMouseLeave (const FPointerEvent &MouseEvent) override
 
 SLATE_BEGIN_ARGS (SDialogueNodeOverlayWidget)
 

Private Types

typedef SDialogueNodeOverlayWidget Self
 

Private Attributes

FOnGetBackgroundColor OnGetBackgroundColorEvent
 
FOnHoverStateChanged OnHoverStateChangedEvent
 
TSharedPtr< SWidget > OverlayBody
 

Detailed Description

Widget for overlaying another widget besides the node

Definition at line 8 of file SDialogueNodeOverlayWidget.h.

Member Typedef Documentation

◆ Self

Member Function Documentation

◆ Construct()

void SDialogueNodeOverlayWidget::Construct ( const FArguments & InArgs)

Definition at line 12 of file SDialogueNodeOverlayWidget.cpp.

Here is the call graph for this function:

◆ DECLARE_DELEGATE_OneParam()

SDialogueNodeOverlayWidget::DECLARE_DELEGATE_OneParam ( FOnHoverStateChanged ,
bool  )

Delegate event fired when the hover state of this widget changes

◆ DECLARE_DELEGATE_RetVal_OneParam()

SDialogueNodeOverlayWidget::DECLARE_DELEGATE_RetVal_OneParam ( FSlateColor ,
FOnGetBackgroundColor ,
bool  )

Delegate used to receive the background color of the node, depending on hover state and state of other siblings

◆ GetBackgroundColor()

FSlateColor SDialogueNodeOverlayWidget::GetBackgroundColor ( ) const
inline

Get the color we use to display the rounded border

Definition at line 42 of file SDialogueNodeOverlayWidget.h.

Here is the caller graph for this function:

◆ OnMouseEnter()

void SDialogueNodeOverlayWidget::OnMouseEnter ( const FGeometry & MyGeometry,
const FPointerEvent & MouseEvent )
inlineoverride

Definition at line 29 of file SDialogueNodeOverlayWidget.h.

◆ OnMouseLeave()

void SDialogueNodeOverlayWidget::OnMouseLeave ( const FPointerEvent & MouseEvent)
inlineoverride

Definition at line 35 of file SDialogueNodeOverlayWidget.h.

◆ SLATE_BEGIN_ARGS()

SDialogueNodeOverlayWidget::SLATE_BEGIN_ARGS ( SDialogueNodeOverlayWidget )
inline

Definition at line 19 of file SDialogueNodeOverlayWidget.h.

Member Data Documentation

◆ OnGetBackgroundColorEvent

FOnGetBackgroundColor SDialogueNodeOverlayWidget::OnGetBackgroundColorEvent
private

Delegate used to receive the color of the node, depending on hover state and state of other siblings

Definition at line 55 of file SDialogueNodeOverlayWidget.h.

◆ OnHoverStateChangedEvent

FOnHoverStateChanged SDialogueNodeOverlayWidget::OnHoverStateChangedEvent
private

Delegate event fired when the hover state of this widget changes

Definition at line 52 of file SDialogueNodeOverlayWidget.h.

◆ OverlayBody

TSharedPtr<SWidget> SDialogueNodeOverlayWidget::OverlayBody
private

The OverlayBody used for this widget

Definition at line 58 of file SDialogueNodeOverlayWidget.h.


The documentation for this class was generated from the following files: