mirror of
https://github.com/Open-Shell/Open-Shell-Menu.git
synced 2026-06-15 11:50:09 +10:00
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:
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user