Decompile fn_10860 (UIEditCtrl::Slot28)
Batch #12641 by cremane: 1 byte-identical, 0 confirmed by peer review. - fn_10860 UIEditCtrl::Slot28: byte-identical Merged automatically: every function is byte-identical to the original.
This commit is contained in:
parent
c8fe827a65
commit
1e30ce81ff
1 changed files with 4 additions and 8 deletions
|
|
@ -301,14 +301,10 @@ void UIEditCtrl::Slot28(int x, int y) {
|
|||
this->Slot27(x, y);
|
||||
|
||||
if (!this->tooltip.empty()) {
|
||||
int left = 10, top = -20;
|
||||
|
||||
for (const UIWindow* window = this; window; window = window->parent) {
|
||||
left += window->geometry.x;
|
||||
top += window->geometry.y;
|
||||
}
|
||||
|
||||
static_cast<CMode*>(g_charViewMode)->ShowTooltip(this->tooltip.c_str(), left, top, -1, false, true);
|
||||
x = 10;
|
||||
y = -20;
|
||||
this->ToScreen(x, y);
|
||||
g_modeMgr.gameMode->ShowTooltip(this->tooltip.c_str(), x, y, -1, false, true);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue