summaryrefslogtreecommitdiff
path: root/sd/source/ui/slidesorter/inc/controller/SlsSelectionFunction.hxx
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2005-07-14 09:17:02 +0000
committerKurt Zenker <kz@openoffice.org>2005-07-14 09:17:02 +0000
commitb12889dfc04c109d5b72f19400ac01dd331b1097 (patch)
tree5685cb5d3ce91cf1901e3cf598ef6981aa3296ef /sd/source/ui/slidesorter/inc/controller/SlsSelectionFunction.hxx
parent07e8ed4ddccaadbffdeb17c7136ab1e813f936fc (diff)
INTEGRATION: CWS impress51 (1.7.40); FILE MERGED
2005/06/20 12:29:40 af 1.7.40.1: #i50712# Added support for keyboard driven context menu.
Diffstat (limited to 'sd/source/ui/slidesorter/inc/controller/SlsSelectionFunction.hxx')
-rw-r--r--sd/source/ui/slidesorter/inc/controller/SlsSelectionFunction.hxx12
1 files changed, 10 insertions, 2 deletions
diff --git a/sd/source/ui/slidesorter/inc/controller/SlsSelectionFunction.hxx b/sd/source/ui/slidesorter/inc/controller/SlsSelectionFunction.hxx
index 451a2a323103..286f641288b0 100644
--- a/sd/source/ui/slidesorter/inc/controller/SlsSelectionFunction.hxx
+++ b/sd/source/ui/slidesorter/inc/controller/SlsSelectionFunction.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: SlsSelectionFunction.hxx,v $
*
- * $Revision: 1.7 $
+ * $Revision: 1.8 $
*
- * last change: $Author: vg $ $Date: 2005-03-23 14:01:29 $
+ * last change: $Author: kz $ $Date: 2005-07-14 10:17:02 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -178,6 +178,7 @@ private:
void GotoNextPage (int nOffset);
void ProcessMouseEvent (sal_uInt32 nEventType, const MouseEvent& rEvent);
+ void ProcessKeyEvent (const KeyEvent& rEvent);
// What follows are a couple of helper methods that are used by
// ProcessMouseEvent().
@@ -225,6 +226,13 @@ private:
const EventDescriptor& rDescriptor,
const MouseEvent& rEvent) const;
+ /** Compute a numerical code that describes a key event and that can
+ be used for fast look up of the appropriate reaction.
+ */
+ sal_uInt32 EncodeKeyEvent (
+ const EventDescriptor& rDescriptor,
+ const KeyEvent& rEvent) const;
+
void EventPreprocessing (const EventDescriptor& rEvent);
bool EventProcessing (const EventDescriptor& rEvent);
void EventPostprocessing (const EventDescriptor& rEvent);