Batch #3308 by eAthena: 0 byte-identical, 6 confirmed by peer review. - fn_13493 UIBasicInfoWnd::Slot26: logic confirmed by peer review - fn_13494 UIBasicInfoWnd::Slot25: logic confirmed by peer review - fn_13496 UIBasicInfoWnd::Slot27: logic confirmed by peer review - fn_13499 UIBasicInfoWnd::Slot11: logic confirmed by peer review - fn_13542 UIRoundBoxTooltipWnd::Paint: logic confirmed by peer review - fn_13558 UIEditctrlWnd::Paint: logic confirmed by peer review Peer-reviewed-by: superintelligence Reviewed-by: ragnarok-clanker Adds to the build: Source/UI/Window/UIBasicInfoWnd.cpp, Source/UI/UIRoundBoxTooltipWnd.cpp, Source/UI/Dialogs/UIEditctrlWnd.cpp
43 lines
1,011 B
C++
43 lines
1,011 B
C++
#include "UI/Window/UIBasicInfoWnd.h"
|
|
|
|
#include "UI/Window/UIWindowMgr.h"
|
|
|
|
// OFFSET: 0x00999BC0
|
|
// FUNCTION: fn_13499
|
|
void UIBasicInfoWnd::Slot11() {
|
|
if (this->saved) {
|
|
this->saved->height = this->geometry.height;
|
|
this->saved->width = this->geometry.width;
|
|
this->saved->x = this->geometry.x;
|
|
this->saved->y = this->geometry.y;
|
|
this->saved->unknown_0010 = this->mode;
|
|
}
|
|
}
|
|
|
|
// OFFSET: 0x00999360
|
|
// FUNCTION: fn_13494
|
|
void UIBasicInfoWnd::Slot25(int x, int y) {
|
|
if (y < 17) {
|
|
UIFrameWnd::Slot25(x, y);
|
|
}
|
|
}
|
|
|
|
// OFFSET: 0x00999330
|
|
// FUNCTION: fn_13493
|
|
void UIBasicInfoWnd::Slot26(int x, int y) {
|
|
if (y < 17) {
|
|
this->SendMsg(this, 6, 202, 0, 0, 0);
|
|
}
|
|
}
|
|
|
|
// OFFSET: 0x00999430
|
|
// FUNCTION: fn_13496
|
|
void UIBasicInfoWnd::Slot27(int x, int y) {
|
|
UIFrameWnd::Slot27(x, y);
|
|
if (UIWindow* window = g_windowMgr.LookupWindow(307)) {
|
|
int screenX = 0;
|
|
int screenY = 0;
|
|
this->ToScreen(screenX, screenY);
|
|
window->Move(screenX, this->geometry.height + screenY);
|
|
}
|
|
}
|