![]() |
DeskSim v2 0.1
Train simulator prototype created for Lokførerskolen
|
Popup message class. More...
#include <PopUpWidget.h>
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... | |
Protected Attributes | |
TMap< EPopupType, UTexture2D * > | Images |
The image to display. | |
Popup message class.
UPopUpWidget::UPopUpWidget | ( | const FObjectInitializer & | ObjectInitializer | ) |
Loading the image sources used for the popup messages.
ObjectInitializer |
void UPopUpWidget::SetPopUpType | ( | EPopupType | Type, |
FString | Description | ||
) |
Setting the popup text and image from parameters.
Type | - The popup type (message | warning | Critical) |
Description | - The message to display |