KiCad PCB EDA Suite
Loading...
Searching...
No Matches
touchpad.h File Reference
#include <functional>
#include <memory>
#include <wx/gdicmn.h>

Go to the source code of this file.

Classes

struct  KIPLATFORM::UI::TOUCHPAD_GESTURE
 A pan and zoom update produced by a native touchpad gesture recognizer. More...
 
class  KIPLATFORM::UI::TOUCHPAD_GESTURE_HANDLER
 Owns a platform touchpad input registration for the lifetime of an input window. More...
 

Namespaces

namespace  KIPLATFORM
 
namespace  KIPLATFORM::UI
 

Typedefs

using KIPLATFORM::UI::TOUCHPAD_GESTURE_CALLBACK = std::function<void( const TOUCHPAD_GESTURE& )>
 

Functions

bool KIPLATFORM::UI::IsNativeTouchpadGestureAvailable ()
 Check whether this port provides the native touchpad gesture APIs.
 
std::unique_ptr< TOUCHPAD_GESTURE_HANDLERKIPLATFORM::UI::CreateTouchpadGestureHandler (wxWindow *aInputWindow, TOUCHPAD_GESTURE_CALLBACK aCallback)
 Register a window for native touchpad pan and pinch gestures when the port supports it.