Home
last modified time | relevance | path

Searched refs:mouse_capture_widget (Results 1 – 6 of 6) sorted by relevance

/dports/games/openttd/openttd-12.1/src/
H A Dwindow.cpp1799 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()
H A Dwindow_gui.h330 …int mouse_capture_widget; ///< Widgetindex of current mouse capture widget (e.g. dragged sc… member
H A Dwidget.cpp128 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()
H A Dmusic_gui.cpp796 if (click_count > 0) this->mouse_capture_widget = widget; in OnClick()
H A Dsmallmap_gui.cpp1429 if (click_count > 0) this->mouse_capture_widget = widget; in OnClick()
H A Dsettings_gui.cpp485 if (click_count > 0) this->mouse_capture_widget = widget; in OnClick()