if(tooltip_timeout && Time::now()>tooltip_timeout)
{
std::string tip;
- if(Widget *wdg = get_descendant_at(pointer_x, pointer_y))
+ if(Widget *wdg = find_descendant_at(pointer_x, pointer_y))
{
tip = wdg->get_tooltip();
tooltip_target = wdg;
pointer_y = y;
tooltip_timeout = Time::now()+700*Time::msec;
}
- else if(get_descendant_at(x, y)!=tooltip_target)
+ else if(find_descendant_at(x, y)!=tooltip_target)
{
if(lbl_tooltip)
lbl_tooltip->set_visible(false);