Added new option "Require Alt key for accelerators"

With the option enabled keyboard accelerators will be triggered only if Alt key
is pressed as well.

This is how typical Windows keyboard accelerators work, to avoid
confusion with regular key presses.

Fixes #117
This commit is contained in:
ge0rdi
2022-12-19 14:30:59 +01:00
parent a7b6a80799
commit 23a1dc7e07
5 changed files with 17 additions and 6 deletions
+1 -1
View File
@@ -808,7 +808,7 @@ private:
void ActivateItem( int index, TActivateType type, const POINT *pPt, ActivateData *pData=NULL );
void ActivateTreeItem( const void *treeItem, RECT &itemRect, TActivateType type, const POINT *pPt, ActivateData *pData=NULL );
void DragTreeItem( const void *treeItem, bool bApps );
void ShowKeyboardCues( void );
void ShowKeyboardCues( bool alt );
void SetActiveWindow( void );
void CreateBackground( int width1, int width2, int height1, int height2, int &totalWidth, int &totalHeight, bool bCreateRegion ); // width1/2, height1/2 - the first and second content area
void BlendPatterns( unsigned int *bits, int width, int height );