A Demo Project for the UnrealEngineSDK
Loading...
Searching...
No Matches
UWBP_CustomButton_C.h
Go to the documentation of this file.
1#pragma once
12{
13public:
17 TEnumAsByte<EModifierKeys> ModifierKey;
19 FButtonStyle CustomStyle;
20
21protected:
23 UWidgetInteractionComponent* WidgetInteractor;
24 FButtonPressed ButtonPressed;
25 bool bCapsLock;
26
27private:
364 void ChangeTextCasing(); //"Change Text Casing"
535 void SetButtonText(); //"Set Button Text"
893 void ChangeTextToSymbols(); //"Change Text to Symbols"
1535 void EventGraph(); //"Event Graph"
1609 void ButtonPressed(); //"Button Pressed"
1610};
1611
A blueprint class with 5 graphs.
FText CurrentText
The button's currently set text.
FText UppercaseText
A button's uppercase text. (i.e. A)
FText SecondaryText
A button's secondary text. (i.e. 1,2,#)
UWidgetInteractionComponent * WidgetInteractor
Widget Interactor.
FButtonPressed ButtonPressed
Button Pressed.
bool bUseCustomStyle
Set this to true if you want to use a custom button styles.
TEnumAsByte< EModifierKeys > ModifierKey
caps lock, spacebar, enter button, etc).
FButtonStyle CustomStyle
If bUseCustomStyle is set to true, the style set in this variable will override the parent button's s...