mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
UWP: better mouse interaction support
This commit is contained in:
parent
f78ca5794a
commit
f2f8223cf1
9 changed files with 101 additions and 14 deletions
|
@ -119,9 +119,12 @@ private:
|
|||
}
|
||||
|
||||
void
|
||||
OnSurfaceClicked(IInspectable const &,
|
||||
OnSurfaceTapped(IInspectable const &,
|
||||
Windows::UI::Xaml::Input::TappedRoutedEventArgs const &);
|
||||
|
||||
void OnSurfacePointerPressed(IInspectable const &,
|
||||
Windows::UI::Xaml::Input::PointerRoutedEventArgs const &);
|
||||
|
||||
void OnSurfaceManipulationDelta(
|
||||
IInspectable const &,
|
||||
Windows::UI::Xaml::Input::ManipulationDeltaRoutedEventArgs const &);
|
||||
|
@ -142,6 +145,8 @@ private:
|
|||
CONDITION_VARIABLE mGLCondVar;
|
||||
std::unique_ptr<Concurrency::task<void>> mLoopTask;
|
||||
hstring mArgs;
|
||||
|
||||
std::optional<servo::Servo::MouseButton> mPressedMouseButton = {};
|
||||
};
|
||||
} // namespace winrt::ServoApp::implementation
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue