DeskSim v2 0.1
Train simulator prototype created for Lokførerskolen
Public Member Functions | Public Attributes | Protected Attributes | List of all members
UPopUpWidget Class Reference

Popup message class. More...

#include <PopUpWidget.h>

Inheritance diagram for UPopUpWidget:

Public Member Functions

 UPopUpWidget (const FObjectInitializer &ObjectInitializer)
 Loading the image sources used for the popup messages. More...
 
void SetPopUpType (EPopupType Type, FString Description)
 Setting the popup text and image from parameters. More...
 

Public Attributes

class UImage * PopupIcon
 Binding for image in popup widget.
 
class UTextBlock * PopupTitle
 Binding for title text in popup widget.
 
class UTextBlock * PopupDescription
 Binding for description text in popup widget.
 
class UButton * PopupOkButton
 Binding for OK button in popup widget.
 

Protected Attributes

TMap< EPopupType, UTexture2D * > Images
 The image to display.
 

Detailed Description

Popup message class.

Constructor & Destructor Documentation

◆ UPopUpWidget()

UPopUpWidget::UPopUpWidget ( const FObjectInitializer &  ObjectInitializer)

Loading the image sources used for the popup messages.

Parameters
ObjectInitializer

Member Function Documentation

◆ SetPopUpType()

void UPopUpWidget::SetPopUpType ( EPopupType  Type,
FString  Description 
)

Setting the popup text and image from parameters.

Parameters
Type- The popup type (message | warning | Critical)
Description- The message to display

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