~x3lectric/xbmc/svn-trunk

« back to all changes in this revision

Viewing changes to xbmc/GUIDialogVisualisationSettings.cpp

  • Committer: jmarshallnz
  • Date: 2006-03-14 21:08:04 UTC
  • Revision ID: svn-v4:568bbfeb-2a22-0410-94d2-cc84cf5bfa90:trunk/XBMC:5279
 - 14-03-2006 changed: All strings/labels are internally UTF-8 now.  Will almost certainly require rescanning the databases if you use a non-Ascii charset.

Show diffs side-by-side

added added

removed removed

Lines of Context:
87
87
  m_pOriginalSettingsButton->SetVisible(false);
88
88
 
89
89
  // update our settings label
90
 
  CStdStringW strSettings;
91
 
  strSettings.Format(L"%s %s", g_infoManager.GetLabel(402).c_str(), g_localizeStrings.Get(5));
 
90
  CStdString strSettings;
 
91
  strSettings.Format("%s %s", g_infoManager.GetLabel(402).c_str(), g_localizeStrings.Get(5));
92
92
  SET_CONTROL_LABEL(CONTROL_SETTINGS_LABEL, strSettings);
93
93
 
94
94
  // our controls for layout...
200
200
  {
201
201
    pControl = new CGUIRadioButtonControl(*m_pOriginalRadioButton);
202
202
    if (!pControl) return ;
203
 
    ((CGUIRadioButtonControl *)pControl)->SetText(setting.name);
 
203
    ((CGUIRadioButtonControl *)pControl)->SetLabel(setting.name);
204
204
    pControl->SetPosition(iPosX, iPosY);
205
205
    pControl->SetWidth(iWidth);
206
206
    pControl->SetSelected(setting.current == 1);