Decompile fn_13058 (UIGuildHelperWnd::OnCreate)
Batch #18533 by eAthena: 0 byte-identical, 1 confirmed by peer review. - fn_13058 UIGuildHelperWnd::OnCreate: logic confirmed by peer review Peer-reviewed-by: kyoshi, bibinir 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
d78ce14556
commit
c8e7b7fc74
1 changed files with 5 additions and 1 deletions
|
|
@ -323,7 +323,11 @@ void UIGuildHelperWnd::OnCreate(int width, int height) {
|
|||
this->m_button->SetBitmap((prefix + names[i][1] + ".bmp").c_str(), 1, 0);
|
||||
this->m_button->SetBitmap((prefix + names[i][2] + ".bmp").c_str(), 2, 0);
|
||||
this->m_button->SetSize(this->m_button->BitmapWidth(), this->m_button->BitmapHeight());
|
||||
this->m_button->Move(i < 2 ? x : width - 52, height - 24);
|
||||
if (i < 2) {
|
||||
this->m_button->Move(x, height - 24);
|
||||
} else {
|
||||
this->m_button->Move(width - 52, height - 24);
|
||||
}
|
||||
this->m_button->SetId(ids[i]);
|
||||
this->AddChild(this->m_button);
|
||||
x += 62;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue