A Demo Project for the UnrealEngineSDK
Loading...
Searching...
No Matches
CheckButtonWidget.cpp
Go to the documentation of this file.
1
// Copyright(c) Pixo Group. All Rights Reserved.
2
3
#include "
UI/CheckButtonWidget.h
"
4
5
void
UCheckButtonWidget::NativeOnInitialized
()
6
{
7
Super::NativeOnInitialized();
8
9
Type =
ButtonType::BT_CheckButton
;
10
}
11
12
void
UCheckButtonWidget::ChangeButtonState
(
const
bool
bState)
13
{
14
Super::ChangeButtonState(bState);
15
16
Border
->SetVisibility(bState ? ESlateVisibility::Visible : ESlateVisibility::Collapsed);
17
}
ButtonType::BT_CheckButton
@ BT_CheckButton
CheckButtonWidget.h
UCheckButtonWidget::ChangeButtonState
virtual void ChangeButtonState(const bool bState) override
Changes the state of the button .
Definition
CheckButtonWidget.cpp:12
UCheckButtonWidget::Border
UBorder * Border
UPROPERTY(BlueprintReadOnly, meta = (BindWidget))
Definition
CheckButtonWidget.h:28
UCheckButtonWidget::NativeOnInitialized
virtual void NativeOnInitialized() override
Definition
CheckButtonWidget.cpp:5
SDKDemo
Plugins
UnrealEngineSDK
PixoCore
Source
PixoCore
Private
UI
CheckButtonWidget.cpp
Generated
Wed Oct 9 2024 19:52:53
by Doxygen version
1.10.0