win32: remove stop and reset toolbar buttons. too powerful for single stray clicks.

This commit is contained in:
zeromus 2011-07-29 18:51:45 +00:00
parent 651672bf7a
commit 57606c4aa8
1 changed files with 8 additions and 2 deletions

View File

@ -4143,8 +4143,6 @@ LRESULT CALLBACK WindowProcedure (HWND hwnd, UINT message, WPARAM wParam, LPARAM
MainWindowToolbar->AppendButton(IDM_OPEN, IDB_OPEN, TBSTATE_ENABLED, false);
MainWindowToolbar->AppendSeparator();
MainWindowToolbar->AppendButton(IDM_PAUSE, IDB_PLAY, 0, false);
MainWindowToolbar->AppendButton(IDM_CLOSEROM, IDB_STOP, 0, false);
MainWindowToolbar->AppendButton(IDM_RESET, IDB_RESET, 0, false);
MainWindowToolbar->AppendSeparator();
int cwid, ccwid;
@ -4160,6 +4158,14 @@ LRESULT CALLBACK WindowProcedure (HWND hwnd, UINT message, WPARAM wParam, LPARAM
MainWindowToolbar->AppendButton(ccwid, IDB_ROTATECCW, rotstate, false);
MainWindowToolbar->AppendButton(cwid, IDB_ROTATECW, rotstate, false);
//we WANT it to be hard to do these operations. accidents would be bad. lets not use these buttons
//MainWindowToolbar->AppendSeparator();
//MainWindowToolbar->AppendSeparator();
//MainWindowToolbar->AppendSeparator();
//MainWindowToolbar->AppendButton(IDM_CLOSEROM, IDB_STOP, 0, false);
//MainWindowToolbar->AppendButton(IDM_RESET, IDB_RESET, 0, false);
bool showtb = GetPrivateProfileBool("Display", "Show Toolbar", true, IniName);
MainWindowToolbar->Show(showtb);