mirror of
https://github.com/sinbad/StevesUEHelpers.git
synced 2025-02-23 17:45:23 +00:00
Expose more function to blueprints
This commit is contained in:
parent
d0bbcc6c69
commit
532ab9bc79
@ -24,23 +24,26 @@ public:
|
|||||||
// I'd love to make the above a drop-down but it's a lot of faff
|
// I'd love to make the above a drop-down but it's a lot of faff
|
||||||
// See Engine\Source\Editor\UMGEditor\Private\Customizations\WidgetNavigationCustomization.cpp
|
// See Engine\Source\Editor\UMGEditor\Private\Customizations\WidgetNavigationCustomization.cpp
|
||||||
// Specifically OnGenerateWidgetList
|
// Specifically OnGenerateWidgetList
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Set the current focus to the initial focus widget
|
* @brief Set the current focus to the initial focus widget
|
||||||
* @return Whether the focus was successfully set
|
* @return Whether the focus was successfully set
|
||||||
*/
|
*/
|
||||||
|
UFUNCTION(BlueprintCallable)
|
||||||
bool SetFocusToInitialWidget() const;
|
bool SetFocusToInitialWidget() const;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Try to restore focus to the previously focussed child
|
* @brief Try to restore focus to the previously focussed child
|
||||||
* @return Whether the focus was successfully set
|
* @return Whether the focus was successfully set
|
||||||
*/
|
*/
|
||||||
|
UFUNCTION(BlueprintCallable)
|
||||||
bool RestorePreviousFocus() const;
|
bool RestorePreviousFocus() const;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Try to save the currently focussed child as something that can be restored later.
|
* @brief Try to save the currently focussed child as something that can be restored later.
|
||||||
* @return Whether focus was saved
|
* @return Whether focus was saved
|
||||||
*/
|
*/
|
||||||
|
UFUNCTION(BlueprintCallable)
|
||||||
bool SavePreviousFocus();
|
bool SavePreviousFocus();
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user