summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2022-09-05 20:15:57 +0200
committerMiklos Vajna <vmiklos@collabora.com>2022-09-06 08:09:40 +0200
commit4cad1d6229309f8a06634686b295bca54aaecd56 (patch)
treeb1fa6baff72c53ec5dd5cdfbe0e9f27cd7d7fa37
parente75631211b596df3997f6fe6eb5422b931bd0384 (diff)
sw: document SwSelPaintRects
This was mostly about the cursor only, but nowadays hosts other overlays as well. Change-Id: I4c43592273e4b996c2d7ed915fa78bd15ea41f98 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139451 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
-rw-r--r--sw/inc/viscrs.hxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/sw/inc/viscrs.hxx b/sw/inc/viscrs.hxx
index 7866b6335f2a..e96b29f1076a 100644
--- a/sw/inc/viscrs.hxx
+++ b/sw/inc/viscrs.hxx
@@ -71,6 +71,11 @@ public:
namespace sw::overlay { class OverlayRangesOutline; }
class MapMode;
+/**
+ * SwSelPaintRects is a base class of SwShellCursor, which stores the overlay for the
+ * cursor/selection: a list of rectangles to be painted as an overlay. It is also capable of
+ * painting other overlays as needed (text input, content control).
+ */
class SwSelPaintRects : public SwRects
{
friend void InitCore();