LibreOffice Module vcl (master)  1
Functions | Variables
keycod.cxx File Reference
#include <sal/config.h>
#include <accel.h>
#include <salframe.hxx>
#include <svdata.hxx>
#include <vcl/window.hxx>
#include <vcl/keycod.hxx>
Include dependency graph for keycod.cxx:

Go to the source code of this file.

Functions

bool ImplGetKeyCode (KeyFuncType eFunc, sal_uInt16 &rCode1, sal_uInt16 &rCode2, sal_uInt16 &rCode3, sal_uInt16 &rCode4)
 

Variables

const sal_uInt16 aImplKeyFuncTab [(static_cast< int >(KeyFuncType::FRONT)+1)*4]
 

Function Documentation

bool ImplGetKeyCode ( KeyFuncType  eFunc,
sal_uInt16 &  rCode1,
sal_uInt16 &  rCode2,
sal_uInt16 &  rCode3,
sal_uInt16 &  rCode4 
)

Definition at line 52 of file keycod.cxx.

References aImplKeyFuncTab, assert(), nIndex, and SAL_N_ELEMENTS.

Referenced by vcl::KeyCode::GetFunction(), and vcl::KeyCode::KeyCode().

Variable Documentation

const sal_uInt16 aImplKeyFuncTab[(static_cast< int >(KeyFuncType::FRONT)+1)*4]
Initial value:
=
{
0, 0, 0, 0,
KEY_N | KEY_MOD1, 0, 0, 0,
KEY_O | KEY_MOD1, KEY_OPEN, 0, 0,
KEY_S | KEY_MOD1, 0, 0, 0,
KEY_S | KEY_SHIFT | KEY_MOD1, 0, 0, 0,
KEY_P | KEY_MOD1, 0, 0, 0,
KEY_Y | KEY_MOD1, KEY_UNDO | KEY_SHIFT, 0, 0,
KEY_DELETE, 0, 0, 0,
KEY_REPEAT, 0, 0, 0,
KEY_F | KEY_MOD1, KEY_FIND, 0, 0,
KEY_RETURN | KEY_MOD2, 0, 0, 0,
0, 0, 0, 0
}
constexpr sal_uInt16 KEY_MOD1
Definition: keycodes.hxx:31
constexpr sal_uInt16 KEY_C
Definition: keycodes.hxx:58
constexpr sal_uInt16 KEY_V
Definition: keycodes.hxx:77
constexpr sal_uInt16 KEY_X
Definition: keycodes.hxx:79
constexpr sal_uInt16 KEY_F4
Definition: keycodes.hxx:86
constexpr sal_uInt16 KEY_Y
Definition: keycodes.hxx:80
constexpr sal_uInt16 KEY_REPEAT
Definition: keycodes.hxx:142
constexpr sal_uInt16 KEY_UNDO
Definition: keycodes.hxx:141
constexpr sal_uInt16 KEY_OPEN
Definition: keycodes.hxx:137
constexpr sal_uInt16 KEY_Q
Definition: keycodes.hxx:72
constexpr sal_uInt16 KEY_CUT
Definition: keycodes.hxx:138
constexpr sal_uInt16 KEY_W
Definition: keycodes.hxx:78
constexpr sal_uInt16 KEY_COPY
Definition: keycodes.hxx:139
constexpr sal_uInt16 KEY_O
Definition: keycodes.hxx:70
constexpr sal_uInt16 KEY_MOD2
Definition: keycodes.hxx:32
constexpr sal_uInt16 KEY_RETURN
Definition: keycodes.hxx:119
constexpr sal_uInt16 KEY_S
Definition: keycodes.hxx:74
constexpr sal_uInt16 KEY_FIND
Definition: keycodes.hxx:143
constexpr sal_uInt16 KEY_F
Definition: keycodes.hxx:61
constexpr sal_uInt16 KEY_N
Definition: keycodes.hxx:69
constexpr sal_uInt16 KEY_BACKSPACE
Definition: keycodes.hxx:122
constexpr sal_uInt16 KEY_Z
Definition: keycodes.hxx:81
constexpr sal_uInt16 KEY_P
Definition: keycodes.hxx:71
constexpr sal_uInt16 KEY_PASTE
Definition: keycodes.hxx:140
constexpr sal_uInt16 KEY_DELETE
Definition: keycodes.hxx:125
constexpr sal_uInt16 KEY_INSERT
Definition: keycodes.hxx:124
constexpr sal_uInt16 KEY_SHIFT
Definition: keycodes.hxx:30

Definition at line 29 of file keycod.cxx.

Referenced by ImplGetKeyCode().