Merge pull request #1587 from lemondrops/feature/sndgain
Make the sound gain dialog accessible from the menu bar
This commit is contained in:
@@ -310,6 +310,7 @@
|
||||
#define IDM_CONFIG 40020
|
||||
#define IDM_VID_HIDE_STATUS_BAR 40021
|
||||
#define IDM_UPDATE_ICONS 40030
|
||||
#define IDM_SND_GAIN 40031
|
||||
#define IDM_VID_RESIZE 40040
|
||||
#define IDM_VID_REMEMBER 40041
|
||||
#define IDM_VID_SDL_SW 40050
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user