Go to the documentation of this file.
55 const float scaleFactor = std::min<float>(drawRect.
width() /
static_cast<float>(exactSize), drawRect.
height() /
static_cast<float>(exactSize));
94 if(node->tag() ==
"item-id")
96 else if(node->tag() ==
"item-count")
98 else if(node->tag() ==
"item-visible")
100 else if(node->tag() ==
"virtual")
102 else if(node->tag() ==
"show-id")
virtual void setColor(const Color &color)
stdext::boolean< true > m_itemVisible
void draw(const Point &dest, float scaleFactor, bool animate, int redrawFlag=Otc::ReDrawThing, LightView *lightView=nullptr) override
void drawSelf(Fw::DrawPane drawPane) override
int getExactSize(int layer=0, int xPattern=0, int yPattern=0, int zPattern=0, int animationPhase=0) override
TPoint< T > topLeft() const
void setItemVisible(bool visible)
void expand(T top, T right, T bottom, T left)
void setVirtual(bool virt)
static ItemPtr create(int id)
std::string to_string(const T &t)
void drawText(const std::string &text, const Point &startPos)
Simple text render starting at startPos.
virtual Point getDisplacement()
void onStyleApply(const std::string &styleName, const OTMLNodePtr &styleNode) override
void setId(uint32 id) override
void setItemCount(int count)
stdext::boolean< false > m_showId
TPoint< T > bottomRight() const