Decompile 2 functions in Source/UI/Party/UIAdvenPartyBoardWnd.cpp, Source/UI/Party/UIJobSlotButton.cpp, ...
Batch #17906 by Yommy: 2 byte-identical, 0 confirmed by peer review. - fn_09318 UIJobSlotButton::SetSelected: byte-identical - fn_09323 UIBmpTextButton::SetText: byte-identical Merged automatically: every function is byte-identical to the original.
This commit is contained in:
parent
9f7414b016
commit
5c96d2f071
4 changed files with 27 additions and 27 deletions
|
|
@ -13,22 +13,3 @@ void UIJobSlotButton::OnLBtnUp(int x, int y) {
|
|||
this->UIButton::OnLBtnUp(x, y);
|
||||
this->SetSelected(this->selected == 0);
|
||||
}
|
||||
|
||||
// OFFSET: 0x007C1C50
|
||||
// FUNCTION: fn_09318
|
||||
void UIJobSlotButton::SetSelected(bool value) {
|
||||
this->selected = value;
|
||||
this->SetState(0);
|
||||
|
||||
if (value == 1) {
|
||||
this->SetBitmap(this->selectedImage.c_str(), 0, 0);
|
||||
this->SetBitmap(this->selectedImage.c_str(), 1, 0);
|
||||
this->SetBitmap(this->unselectedImage.c_str(), 2, 0);
|
||||
} else {
|
||||
this->SetBitmap(this->unselectedImage.c_str(), 0, 0);
|
||||
this->SetBitmap(this->unselectedImage.c_str(), 1, 0);
|
||||
this->SetBitmap(this->selectedImage.c_str(), 2, 0);
|
||||
}
|
||||
|
||||
this->Invalidate();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue