Searched refs:mouse_capture_widget (Results 1 – 6 of 6) sorted by relevance
1799 Window::Window(WindowDesc *desc) : window_desc(desc), mouse_capture_widget(-1) in Window()1883 w->mouse_capture_widget = -1; in DecreaseWindowCounters()2337 NWidgetScrollbar *sb = w->GetWidget<NWidgetScrollbar>(w->mouse_capture_widget); in HandleScrollbarScrolling()2371 if (w->mouse_capture_widget >= 0) { in HandleActiveWidget()2374 w->SetWidgetDirty(w->mouse_capture_widget); in HandleActiveWidget()2375 w->mouse_capture_widget = -1; in HandleActiveWidget()2380 WidgetType type = w->GetWidget<NWidgetBase>(w->mouse_capture_widget)->type; in HandleActiveWidget()2388 w->OnClick(pt, w->mouse_capture_widget, 0); in HandleActiveWidget()
330 …int mouse_capture_widget; ///< Widgetindex of current mouse capture widget (e.g. dragged sc… member
128 w->mouse_capture_widget = sb->index; in ScrollbarClickPositioning()137 w->mouse_capture_widget = sb->index; in ScrollbarClickPositioning()148 w->mouse_capture_widget = sb->index; in ScrollbarClickPositioning()2246 …bool middle_lowered = !(this->disp_flags & ND_SCROLLBAR_BTN) && w->mouse_capture_widget == this->i… in Draw()
796 if (click_count > 0) this->mouse_capture_widget = widget; in OnClick()
1429 if (click_count > 0) this->mouse_capture_widget = widget; in OnClick()
485 if (click_count > 0) this->mouse_capture_widget = widget; in OnClick()