diff options
author | Marco Cecchetti <marco.cecchetti@collabora.com> | 2023-02-05 17:47:34 +0100 |
---|---|---|
committer | Marco Cecchetti <marco.cecchetti@collabora.com> | 2023-03-07 19:30:11 +0000 |
commit | 7adfecb0f5947ae258226c8d1652546f81577026 (patch) | |
tree | 722ef84394ffe68f635945d4fc3ebc48e5b0e122 /include/vcl/IDialogRenderable.hxx | |
parent | c596fd59dc75823002bdfd3676d600a56e3bfb5e (diff) |
lok: form controls: rendering and mouse event forwarding
What we got
- Most controls rendered on Writer and Impress (on Calc already
implemented by Tomaž Vajngerl)
- Text labels rendered correctly
- Mouse events forwarded to controls
- Control state changed on click for Writer and Calc
- Control invalidation for all apps
- Fixed broken LOK_CALLBACK_MOUSE_POINTER msg
- Correct pointer style when mouse is hovering over a control
Need to be improved
- in impress click method for a control is not executed even if the
mouse event is forwarded correctly
- avoid not needed control invalidations (as the one occurring on
document autosaving)
Change-Id: I4d5012af7f90a2c726b6b6b5b068e2be1ed5568a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146569
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/147320
Tested-by: Jenkins
Reviewed-by: Marco Cecchetti <marco.cecchetti@collabora.com>
Diffstat (limited to 'include/vcl/IDialogRenderable.hxx')
-rw-r--r-- | include/vcl/IDialogRenderable.hxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/vcl/IDialogRenderable.hxx b/include/vcl/IDialogRenderable.hxx index bb5480f1bf4f..d280aad3f006 100644 --- a/include/vcl/IDialogRenderable.hxx +++ b/include/vcl/IDialogRenderable.hxx @@ -13,11 +13,12 @@ #include <config_options.h> #include <vcl/dllapi.h> - #include <rtl/ustring.hxx> #include <vector> +namespace tools { class Rectangle; } + class SfxItemSet; namespace vcl @@ -38,6 +39,9 @@ public: const std::vector<LOKPayloadItem>& rPayload = std::vector<LOKPayloadItem>()) const = 0; virtual void libreOfficeKitViewCallback(int nType, const char* pPayload) const = 0; + + /// Emits a LOK_CALLBACK_INVALIDATE_TILES. + virtual void notifyInvalidation(tools::Rectangle const *) const = 0; }; } // namespace vcl |