Internal change to entergame, fix image-offset-y mistake, change the way default font is set in skins.

This commit is contained in:
Henrique Santiago
2012-08-05 18:43:45 -03:00
parent e78edad4c6
commit 0f980ec18b
4 changed files with 14 additions and 12 deletions

View File

@@ -413,7 +413,7 @@ public:
void setImageSource(const std::string& source);
void setImageClip(const Rect& clipRect) { m_imageClipRect = clipRect; updateImageCache(); }
void setImageOffsetX(int x) { m_imageRect.setX(x); updateImageCache(); }
void setImageOffsetY(int y) { m_imageRect.setX(y); updateImageCache(); }
void setImageOffsetY(int y) { m_imageRect.setY(y); updateImageCache(); }
void setImageOffset(const Point& pos) { m_imageRect.move(pos); updateImageCache(); }
void setImageWidth(int width) { m_imageRect.setWidth(width); updateImageCache(); }
void setImageHeight(int height) { m_imageRect.setHeight(height); updateImageCache(); }