From 3650a9f0cee4c3f15c35f5966e4a58ca67500346 Mon Sep 17 00:00:00 2001 From: Jan Holesovsky Date: Sat, 7 Mar 2015 00:48:03 +0100 Subject: sc tiled mouse events: Proof-of-concept. One has to click & press enter to be able to type into the cell. The typing is visible only in the top left tile, but even in the other tiles, the text gets there - when you manage to invalidate everything, the text appears. Change-Id: I7c9c0a52949a514eb3de7a7fe64f11597377d39f --- sc/source/ui/inc/gridwin.hxx | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'sc/source/ui/inc/gridwin.hxx') diff --git a/sc/source/ui/inc/gridwin.hxx b/sc/source/ui/inc/gridwin.hxx index 7bc053d16a6a..56498ab0dd2e 100644 --- a/sc/source/ui/inc/gridwin.hxx +++ b/sc/source/ui/inc/gridwin.hxx @@ -325,6 +325,12 @@ public: /// @see OutputDevice::LogicInvalidate(). void LogicInvalidate(const ::vcl::Region* pRegion) SAL_OVERRIDE; + /// Same as MouseButtonDown(), but coordinates are in logic unit. + void LogicMouseButtonDown(const MouseEvent& rMouseEvent); + + /// Same as MouseButtonUp(), but coordinates are in logic unit. + void LogicMouseButtonUp(const MouseEvent& rMouseEvent); + virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible > CreateAccessible() SAL_OVERRIDE; void FakeButtonUp(); -- cgit