3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/deps/core/utility/PropertyBag.h"
11namespace Json {
class Value; }
12namespace mce {
class Color; }
26 using PropertyChangedNotificationCallback = ::std::function<void(
27 ::std::weak_ptr<::UIControl>
const&,
35 using PropertyChangedNotificationInfoVector = ::std::vector<::UIPropertyBag::PropertyChangedNotificationInfo>;
37 using PropertyInfoList =
38 ::std::map<::std::string, ::std::vector<::UIPropertyBag::PropertyChangedNotificationInfo>, ::std::less<void>>;
46 ::std::map<::std::string, ::std::vector<::UIPropertyBag::PropertyChangedNotificationInfo>, ::std::less<void>>>
47 mPropertyChangedNotificationInfoMap;
63 ::std::string_view sourcePropertyName,
70 MCNAPI ::std::unique_ptr<::UIPropertyBag>
clone()
const;
73 ::std::string
const& sourcePropertyName,
74 ::std::string
const& targetPropertyName,
75 ::std::weak_ptr<::UIControl> targetControl,
77 ::std::weak_ptr<::UIControl>
const&,
86 MCNAPI
void set(::std::string_view key, ::glm::ivec2 gridSize);
88 MCNAPI
void set(::std::string_view key, ::glm::vec2 uv);
Definition PropertyBag.h:8
Definition UIPropertyBag.h:15
MCAPI void set(::std::string_view key, ::mce::Color color)
MCAPI void registerForPropertyChangedNotification(::std::string const &sourcePropertyName, ::std::string const &targetPropertyName, ::std::weak_ptr<::UIControl > targetControl, ::std::function< void(::std::weak_ptr<::UIControl > const &, ::std::string_view, ::Json::Value const &, ::UIPropertyBag::ContextObject)> callback)
MCAPI void set(::std::string_view key, ::glm::ivec2 gridSize)
static MCAPI void ** $vftable()
MCAPI void set(::std::string_view key, ::glm::vec2 uv)
MCAPI ::std::unique_ptr<::UIPropertyBag > clone() const
MCAPI void _handlePropertyChangedNotifications(::std::string_view sourcePropertyName, ::Json::Value const &newValue, ::UIPropertyBag::ContextObject context)
MCAPI void clearWeakRegistrations()
Definition UIPropertyBag.h:20
Definition UIPropertyBag.h:28