git-svn-id: svn://db.shs.com.ru/pip@597 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5
This commit is contained in:
@@ -416,7 +416,7 @@ void TileButtons::drawEvent(PIScreenDrawer * d) {
|
||||
cw = width_ - 2;
|
||||
xo = (cw - b.first.size_s()) / 2 - 1;
|
||||
}
|
||||
btn_rects[i] = (Rect){cx, cy, cx + cw + 2, cy + 1};
|
||||
btn_rects[i] = Rect(cx, cy, cx + cw + 2, cy + 1);
|
||||
d->fillRect(cx, cy, cx + cw + 2, cy + 1, ' ', Default, cb);
|
||||
d->drawText(cx, cy, "[", ct, Transparent, ff);
|
||||
d->drawText(cx + xo + 2, cy, b.first, ct, Transparent, ff);
|
||||
|
||||
Reference in New Issue
Block a user