#include <SingleMenuWithTabsWidget.h>
|
| virtual bool | Initialize () override |
| |
| virtual void | NativePreConstruct () override |
| |
| virtual void | NativeConstruct () override |
| |
| void | MenuButtonSelectedEvent (const int32 ButtonIndex, const int32 MenuIndex) |
| |
| void | TabButtonSelectedEvent (const int32 ButtonIndex) |
| |
| void | LogDebugError (const FString &Message) const |
| |
| void | LogDebugError (const FString &Message, const int32 Value) const |
| |
| void | LogDebugError (const FString &Message, const float Value) const |
| |
| void | LogDebugWarning (const FString &Message) const |
| |
| void | LogDebugWarning (const FString &Message, const int32 Value) const |
| |
| void | LogDebugWarning (const FString &Message, const float Value) const |
| |
| void | LogDebugMessage (const FString &Message, const bool bWarning=false, const bool bError=false) const |
| |
| void | LogDebugMessage (const FString &Message, const int32 Value, const bool bWarning=false, const bool bError=false) const |
| |
| void | LogDebugMessage (const FString &Message, const float Value, const bool bWarning=false, const bool bError=false) const |
| |
| void | LogDebugMessage (const FString &Message, const bool bValue, const bool bWarning, const bool bError) const |
| |
| void | LogOnScreenMessage (const int32 Key, const FString &Message, FColor Color=FColor::Green) const |
| |
| void | SetCategoryName (const FLogCategoryBase &Category) |
| |
◆ USingleMenuWithTabsWidget()
| USingleMenuWithTabsWidget::USingleMenuWithTabsWidget |
( |
const FObjectInitializer & | ObjectInitializer | ) |
|
12 : Super(ObjectInitializer)
13{
14 const ConstructorHelpers::FClassFinder<UUserWidget> SingleMenuBP(TEXT("/MenuSystem/Widgets/CommonUI/WBP_SingleMenu"));
15 if (!ensure(SingleMenuBP.Class != nullptr)) return;
17 const ConstructorHelpers::FClassFinder<UUserWidget> SelectionButtonBP(TEXT("/MenuSystem/Widgets/CommonUI/WBP_SelectionButton"));
18 if (!ensure(SelectionButtonBP.Class != nullptr)) return;
20}
◆ CreateSingleMenu()
| void USingleMenuWithTabsWidget::CreateSingleMenu |
( |
const int32 | Index | ) |
|
|
private |
94{
96 if(SingleMenu == nullptr){return;}
101}
◆ CreateTabButton()
| void USingleMenuWithTabsWidget::CreateTabButton |
( |
const int32 | Index | ) |
|
|
private |
104{
106 if(SelectionButton == nullptr){return;}
111}
◆ CreateTabButtons()
| void USingleMenuWithTabsWidget::CreateTabButtons |
( |
| ) |
|
63{
65
68 for(int32 i = 0; i <
TabMenus.Num(); i++)
69 {
70 if(
TabMenus[i].MenuTitle.IsEmpty()){
continue;}
73
74
75
76
77
78
79 }
80}
◆ Initialize()
| bool USingleMenuWithTabsWidget::Initialize |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ MenuButtonSelected()
| void USingleMenuWithTabsWidget::MenuButtonSelected |
( |
const int32 | ButtonIndex, |
|
|
const int32 | MenuIndex ) |
|
private |
◆ MenuButtonSelectedEvent()
| void USingleMenuWithTabsWidget::MenuButtonSelectedEvent |
( |
const int32 | ButtonIndex, |
|
|
const int32 | MenuIndex ) |
|
protected |
◆ NativeConstruct()
| void USingleMenuWithTabsWidget::NativeConstruct |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ NativePreConstruct()
| void USingleMenuWithTabsWidget::NativePreConstruct |
( |
| ) |
|
|
overrideprotectedvirtual |
51{
52 Super::NativePreConstruct();
54}
◆ TabButtonSelected()
| void USingleMenuWithTabsWidget::TabButtonSelected |
( |
const int32 | ButtonIndex | ) |
|
|
private |
◆ TabButtonSelectedEvent()
| void USingleMenuWithTabsWidget::TabButtonSelectedEvent |
( |
const int32 | ButtonIndex | ) |
|
|
protected |
◆ MenuPageIndex
| int32 USingleMenuWithTabsWidget::MenuPageIndex = 0 |
|
protected |
◆ MenuTabButtonsContainer
| class UStackBox* USingleMenuWithTabsWidget::MenuTabButtonsContainer = nullptr |
|
protected |
◆ SelectionButtonClass
| TSubclassOf<class UUserWidget> USingleMenuWithTabsWidget::SelectionButtonClass |
|
private |
◆ SingleMenuClass
| TSubclassOf<class UUserWidget> USingleMenuWithTabsWidget::SingleMenuClass |
|
private |
◆ TabMenus
| TArray<FSingleMenu> USingleMenuWithTabsWidget::TabMenus |
◆ WidgetSwitcher
| UWidgetSwitcher* USingleMenuWithTabsWidget::WidgetSwitcher = nullptr |
|
protected |
The documentation for this class was generated from the following files:
- T:/Unreal/Unreal Projects/SpaceAdventure52/SpaceAdventure/Plugins/MenuSystem/Source/MenuSystem/Public/Widgets/CommonUI/SingleMenuWithTabsWidget.h
- T:/Unreal/Unreal Projects/SpaceAdventure52/SpaceAdventure/Plugins/MenuSystem/Source/MenuSystem/Private/Widgets/CommonUI/SingleMenuWithTabsWidget.cpp