You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
WidgetReflector: Add support for GlobalInvalidation.
#rb vincent.gauthier [CL 14781816 by Patrick Boutot in ue5-main branch]
This commit is contained in:
@@ -77,18 +77,40 @@ public:
|
||||
virtual FText GetWidgetClippingText() const = 0;
|
||||
|
||||
/**
|
||||
* @return The bool indicating whether or not the widget we were initialized from reports as Focusable
|
||||
*/
|
||||
* @return The bool indicating whether or not the widget we were initialized from reports as Focusable
|
||||
*/
|
||||
virtual bool GetWidgetFocusable() const = 0;
|
||||
|
||||
/** Is the widget visible? */
|
||||
/**
|
||||
* @return The bool indicating whether or not the widget we were initialized from reports is visible
|
||||
*/
|
||||
virtual bool GetWidgetVisible() const = 0;
|
||||
|
||||
/**
|
||||
* @return The bool indicating whether or not the widget we were initialized from reports needs tick
|
||||
*/
|
||||
virtual bool GetWidgetNeedsTick() const = 0;
|
||||
|
||||
/**
|
||||
* @return The bool indicating whether or not the widget we were initialized from reports is volatile
|
||||
*/
|
||||
virtual bool GetWidgetIsVolatile() const = 0;
|
||||
|
||||
/**
|
||||
* @return The bool indicating whether or not the widget we were initialized from reports is volatile indirectly
|
||||
*/
|
||||
virtual bool GetWidgetIsVolatileIndirectly() const = 0;
|
||||
|
||||
/**
|
||||
* @return The bool indicating whether or not the widget we were initialized from reports has active timers
|
||||
*/
|
||||
virtual bool GetWidgetHasActiveTimers() const = 0;
|
||||
|
||||
/**
|
||||
* @return The bool indicating whether or not the widget we were initialized from reports is an Invalidation Root
|
||||
*/
|
||||
virtual bool GetWidgetIsInvalidationRoot() const = 0;
|
||||
|
||||
/**
|
||||
* The human readable location for widgets that are defined in C++ is the file and line number
|
||||
* The human readable location for widgets that are defined in UMG is the asset name
|
||||
@@ -240,6 +262,7 @@ public:
|
||||
virtual bool GetWidgetIsVolatile() const override;
|
||||
virtual bool GetWidgetIsVolatileIndirectly() const override;
|
||||
virtual bool GetWidgetHasActiveTimers() const override;
|
||||
virtual bool GetWidgetIsInvalidationRoot() const override;
|
||||
virtual FText GetWidgetReadableLocation() const override;
|
||||
virtual FString GetWidgetFile() const override;
|
||||
virtual int32 GetWidgetLineNumber() const override;
|
||||
@@ -296,6 +319,7 @@ public:
|
||||
virtual bool GetWidgetIsVolatile() const override;
|
||||
virtual bool GetWidgetIsVolatileIndirectly() const override;
|
||||
virtual bool GetWidgetHasActiveTimers() const override;
|
||||
virtual bool GetWidgetIsInvalidationRoot() const override;
|
||||
virtual FText GetWidgetReadableLocation() const override;
|
||||
virtual FString GetWidgetFile() const override;
|
||||
virtual int32 GetWidgetLineNumber() const override;
|
||||
@@ -334,7 +358,7 @@ private:
|
||||
/** The visibility string of the widget at the point it was passed to Initialize */
|
||||
FText CachedWidgetVisibilityText;
|
||||
|
||||
/** Is the widget visible? */
|
||||
/** The visible of the widget at the point it was passed to Initialize */
|
||||
bool bCachedWidgetVisible;
|
||||
|
||||
/** The focusability of the widget at the point it was passed to Initialize */
|
||||
@@ -351,6 +375,9 @@ private:
|
||||
|
||||
/** The active timer state of the widget at the point it was passed to Initialize */
|
||||
bool bCachedWidgetHasActiveTimers;
|
||||
|
||||
/** If the widget was an invalidation root at the point it was passed to Initialize */
|
||||
bool bCachedWidgetIsInvalidationRoot;
|
||||
|
||||
/** The enabled state of the widget at the point it was passed to Initialize */
|
||||
bool bCachedWidgetEnabled;
|
||||
@@ -500,6 +527,7 @@ public:
|
||||
static bool GetWidgetIsVolatile(const TSharedPtr<const SWidget>& InWidget);
|
||||
static bool GetWidgetIsVolatileIndirectly(const TSharedPtr<const SWidget>& InWidget);
|
||||
static bool GetWidgetHasActiveTimers(const TSharedPtr<const SWidget>& InWidget);
|
||||
static bool GetWidgetIsInvalidationRoot(const TSharedPtr<const SWidget>& InWidget);
|
||||
|
||||
/**
|
||||
* The human readable location for widgets that are defined in C++ is the file and line number
|
||||
|
||||
Reference in New Issue
Block a user