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::DELETE)+1)*4]
 

Function Documentation

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

Definition at line 40 of file keycod.cxx.

References aImplKeyFuncTab, nIndex, and SAL_N_ELEMENTS.

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

Variable Documentation

const sal_uInt16 aImplKeyFuncTab[(static_cast< int >(KeyFuncType::DELETE)+1)*4]
Initial value:
=
{
0, 0, 0, 0,
KEY_Y | KEY_MOD1, KEY_UNDO | KEY_SHIFT, 0, 0,
KEY_DELETE, 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_Y
Definition: keycodes.hxx:80
constexpr sal_uInt16 KEY_UNDO
Definition: keycodes.hxx:141
constexpr sal_uInt16 KEY_CUT
Definition: keycodes.hxx:138
constexpr sal_uInt16 KEY_COPY
Definition: keycodes.hxx:139
constexpr sal_uInt16 KEY_MOD2
Definition: keycodes.hxx:32
constexpr sal_uInt16 KEY_BACKSPACE
Definition: keycodes.hxx:122
constexpr sal_uInt16 KEY_Z
Definition: keycodes.hxx:81
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().