Go to the documentation of this file.
55 float scaleFactor = std::min<float>(drawRect.
width() / (
float)exactSize, drawRect.
height() / (
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
TPoint< T > topLeft() const
void setItemVisible(bool visible)
void expand(T top, T right, T bottom, T left)
void draw(const Point &dest, float scaleFactor, bool animate, LightView *lightView=nullptr)
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 drawSelf(Fw::DrawPane drawPane)
int getExactSize(int layer=0, int xPattern=0, int yPattern=0, int zPattern=0, int animationPhase=0)
void setItemCount(int count)
stdext::boolean< false > m_showId
TPoint< T > bottomRight() const
void onStyleApply(const std::string &styleName, const OTMLNodePtr &styleNode)