GUI: drawRoundedSquareClip()

This commit is contained in:
Alexander Tkachev 2016-06-22 14:29:02 +06:00 committed by Eugene Sandulenko
parent 3d2730a0dd
commit 8f2d35b0b8
5 changed files with 465 additions and 10 deletions

View file

@ -45,6 +45,7 @@ void GuiObject::reflowLayout() {
error("Could not load widget position for '%s'", _name.c_str());
}
/*
if (_x < 0)
error("Widget <%s> has x < 0 (%d)", _name.c_str(), _x);
if (_x >= g_gui.getWidth())
@ -57,6 +58,7 @@ void GuiObject::reflowLayout() {
error("Widget <%s> has y > %d (%d)", _name.c_str(), g_gui.getHeight(), _y);
if (_y + _h > g_gui.getHeight())
error("Widget <%s> has y + h > %d (%d)", _name.c_str(), g_gui.getHeight(), _y + _h);
*/
}
}