bool ChartControl::OnMouseMove(PixelPoint p, unsigned keys) { if (dragging) gestures.Update(p); return true; }
bool FlarmTrafficControl::OnMouseDown(PixelScalar x, PixelScalar y) { gestures.Start(x, y, Layout::Scale(20)); return true; }
bool FlarmTrafficControl::OnMouseMove(PixelScalar x, PixelScalar y, gcc_unused unsigned keys) { gestures.Update(x, y); return true; }
bool ChartControl::OnMouseDown(PixelPoint p) { dragging = true; SetCapture(); gestures.Start(p, Layout::Scale(20)); return true; }
bool FlarmTrafficControl::on_mouse_move(int x, int y, unsigned keys) { if (XCSoarInterface::SettingsComputer().EnableGestures) gestures.Update(x, y); 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 CrossSectionControl::on_mouse_up(int x, int y) { const TCHAR* gesture = gestures.Finish(); if (gesture != NULL) OnGesture(gesture); return true; }
bool CrossSectionControl::OnMouseUp(PixelScalar x, PixelScalar y) { const TCHAR* gesture = gestures.Finish(); if (gesture != NULL) OnGesture(gesture); return true; }
bool ChartControl::on_mouse_up(PixelScalar x, PixelScalar y) { const TCHAR* gesture = gestures.Finish(); if (gesture != NULL) OnGesture(gesture); return true; }
bool ChartControl::OnMouseUp(PixelScalar x, PixelScalar y) { const TCHAR* gesture = gestures.Finish(); if (gesture != NULL) analysis_widget.OnGesture(gesture); return true; }
bool FlarmTrafficControl::OnMouseDown(PixelScalar x, PixelScalar y) { if (!dragging) { dragging = true; SetCapture(); gestures.Start(x, y, Layout::Scale(20)); } return true; }
bool FlarmTrafficControl::OnMouseUp(PixelScalar x, PixelScalar y) { const TCHAR *gesture = gestures.Finish(); if (gesture && on_mouse_gesture(gesture)) return true; if (!WarningMode()) SelectNearTarget(x, y, Layout::Scale(15)); return true; }
bool ChartControl::OnMouseUp(PixelPoint p) { if (dragging) { dragging = false; ReleaseCapture(); const TCHAR *gesture = gestures.Finish(); if (gesture != NULL) analysis_widget.OnGesture(gesture); } return true; }
bool FlarmTrafficControl::on_mouse_up(int x, int y) { if (XCSoarInterface::SettingsComputer().EnableGestures) { const char* gesture = gestures.Finish(); if (gesture && on_mouse_gesture(gesture)) return true; } if (!WarningMode()) SelectNearTarget(x, y, Layout::Scale(15)); return true; }
bool FlarmTrafficControl::OnMouseUp(PixelScalar x, PixelScalar y) { if (dragging) { StopDragging(); const TCHAR *gesture = gestures.Finish(); if (gesture && OnMouseGesture(gesture)) return true; } if (!WarningMode()) SelectNearTarget(x, y, Layout::Scale(15)); return true; }
bool CrossSectionControl::on_mouse_move(int x, int y, unsigned keys) { gestures.Update(x, y); return true; }
bool ChartControl::on_mouse_down(PixelScalar x, PixelScalar y) { gestures.Start(x, y, Layout::Scale(20)); return true; }
bool ChartControl::on_mouse_move(PixelScalar x, PixelScalar y, unsigned keys) { gestures.Update(x, y); return true; }
bool CrossSectionControl::on_mouse_down(int x, int y) { gestures.Start(x, y, Layout::Scale(20)); return true; }
bool CrossSectionControl::OnMouseMove(PixelScalar x, PixelScalar y, unsigned keys) { gestures.Update(x, y); return true; }
bool CrossSectionControl::OnMouseDown(PixelScalar x, PixelScalar y) { gestures.Start(x, y, Layout::Scale(20)); return true; }