3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/deps/core/utility/PropertyBag.h"
11namespace Json {
class Value; }
12namespace mce {
class Color; }
28 ::ll::TypedStorage<4, 4, int> count;
36 ::ll::TypedStorage<8, 32, ::std::string> targetPropertyName;
37 ::ll::TypedStorage<8, 16, ::std::weak_ptr<::UIControl>> targetControl;
42 ::std::weak_ptr<::UIControl>
const&,
45 ::UIPropertyBag::ContextObject
52 PropertyChangedNotificationInfo& operator=(PropertyChangedNotificationInfo
const&);
53 PropertyChangedNotificationInfo();
58 MCAPI PropertyChangedNotificationInfo(::UIPropertyBag::PropertyChangedNotificationInfo
const&);
64 MCAPI
void* $ctor(::UIPropertyBag::PropertyChangedNotificationInfo
const&);
68 using PropertyChangedNotificationCallback = ::std::function<void(
69 ::std::weak_ptr<::UIControl>
const&,
72 ::UIPropertyBag::ContextObject
75 using PropertyChangedNotificationInfoVector = ::std::vector<::UIPropertyBag::PropertyChangedNotificationInfo>;
77 using PropertyInfoList =
78 ::std::map<::std::string, ::std::vector<::UIPropertyBag::PropertyChangedNotificationInfo>, ::std::less<void>>;
86 ::std::map<::std::string, ::std::vector<::UIPropertyBag::PropertyChangedNotificationInfo>, ::std::less<void>>>
87 mPropertyChangedNotificationInfoMap;
93 virtual ~UIPropertyBag();
99 MCAPI UIPropertyBag();
101 MCAPI
explicit UIPropertyBag(::Json::Value
const& jsonValue);
103 MCAPI
void _handlePropertyChangedNotifications(
104 ::std::string_view sourcePropertyName,
105 ::Json::Value
const& newValue,
106 ::UIPropertyBag::ContextObject context
109 MCAPI
void append(::UIPropertyBag
const& propertyBag);
111 MCAPI
void appendNoOverwrite(::UIPropertyBag
const& propertyBag);
113 MCAPI
void clearWeakRegistrations();
115 MCAPI
void registerForPropertyChangedNotification(
116 ::std::string
const& sourcePropertyName,
117 ::std::string
const& targetPropertyName,
118 ::std::weak_ptr<::UIControl> targetControl,
119 ::std::function<
void(
120 ::std::weak_ptr<::UIControl>
const&,
122 ::Json::Value
const&,
123 ::UIPropertyBag::ContextObject
127 MCAPI
void set(::std::string_view key, ::mce::Color color);
129 MCAPI
void set(::std::string_view key, ::glm::ivec2 gridSize);
131 MCAPI
void set(::std::string_view key, ::glm::vec2 uv);
139 MCAPI
void* $ctor(::Json::Value
const& jsonValue);
Definition PropertyBag.h:8
Definition UIPropertyBag.h:5
static MCAPI void ** $vftable()
Definition UIPropertyBag.h:14
Definition UIPropertyBag.h:16