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 /vcl | |
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 'vcl')
-rw-r--r-- | vcl/source/control/ctrl.cxx | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/vcl/source/control/ctrl.cxx b/vcl/source/control/ctrl.cxx index 779b90927317..1e34777cf93b 100644 --- a/vcl/source/control/ctrl.cxx +++ b/vcl/source/control/ctrl.cxx @@ -492,4 +492,19 @@ Control::GetUnzoomedControlPointFont() const return aFont; } +void Control::LogicMouseButtonDown(const MouseEvent& rEvent) +{ + MouseButtonDown(rEvent); +} + +void Control::LogicMouseButtonUp(const MouseEvent& rEvent) +{ + MouseButtonUp(rEvent); +} + +void Control::LogicMouseMove(const MouseEvent& rEvent) +{ + MouseMove(rEvent); +} + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |