GUI: Unify clip and non-clip draw calls
This commit is contained in:
parent
dcfac42bb3
commit
4d29ce21d0
18 changed files with 156 additions and 573 deletions
|
@ -64,7 +64,8 @@ void Tooltip::drawDialog(DrawLayer layerToDraw) {
|
|||
|
||||
for (Common::StringArray::const_iterator i = _wrappedLines.begin(); i != _wrappedLines.end(); ++i, ++num) {
|
||||
g_gui.theme()->drawText(
|
||||
Common::Rect(_x + 1, _y + 1 + num * h, _x + 1 +_w, _y + 1+ (num + 1) * h), *i,
|
||||
Common::Rect(_x + 1, _y + 1 + num * h, _x + 1 + _w, _y + 1 + (num + 1) * h),
|
||||
*i,
|
||||
ThemeEngine::kStateEnabled,
|
||||
Graphics::kTextAlignLeft,
|
||||
ThemeEngine::kTextInversionNone,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue