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.
15 lines
372 B
C++
15 lines
372 B
C++
#include "UI/Party/UIJobSlotButton.h"
|
|
|
|
// OFFSET: 0x007BAD70
|
|
// FUNCTION: fn_09276
|
|
UIJobSlotButton::UIJobSlotButton() : UIBitmapButton(), selected(0) {
|
|
}
|
|
|
|
UIJobSlotButton::~UIJobSlotButton() = default;
|
|
|
|
// OFFSET: 0x007BFC70
|
|
// FUNCTION: fn_09307
|
|
void UIJobSlotButton::OnLBtnUp(int x, int y) {
|
|
this->UIButton::OnLBtnUp(x, y);
|
|
this->SetSelected(this->selected == 0);
|
|
}
|