#include "CtrlPropCommon.h" NAMESPACE_UPP bool PropSetBackground(const Value& v, StaticRect& o) { if(!v.Is()) return false; o.Background(v); return true; } bool PropGetBackground(Value& v, const StaticRect& o) { v = o.GetBackground(); return true; } PROPERTIES(StaticRect, Ctrl) PROPERTY("background", PropSetBackground, PropGetBackground) END_PROPERTIES PROPS(Ctrl, StaticRect, Ctrl) END_UPP_NAMESPACE