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();
68 using PropertyChangedNotificationCallback = ::std::function<void(
69 ::std::weak_ptr<::UIControl>
const&,
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();
102 ::std::string_view sourcePropertyName,
107 MCNAPI
void append(::UIPropertyBag
const& propertyBag);
114 ::std::string
const& sourcePropertyName,
115 ::std::string
const& targetPropertyName,
116 ::std::weak_ptr<::UIControl> targetControl,
117 ::std::function<
void(
118 ::std::weak_ptr<::UIControl>
const&,
127 MCNAPI
void set(::std::string_view key, ::glm::ivec2 gridSize);
129 MCAPI
void set(::std::string_view key, ::glm::vec2 uv);
Definition PropertyBag.h:8
Definition UIPropertyBag.h:5
MCAPI void set(::std::string_view key, ::mce::Color color)
MCAPI void append(::UIPropertyBag const &propertyBag)
MCAPI void set(::std::string_view key, ::glm::ivec2 gridSize)
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)> const callback)
MCAPI void appendNoOverwrite(::UIPropertyBag const &propertyBag)
static MCAPI void ** $vftable()
MCAPI void _handlePropertyChangedNotifications(::std::string_view sourcePropertyName, ::Json::Value const &newValue, ::UIPropertyBag::ContextObject context)
MCAPI void clearWeakRegistrations()
Definition UIPropertyBag.h:14
Definition UIPropertyBag.h:16
MCAPI PropertyChangedNotificationInfo(::UIPropertyBag::PropertyChangedNotificationInfo const &)
MCAPI void * $ctor(::UIPropertyBag::PropertyChangedNotificationInfo const &)