Home
last modified time | relevance | path

Searched refs:nKeyCode (Results 1 – 25 of 49) sorted by relevance

12

/aoo4110/main/vcl/aqua/source/window/
H A Dsalmenu.cxx707 sal_uInt16 nKeyCode=rKeyCode.GetCode(); in SetAccelerator() local
708 if( nKeyCode ) in SetAccelerator()
710 if ((nKeyCode>=KEY_A) && (nKeyCode<=KEY_Z)) // letter A..Z in SetAccelerator()
711 nCommandKey = nKeyCode-KEY_A + 'a'; in SetAccelerator()
712 else if ((nKeyCode>=KEY_0) && (nKeyCode<=KEY_9)) // numbers 0..9 in SetAccelerator()
713 nCommandKey = nKeyCode-KEY_0 + '0'; in SetAccelerator()
714 else if ((nKeyCode>=KEY_F1) && (nKeyCode<=KEY_F26)) // function keys F1..F26 in SetAccelerator()
716 else if( nKeyCode == KEY_REPEAT ) in SetAccelerator()
718 else if( nKeyCode == KEY_SPACE ) in SetAccelerator()
722 switch (nKeyCode) in SetAccelerator()
[all …]
H A Dsalframeview.mm104 sal_uInt16 nKeyCode = 0;
106 nKeyCode = aKeyCodeMap[ aCode ];
108 nKeyCode = aFunctionKeyCodeMap[ aCode - 0xf700 ];
109 return nKeyCode;
121 const sal_uInt16 nKeyCode; field
957 sal_uInt16 nKeyCode = ImplMapCharCode( keyChar );
964 if( nKeyCode == aExceptionalKeys[i].nKeyCode &&
1013 sal_uInt16 nKeyCode = ImplMapCharCode( aCharCode );
1028 nKeyCode = ImplMapCharCode( keyChar );
1488 sal_uInt16 nKeyCode = ImplMapCharCode( keyChar );
[all …]
H A Dsalframe.cxx1047 XubString AquaSalFrame::GetKeyName( sal_uInt16 nKeyCode ) in GetKeyName() argument
1113 sal_uInt16 nUnmodifiedCode = (nKeyCode & KEY_CODE); in GetKeyName()
1117 if( (nKeyCode & KEY_SHIFT) != 0 ) in GetKeyName()
1119 if( (nKeyCode & KEY_MOD1) != 0 ) in GetKeyName()
1123 if( (nKeyCode & (KEY_MOD2|KEY_MOD3)) != 0 ) in GetKeyName()
1134 XubString AquaSalFrame::GetSymbolKeyName( const XubString&, sal_uInt16 nKeyCode ) in GetSymbolKeyName() argument
1136 return GetKeyName( nKeyCode ); in GetSymbolKeyName()
/aoo4110/main/desktop/source/deployment/gui/
H A Ddp_gui_extlistbox.cxx742 if ( ( nKeyCode == KEY_DOWN ) || ( nKeyCode == KEY_RIGHT ) ) in HandleCursorKey()
744 else if ( ( nKeyCode == KEY_UP ) || ( nKeyCode == KEY_LEFT ) ) in HandleCursorKey()
746 else if ( nKeyCode == KEY_HOME ) in HandleCursorKey()
748 else if ( nKeyCode == KEY_END ) in HandleCursorKey()
750 else if ( nKeyCode == KEY_PAGEUP ) in HandleCursorKey()
752 else if ( nKeyCode == KEY_PAGEDOWN ) in HandleCursorKey()
757 if ( ( nKeyCode == KEY_DOWN ) || ( nKeyCode == KEY_PAGEDOWN ) || ( nKeyCode == KEY_HOME ) ) in HandleCursorKey()
759 else if ( ( nKeyCode == KEY_UP ) || ( nKeyCode == KEY_PAGEUP ) || ( nKeyCode == KEY_END ) ) in HandleCursorKey()
894 sal_uInt16 nKeyCode = aKeyCode.GetCode(); in Notify() local
896 if ( nKeyCode == KEY_TAB ) in Notify()
[all …]
/aoo4110/main/vcl/os2/source/window/
H A Dsalframe.cxx1818 USHORT nKeyCode = nCode & 0x0FFF; in GetKeyName() local
1819 if ( (nKeyCode >= KEY_0) && (nKeyCode <= KEY_9) ) in GetKeyName()
1821 else if ( (nKeyCode >= KEY_A) && (nKeyCode <= KEY_Z) ) in GetKeyName()
1823 else if ( (nKeyCode >= KEY_F1) && (nKeyCode <= KEY_F26) ) in GetKeyName()
1826 if ( (nKeyCode >= KEY_F1) && (nKeyCode <= KEY_F9) ) in GetKeyName()
1830 else if ( (nKeyCode >= KEY_F10) && (nKeyCode <= KEY_F19) ) in GetKeyName()
1843 switch ( nKeyCode ) in GetKeyName()
1939 return GetKeyName( nKeyCode ); in GetSymbolKeyName()
2598 USHORT nKeyCode = (UCHAR)SHORT2FROMMP( aMP2 ); in ImplSalGetKeyCode() local
2605 rSVCode = aImplTranslateKeyTab[nKeyCode]; in ImplSalGetKeyCode()
[all …]
/aoo4110/main/vcl/inc/unx/
H A Di18n_xkb.hxx52 sal_uInt32 LookupKeysymInGroup( sal_uInt32 nKeyCode,
57 sal_uInt32 nKeyCode,
86 SalI18N_KeyboardExtension::LookupKeysymInDefaultGroup( sal_uInt32 nKeyCode, in LookupKeysymInDefaultGroup() argument
89 return LookupKeysymInGroup( nKeyCode, nShiftState, mnDefaultGroup ); in LookupKeysymInDefaultGroup()
/aoo4110/main/svtools/source/dialogs/
H A Dwizdlg.cxx446 sal_uInt16 nKeyCode = aKeyCode.GetCode(); in Notify() local
450 if ( aKeyCode.IsShift() || (nKeyCode == KEY_PAGEUP) ) in Notify()
452 if ( (nKeyCode == KEY_TAB) || (nKeyCode == KEY_PAGEUP) ) in Notify()
466 if ( (nKeyCode == KEY_TAB) || (nKeyCode == KEY_PAGEDOWN) ) in Notify()
/aoo4110/main/vcl/win/source/window/
H A Dsalobj.cxx254 sal_uInt16 nKeyCode = LOWORD( pMsg->wParam ); in ImplSalPreDispatchMsg() local
256 if ( ((nKeyCode >= 48) && (nKeyCode <= 57)) || in ImplSalPreDispatchMsg()
257 ((nKeyCode >= 65) && (nKeyCode <= 90)) || in ImplSalPreDispatchMsg()
258 ((nKeyCode >= 97) && (nKeyCode <= 122)) ) in ImplSalPreDispatchMsg()
/aoo4110/main/svtools/source/table/
H A Ddefaultinputhandler.cxx149 sal_uInt16 nKeyCode = rKeyCode.GetCode(); in KeyInput() local
153 sal_uInt16 nKeyCode; in KeyInput() member
182 …if ( ( pActions->nKeyCode == nKeyCode ) && ( pActions->nKeyModifier == rKeyCode.GetAllModifier() )… in KeyInput()
/aoo4110/main/svx/source/svdraw/
H A Dsvdibrow.cxx194 sal_uInt16 nKeyCode(rKEvt.GetKeyCode().GetCode() + rKEvt.GetKeyCode().GetModifier()); in KeyInput() local
196 if(nKeyCode == KEY_RETURN) in KeyInput()
201 else if(nKeyCode == KEY_ESCAPE) in KeyInput()
206 else if(nKeyCode == KEY_UP || nKeyCode == KEY_DOWN) in KeyInput()
413 sal_uInt16 nKeyCode=rKEvt.GetKeyCode().GetCode()+rKEvt.GetKeyCode().GetModifier(); in KeyInput() local
417 if (nKeyCode==KEY_RETURN) { in KeyInput()
419 } else if (nKeyCode==KEY_ESCAPE) { in KeyInput()
422 if (nKeyCode==KEY_SHIFT+KEY_MOD1+KEY_MOD2+KEY_W) { in KeyInput()
426 if (nKeyCode==KEY_SHIFT+KEY_MOD1+KEY_MOD2+KEY_I) { in KeyInput()
430 if (nKeyCode==KEY_SHIFT+KEY_MOD1+KEY_MOD2+KEY_S) { in KeyInput()
/aoo4110/main/vcl/source/window/
H A Ddlgctrl.cxx532 sal_uInt16 nKeyCode = aKeyCode.GetCode(); in ImplDlgCtrl() local
570 if ( nKeyCode == KEY_RETURN ) in ImplDlgCtrl()
646 else if ( nKeyCode == KEY_ESCAPE ) in ImplDlgCtrl()
673 if ( nKeyCode == KEY_TAB ) in ImplDlgCtrl()
797 else if ( (nKeyCode == KEY_LEFT) || (nKeyCode == KEY_UP) ) in ImplDlgCtrl()
824 else if ( (nKeyCode == KEY_RIGHT) || (nKeyCode == KEY_DOWN) ) in ImplDlgCtrl()
H A Dkeycod.cxx93 sal_uLong nKeyCode = pResMgr->ReadLong(); in KeyCode() local
104 nCode = sal::static_int_cast<sal_uInt16>(nKeyCode | nModifier); in KeyCode()
/aoo4110/main/vcl/unx/generic/app/
H A Dsaldisp.cxx1099 if( nKeyCode & KEY_MOD1 ) in GetKeyName()
1102 if( nKeyCode & KEY_MOD2 ) in GetKeyName()
1109 if( nKeyCode & KEY_SHIFT ) in GetKeyName()
1115 nKeyCode &= 0x0FFF; in GetKeyName()
1119 if( KEY_0 <= nKeyCode && nKeyCode <= KEY_9 ) in GetKeyName()
1120 nKeySym = XK_0 + (nKeyCode - KEY_0); in GetKeyName()
1121 else if( KEY_A <= nKeyCode && nKeyCode <= KEY_Z ) in GetKeyName()
1122 nKeySym = XK_A + (nKeyCode - KEY_A); in GetKeyName()
1123 else if( KEY_F1 <= nKeyCode && nKeyCode <= KEY_F26 ) // Existiert die Taste in GetKeyName()
1124 nKeySym = XK_F1 + (nKeyCode - KEY_F1); in GetKeyName()
[all …]
H A Di18n_xkb.cxx116 sal_uInt32 SalI18N_KeyboardExtension::LookupKeysymInGroup( sal_uInt32 nKeyCode, in LookupKeysymInGroup() argument
121 KeySym nKeySymbol = XkbKeycodeToKeysym( mpDisplay, nKeyCode, nGroup, nShiftState ); in LookupKeysymInGroup()
/aoo4110/main/basctl/source/basicide/
H A Dbasicbox.cxx273 sal_uInt16 nKeyCode = aKeyEvt.GetKeyCode().GetCode(); in PreNotify() local
274 switch( nKeyCode ) in PreNotify()
501 sal_uInt16 nKeyCode = rNEvt.GetKeyEvent()->GetKeyCode().GetCode(); in PreNotify() local
502 switch( nKeyCode ) in PreNotify()
/aoo4110/main/vcl/unx/generic/window/
H A Dsalframe.cxx2630 return GetDisplay()->GetKeyName( nKeyCode ); in GetKeyName()
2635 return GetKeyName( nKeyCode ); in GetSymbolKeyName()
3128 sal_uInt16 nKeyCode; member
3130 KeyAlternate() : nKeyCode( 0 ), nCharCode( 0 ) {} in KeyAlternate()
3135 GetAlternateKeyCode( const sal_uInt16 nKeyCode ) in GetAlternateKeyCode() argument
3139 switch( nKeyCode ) in GetAlternateKeyCode()
3276 sal_uInt16 nKeyCode; in HandleKeyEvent() local
3395 if( nKeyCode == 0 ) in HandleKeyEvent()
3410 if( !nKeyCode && !nLen && !nKeyString) in HandleKeyEvent()
3509 aKeyEvt.mnCode = nKeyCode | nModCode; in HandleKeyEvent()
[all …]
/aoo4110/main/dbaccess/source/ui/querydesign/
H A DTableWindow.cxx784 sal_uInt16 nKeyCode = rCode.GetCode(); in PreNotify() local
785 …if ( rCode.IsMod2() && nKeyCode != KEY_UP && nKeyCode != KEY_DOWN && nKeyCode != KEY_LEFT && nKeyC… in PreNotify()
/aoo4110/main/sd/source/ui/slideshow/
H A Dshowwin.cxx113 const int nKeyCode = rKEvt.GetKeyCode().GetCode(); in KeyInput() local
114 switch( nKeyCode ) in KeyInput()
138 const int nKeyCode = rKEvt.GetKeyCode().GetCode(); in KeyInput() local
139 switch( nKeyCode ) in KeyInput()
/aoo4110/main/vcl/source/control/
H A Dtabctrl.cxx961 sal_uInt16 nKeyCode = aKeyCode.GetCode(); in ImplHandleKeyEvent() local
965 if ( aKeyCode.IsShift() || (nKeyCode == KEY_PAGEUP) ) in ImplHandleKeyEvent()
967 if ( (nKeyCode == KEY_TAB) || (nKeyCode == KEY_PAGEUP) ) in ImplHandleKeyEvent()
975 if ( (nKeyCode == KEY_TAB) || (nKeyCode == KEY_PAGEDOWN) ) in ImplHandleKeyEvent()
1039 sal_uInt16 nKeyCode = aKeyCode.GetCode(); in KeyInput() local
1041 if ( (nKeyCode == KEY_LEFT) || (nKeyCode == KEY_RIGHT) ) in KeyInput()
1043 sal_Bool bNext = (nKeyCode == KEY_RIGHT); in KeyInput()
H A Dfield2.cxx496 sal_uInt16 nKeyCode = aCode.GetCode(); in ImplPatternProcessKeyInput() local
502 if ( nKeyCode && !aCode.IsMod1() && !aCode.IsMod2() ) in ImplPatternProcessKeyInput()
504 if ( nKeyCode == KEY_LEFT ) in ImplPatternProcessKeyInput()
512 else if ( nKeyCode == KEY_RIGHT ) in ImplPatternProcessKeyInput()
528 else if ( nKeyCode == KEY_HOME ) in ImplPatternProcessKeyInput()
544 else if ( nKeyCode == KEY_END ) in ImplPatternProcessKeyInput()
566 else if ( (nKeyCode == KEY_BACKSPACE) || (nKeyCode == KEY_DELETE) ) in ImplPatternProcessKeyInput()
588 if ( nKeyCode == KEY_BACKSPACE ) in ImplPatternProcessKeyInput()
626 else if ( nKeyCode == KEY_INSERT ) in ImplPatternProcessKeyInput()
/aoo4110/main/vcl/inc/aqua/
H A Dsalframeview.h111 -(BOOL)sendKeyInputAndReleaseToFrame: (sal_uInt16)nKeyCode character: (sal_Unicode)aChar; in sendKeyInputAndReleaseToFrame:character:()
112 -(BOOL)sendKeyInputAndReleaseToFrame: (sal_uInt16)nKeyCode character: (sal_Unicode)aChar modifiers:… in sendKeyInputAndReleaseToFrame:character:modifiers:()
113 -(BOOL)sendKeyToFrameDirect: (sal_uInt16)nKeyCode character: (sal_Unicode)aChar modifiers: (unsigne… in sendKeyToFrameDirect:character:modifiers:()
/aoo4110/main/vcl/unx/headless/
H A Dsvpframe.hxx102 virtual String GetKeyName( sal_uInt16 nKeyCode );
103 virtual String GetSymbolKeyName( const XubString& rFontName, sal_uInt16 nKeyCode );
/aoo4110/main/vcl/inc/
H A Dsalframe.hxx213 virtual String GetKeyName( sal_uInt16 nKeyCode ) = 0;
214 virtual String GetSymbolKeyName( const XubString& rFontName, sal_uInt16 nKeyCode ) = 0;
/aoo4110/main/vcl/inc/win/
H A Dsalframe.h124 virtual String GetKeyName( sal_uInt16 nKeyCode );
125 virtual String GetSymbolKeyName( const XubString& rFontName, sal_uInt16 nKeyCode );
/aoo4110/main/vcl/inc/os2/
H A Dsalframe.h136 virtual String GetKeyName( USHORT nKeyCode );
137 virtual String GetSymbolKeyName( const XubString& rFontName, USHORT nKeyCode );

Completed in 388 milliseconds

12