20#ifndef INCLUDED_VCL_KEYCOD_HXX
21#define INCLUDED_VCL_KEYCOD_HXX
23#include <rtl/ustring.hxx>
42 KeyCode( sal_uInt16 nKey, sal_uInt16 nModifier = 0 );
43 KeyCode( sal_uInt16 nKey,
bool bShift,
bool bMod1,
bool bMod2,
bool bMod3 );
46 sal_uInt16
GetFullCode()
const {
return nKeyCodeAndModifiers; }
55 {
return ((nKeyCodeAndModifiers &
KEY_SHIFT) != 0); }
57 {
return ((nKeyCodeAndModifiers &
KEY_MOD1) != 0); }
59 {
return ((nKeyCodeAndModifiers &
KEY_MOD2) != 0); }
61 {
return ((nKeyCodeAndModifiers &
KEY_MOD3) != 0); }
86 nKeyCodeAndModifiers = nKey;
sal_uInt16 GetGroup() const
sal_uInt16 GetCode() const
sal_uInt16 GetModifier() const
KeyFuncType GetFullFunction() const
sal_uInt16 nKeyCodeAndModifiers
bool operator!=(const KeyCode &rKeyCode) const
KeyFuncType GetFunction() const
bool operator==(const KeyCode &rKeyCode) const
sal_uInt16 GetFullCode() const
virtual OUString GetName() const override
constexpr sal_uInt16 KEY_MOD2
constexpr sal_uInt16 KEY_MOD1
constexpr sal_uInt16 KEY_CODE_MASK
constexpr sal_uInt16 KEY_MODIFIERS_MASK
constexpr sal_uInt16 KEY_MOD3
constexpr sal_uInt16 KEYGROUP_TYPE
constexpr sal_uInt16 KEY_SHIFT
bool operator==(const ItalicMatrix &a, const ItalicMatrix &b)
bool operator!=(const ItalicMatrix &a, const ItalicMatrix &b)