Merge pull request #1587 from lemondrops/feature/sndgain

Make the sound gain dialog accessible from the menu bar
This commit is contained in:
Miran Grča
2021-08-05 16:23:08 +02:00
committed by GitHub
3 changed files with 7 additions and 0 deletions

View File

@@ -134,6 +134,8 @@ BEGIN
# endif
MENUITEM SEPARATOR
MENUITEM "Take s&creenshot\tCtrl+F11", IDM_ACTION_SCREENSHOT
MENUITEM SEPARATOR
MENUITEM "Sound &gain...", IDM_SND_GAIN
#ifdef MTR_ENABLED
MENUITEM SEPARATOR
MENUITEM "Begin trace\tCtrl+T", IDM_ACTION_BEGIN_TRACE

View File

@@ -688,6 +688,10 @@ MainWindowProcedure(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
win_settings_open(hwnd);
break;
case IDM_SND_GAIN:
SoundGainDialogCreate(hwnd);
break;
case IDM_ABOUT:
AboutDialogCreate(hwnd);
break;