KiCad PCB EDA Suite
Loading...
Searching...
No Matches
wxgtk/touchpad.cpp
Go to the documentation of this file.
1
/*
2
* This program source code file is part of KiCad, a free EDA CAD application.
3
*
4
* Copyright The KiCad Developers, see AUTHORS.txt for contributors.
5
*
6
* This program is free software: you can redistribute it and/or modify it
7
* under the terms of the GNU General Public License as published by the
8
* Free Software Foundation, either version 3 of the License, or (at your option)
9
* any later version.
10
*
11
* This program is distributed in the hope that it will be useful, but
12
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
13
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14
* for more details.
15
*
16
* You should have received a copy of the GNU General Public License along
17
* with this program. If not, see <https://www.gnu.org/licenses/>.
18
*/
19
20
#include <
kiplatform/touchpad.h
>
21
22
23
bool
KIPLATFORM::UI::IsNativeTouchpadGestureAvailable
()
24
{
25
return
false
;
26
}
27
28
29
std::unique_ptr<KIPLATFORM::UI::TOUCHPAD_GESTURE_HANDLER>
30
KIPLATFORM::UI::CreateTouchpadGestureHandler
( wxWindow*,
TOUCHPAD_GESTURE_CALLBACK
)
31
{
32
return
nullptr
;
33
}
KIPLATFORM::UI::IsNativeTouchpadGestureAvailable
bool IsNativeTouchpadGestureAvailable()
Check whether this port provides the native touchpad gesture APIs.
Definition
wxgtk/touchpad.cpp:23
KIPLATFORM::UI::CreateTouchpadGestureHandler
std::unique_ptr< TOUCHPAD_GESTURE_HANDLER > CreateTouchpadGestureHandler(wxWindow *aInputWindow, TOUCHPAD_GESTURE_CALLBACK aCallback)
Register a window for native touchpad pan and pinch gestures when the port supports it.
Definition
wxgtk/touchpad.cpp:30
KIPLATFORM::UI::TOUCHPAD_GESTURE_CALLBACK
std::function< void(const TOUCHPAD_GESTURE &)> TOUCHPAD_GESTURE_CALLBACK
Definition
touchpad.h:56
touchpad.h
src
libs
kiplatform
port
wxgtk
touchpad.cpp
Generated on Thu Sep 17 2026 00:06:17 for KiCad PCB EDA Suite by
1.13.2