bool FlarmTrafficControl::OnMouseDown(PixelScalar x, PixelScalar y) { gestures.Start(x, y, Layout::Scale(20)); return true; }
bool FlarmTrafficControl::on_mouse_down(int x, int y) { if (XCSoarInterface::SettingsComputer().EnableGestures) gestures.Start(x, y, Layout::Scale(20)); return true; }
bool ChartControl::OnMouseDown(PixelPoint p) { dragging = true; SetCapture(); gestures.Start(p, Layout::Scale(20)); return true; }
bool FlarmTrafficControl::OnMouseDown(PixelScalar x, PixelScalar y) { if (!dragging) { dragging = true; SetCapture(); gestures.Start(x, y, Layout::Scale(20)); } return true; }
bool CrossSectionControl::OnMouseDown(PixelScalar x, PixelScalar y) { gestures.Start(x, y, Layout::Scale(20)); return true; }
bool ChartControl::on_mouse_down(PixelScalar x, PixelScalar y) { gestures.Start(x, y, Layout::Scale(20)); return true; }
bool CrossSectionControl::on_mouse_down(int x, int y) { gestures.Start(x, y, Layout::Scale(20)); return true; }