changes to progressrect

This commit is contained in:
Henrique Santiago
2012-06-10 04:46:00 -03:00
parent 52333f5d28
commit db59c73ed2
2 changed files with 9 additions and 1 deletions

View File

@@ -75,6 +75,11 @@ void UIProgressRect::drawSelf(Fw::DrawPane drawPane)
Point var = Point(std::max(m_percent - 87.5, 0.0) * (drawRect.horizontalCenter() - drawRect.left()) / 12.5, 0);
g_painter->drawFilledTriangle(drawRect.center(), drawRect.topCenter(), drawRect.topLeft() + var);
}
drawImage(m_rect);
drawBorder(m_rect);
drawIcon(m_rect);
drawText(m_rect);
}
void UIProgressRect::setPercent(float percent)