本文整理汇总了C++中GestureManager::Finish方法的典型用法代码示例。如果您正苦于以下问题:C++ GestureManager::Finish方法的具体用法?C++ GestureManager::Finish怎么用?C++ GestureManager::Finish使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类GestureManager
的用法示例。
在下文中一共展示了GestureManager::Finish方法的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: OnGesture
bool
CrossSectionControl::OnMouseUp(PixelScalar x, PixelScalar y)
{
const TCHAR* gesture = gestures.Finish();
if (gesture != NULL)
OnGesture(gesture);
return true;
}
示例2: OnGesture
bool
CrossSectionControl::on_mouse_up(int x, int y)
{
const TCHAR* gesture = gestures.Finish();
if (gesture != NULL)
OnGesture(gesture);
return true;
}
示例3: SelectNearTarget
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;
}
示例4: SelectNearTarget
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;
}
示例5: ReleaseCapture
bool
ChartControl::OnMouseUp(PixelPoint p)
{
if (dragging) {
dragging = false;
ReleaseCapture();
const TCHAR *gesture = gestures.Finish();
if (gesture != NULL)
analysis_widget.OnGesture(gesture);
}
return true;
}
示例6: StopDragging
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;
}