MusicPlayerDlg.cpp (82e408e547508adb8ca963d9f99f8894e572128f) | MusicPlayerDlg.cpp (67ba50716862253877028e5854867e7ed26cdbba) |
---|---|
1 2// MusicPlayerDlg.cpp : 实现文件 3// 4 5#include "stdafx.h" 6#include "MusicPlayer2.h" 7#include "MusicPlayerDlg.h" 8#include "afxdialogex.h" --- 563 unchanged lines hidden (view full) --- 572 theApp.m_general_setting_data.id3v2_first = ini.GetBool(L"general", L"id3v2_first", 1); 573 theApp.m_general_setting_data.auto_download_lyric = ini.GetBool(L"general", L"auto_download_lyric", 1); 574 theApp.m_general_setting_data.auto_download_album_cover = ini.GetBool(L"general", L"auto_download_album_cover", 1); 575 theApp.m_general_setting_data.auto_download_only_tag_full = ini.GetBool(L"general", L"auto_download_only_tag_full", 1); 576 theApp.m_general_setting_data.save_lyric_to_song_folder = ini.GetBool(L"general", L"save_lyric_to_song_folder", true); 577 theApp.m_general_setting_data.sf2_path = ini.GetString(L"general", L"sf2_path", L""); 578 theApp.m_general_setting_data.midi_use_inner_lyric = ini.GetBool(L"general", L"midi_use_inner_lyric", 0); 579 theApp.m_general_setting_data.minimize_to_notify_icon = ini.GetBool(L"general", L"minimize_to_notify_icon", false); | 1 2// MusicPlayerDlg.cpp : 实现文件 3// 4 5#include "stdafx.h" 6#include "MusicPlayer2.h" 7#include "MusicPlayerDlg.h" 8#include "afxdialogex.h" --- 563 unchanged lines hidden (view full) --- 572 theApp.m_general_setting_data.id3v2_first = ini.GetBool(L"general", L"id3v2_first", 1); 573 theApp.m_general_setting_data.auto_download_lyric = ini.GetBool(L"general", L"auto_download_lyric", 1); 574 theApp.m_general_setting_data.auto_download_album_cover = ini.GetBool(L"general", L"auto_download_album_cover", 1); 575 theApp.m_general_setting_data.auto_download_only_tag_full = ini.GetBool(L"general", L"auto_download_only_tag_full", 1); 576 theApp.m_general_setting_data.save_lyric_to_song_folder = ini.GetBool(L"general", L"save_lyric_to_song_folder", true); 577 theApp.m_general_setting_data.sf2_path = ini.GetString(L"general", L"sf2_path", L""); 578 theApp.m_general_setting_data.midi_use_inner_lyric = ini.GetBool(L"general", L"midi_use_inner_lyric", 0); 579 theApp.m_general_setting_data.minimize_to_notify_icon = ini.GetBool(L"general", L"minimize_to_notify_icon", false); |
580 bool is_chinese_language{}; //当前语言是否为简体中文 581 if (theApp.m_general_setting_data.language == Language::FOLLOWING_SYSTEM) 582 is_chinese_language = CCommon::LoadText(IDS_LANGUAGE_CODE) == _T("2"); 583 else 584 is_chinese_language = (theApp.m_general_setting_data.language == Language::SIMPLIFIED_CHINESE); 585 theApp.m_general_setting_data.update_source = ini.GetInt(L"general", L"update_source", is_chinese_language ? 1 : 0); //如果当前语言为简体,则默认更新源为Gitee,否则为GitHub |
|
580 581 theApp.m_play_setting_data.stop_when_error = ini.GetBool(L"config", L"stop_when_error", true); 582 theApp.m_play_setting_data.auto_play_when_start = ini.GetBool(L"config", L"auto_play_when_start", false); 583 theApp.m_play_setting_data.continue_when_switch_playlist = ini.GetBool(L"config", L"continue_when_switch_playlist", false); 584 theApp.m_play_setting_data.show_taskbar_progress = ini.GetBool(L"config", L"show_taskbar_progress", true); 585 theApp.m_play_setting_data.show_playstate_icon = ini.GetBool(L"config", L"show_playstate_icon", true); 586 theApp.m_play_setting_data.fade_effect = ini.GetBool(L"config", L"fade_effect", true); 587 theApp.m_play_setting_data.fade_time = ini.GetInt(L"config", L"fade_time", 500); --- 5213 unchanged lines hidden --- | 586 587 theApp.m_play_setting_data.stop_when_error = ini.GetBool(L"config", L"stop_when_error", true); 588 theApp.m_play_setting_data.auto_play_when_start = ini.GetBool(L"config", L"auto_play_when_start", false); 589 theApp.m_play_setting_data.continue_when_switch_playlist = ini.GetBool(L"config", L"continue_when_switch_playlist", false); 590 theApp.m_play_setting_data.show_taskbar_progress = ini.GetBool(L"config", L"show_taskbar_progress", true); 591 theApp.m_play_setting_data.show_playstate_icon = ini.GetBool(L"config", L"show_playstate_icon", true); 592 theApp.m_play_setting_data.fade_effect = ini.GetBool(L"config", L"fade_effect", true); 593 theApp.m_play_setting_data.fade_time = ini.GetInt(L"config", L"fade_time", 500); --- 5213 unchanged lines hidden --- |