namespace comps { using MonoCurves = brick::Component<ComponentName("MonoCurves"), MonoCurveLoopArray>; }
ComponentName ParagraphShadowNode::getComponentName() const { return ComponentName("Paragraph"); }
ComponentName RawTextShadowNode::getComponentName() const { return ComponentName("RawText"); }
{ return m_count; } private: stick::Size m_count; }; } template<class RefCounter = detail::SimpleRefCounter> class STICK_API SharedEntity : public Entity { public: using RefCounterComponent = Component<ComponentName("RefCounter"), RefCounter>; SharedEntity() { } SharedEntity(const SharedEntity & _other) : Entity(_other) { auto refCount = maybe<RefCounterComponent>(); if (refCount) { (*refCount).increment(); } }