diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2021-04-26 10:43:11 +0900 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2021-04-26 10:14:59 +0200 |
commit | e0094d6fe58eaa9a79b546149cf67db521cd1230 (patch) | |
tree | 537d3033d0e9608f48876084684f5d192c2aa316 /include/vcl/ctrl.hxx | |
parent | 9c62b71cf59a043031a2e3bee13de43bf49e18bb (diff) |
lok: add rendering and input for form controls in Calc
Until now the form controls were nto rendered to a tile when
drawing tiles for LOKit usage (online). This change adds
LokControlHandler that is responsible for rendering of the
form controls on the tiles (currently implemented only for Calc)
and handles mouse input events that come through LOKit.
Change-Id: Ifcecc9a320a7836b76b0a10771b06c15339baed2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114635
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'include/vcl/ctrl.hxx')
-rw-r--r-- | include/vcl/ctrl.hxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/vcl/ctrl.hxx b/include/vcl/ctrl.hxx index db285cba9054..87a15572d6c9 100644 --- a/include/vcl/ctrl.hxx +++ b/include/vcl/ctrl.hxx @@ -179,6 +179,10 @@ public: vcl::Font GetUnzoomedControlPointFont() const; void SetShowAccelerator (bool val); + + void LogicMouseButtonDown(const MouseEvent& rMouseEvent) override; + void LogicMouseButtonUp(const MouseEvent& rMouseEvent) override; + void LogicMouseMove(const MouseEvent& rMouseEvent) override; }; #endif // INCLUDED_VCL_CTRL_HXX |