Fix icon drawing in text boxes

This commit is contained in:
Simon Robertshaw 2012-07-19 19:14:38 +01:00
parent 9a94939585
commit 4e9e0ff7bf

View File

@ -244,6 +244,8 @@ void Textbox::Draw(const Point& screenPos)
}
if(border) g->drawrect(screenPos.X, screenPos.Y, Size.X, Size.Y, 160, 160, 160, 255);
}
if(Appearance.icon)
g->draw_icon(screenPos.X+iconPosition.X, screenPos.Y+iconPosition.Y, Appearance.icon);
}
/*