Decompile fn_12088 (UIWindow::DrawButtonBar)
Batch #14522 by Yommy: 0 byte-identical, 1 confirmed by peer review. - fn_12088 UIWindow::DrawButtonBar: logic confirmed by peer review Peer-reviewed-by: secret, SapitoSucio, Tanke Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
This commit is contained in:
parent
4f2c2c1b0c
commit
d40a1ad8de
1 changed files with 3 additions and 3 deletions
|
|
@ -112,7 +112,7 @@ int UIWindow::DrawButtonBar(int style, int width, int rows) {
|
|||
barHeight = left->image.height;
|
||||
|
||||
for (int row = 1; row <= rows; ++row) {
|
||||
this->DrawBitmap(0, this->geometry.height - row * barHeight, &left->image, false);
|
||||
this->DrawBitmap(0, this->geometry.height - row * barHeight, left, false);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -128,7 +128,7 @@ int UIWindow::DrawButtonBar(int style, int width, int rows) {
|
|||
rightWidth = right->image.width;
|
||||
|
||||
for (int row = 1; row <= rows; ++row) {
|
||||
this->DrawBitmap(width - rightWidth, this->geometry.height - row * barHeight, &right->image, false);
|
||||
this->DrawBitmap(width - rightWidth, this->geometry.height - row * barHeight, right, false);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -150,7 +150,7 @@ int UIWindow::DrawButtonBar(int style, int width, int rows) {
|
|||
|
||||
for (int row = 1; row <= rows; ++row) {
|
||||
for (int column = 0; column < count; ++column) {
|
||||
this->DrawBitmap(leftWidth + column * middleWidth, this->geometry.height - row * barHeight, &middle->image, false);
|
||||
this->DrawBitmap(leftWidth + column * middleWidth, this->geometry.height - row * barHeight, middle, false);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue