36 : imageFileName( imageFileName )
37 , animated( animated )
41 zeroSize.vert =
false;
45 std::string imageFileName;
55 const std::string & imageFileName,
60 YUI_CHECK_NEW( priv );
72 return priv->imageFileName;
78 return priv->animated;
91 return priv->zeroSize[ dim ];
97 priv->zeroSize[ dim ] = zeroSize;
104 return priv->autoScale;
std::string imageFileName() const
void setZeroSize(YUIDimension dim, bool zeroSize=true)
bool hasZeroSize(YUIDimension dim) const
YImagePrivate(const std::string &imageFileName, bool animated)
YImage(YWidget *parent, const std::string &imageFileName, bool animated=false)
virtual void setAutoScale(bool autoScale=true)
virtual void setImage(const std::string &imageFileName, bool animated=false)