Subversion Repositories Games.Chess Giants

Rev

Rev 172 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 172 Rev 185
Line 105... Line 105...
105
      SetWindowText (GetDlgItem (hWnd, BUTTON_GIVEUP), LOCALIZE (L"Resign_GiveUp"));
105
      SetWindowText (GetDlgItem (hWnd, BUTTON_GIVEUP), LOCALIZE (L"Resign_GiveUp"));
106
      SetWindowText (GetDlgItem (hWnd, BUTTON_BACKTOGAME), LOCALIZE (L"Resign_BackToGame"));
106
      SetWindowText (GetDlgItem (hWnd, BUTTON_BACKTOGAME), LOCALIZE (L"Resign_BackToGame"));
107
      Static_SetText (GetDlgItem (hWnd, STATICTEXT_RESIGN_STATUSBAR), LOCALIZE (L"Resign_StatusBar"));
107
      Static_SetText (GetDlgItem (hWnd, STATICTEXT_RESIGN_STATUSBAR), LOCALIZE (L"Resign_StatusBar"));
108
 
108
 
109
      // play the "important notification" sound
109
      // play the "important notification" sound
110
      Audio_PlaySound (SOUNDTYPE_IMPORTANT, 0.0f, 0.0f, 0.04f); // play at the center of the board
110
      Audio_PlaySoundAtCenter (SOUNDTYPE_IMPORTANT); // play at the center of the board
111
 
111
 
112
      // convert the status bar message to a hyperlink
112
      // convert the status bar message to a hyperlink
113
      ConvertStaticToHyperlink (GetDlgItem (hWnd, STATICTEXT_RESIGN_STATUSBAR));
113
      ConvertStaticToHyperlink (GetDlgItem (hWnd, STATICTEXT_RESIGN_STATUSBAR));
114
   }
114
   }
115
 
115