图标更新

This commit is contained in:
Zhong Yang
2020-07-17 23:20:16 +08:00
parent a5a4afd7e5
commit 32dfd8950d
12 changed files with 14 additions and 0 deletions
+2
View File
@@ -419,6 +419,8 @@ struct IconSet
HICON help;
HICON ff_new;
HICON rew_new;
HICON playlist_dock;
HICON playlist_float;
};
+4
View File
@@ -523,6 +523,8 @@ void CMusicPlayerApp::LoadIconResource()
m_icon_set.help = CDrawCommon::LoadIconResource(IDI_HELP_D, DPI(16), DPI(16));
m_icon_set.ff_new = CDrawCommon::LoadIconResource(IDI_FF_NEW_D, DPI(16), DPI(16));
m_icon_set.rew_new = CDrawCommon::LoadIconResource(IDI_REW_NEW_D, DPI(16), DPI(16));
m_icon_set.playlist_dock = CDrawCommon::LoadIconResource(IDI_PLAYLIST_DOCK_D, DPI(16), DPI(16));
m_icon_set.playlist_float = CDrawCommon::LoadIconResource(IDI_PLAYLIST_FLOAT_D, DPI(16), DPI(16));
}
void CMusicPlayerApp::InitMenuResourse()
@@ -581,6 +583,8 @@ void CMusicPlayerApp::InitMenuResourse()
CMenuIcon::AddIconToMenuItem(m_menu_set.m_main_menu.GetSafeHmenu(), ID_DOWNLOAD_LYRIC, FALSE, m_icon_set.download);
CMenuIcon::AddIconToMenuItem(m_menu_set.m_main_menu.GetSafeHmenu(), ID_LYRIC_BATCH_DOWNLOAD, FALSE, m_icon_set.download1);
//视图
CMenuIcon::AddIconToMenuItem(m_menu_set.m_main_menu.GetSafeHmenu(), ID_SHOW_PLAYLIST, FALSE, m_icon_set.playlist_dock);
CMenuIcon::AddIconToMenuItem(m_menu_set.m_main_menu.GetSafeHmenu(), ID_FLOAT_PLAYLIST, FALSE, m_icon_set.playlist_float);
CMenuIcon::AddIconToMenuItem(m_menu_set.m_main_menu.GetSafeHmenu(), ID_SHOW_MENU_BAR, FALSE, m_icon_set.menu.GetIcon(true));
CMenuIcon::AddIconToMenuItem(m_menu_set.m_main_menu.GetSafeHmenu(), ID_MINI_MODE, FALSE, m_icon_set.mini.GetIcon(true));
CMenuIcon::AddIconToMenuItem(m_menu_set.m_main_menu.GetSafeHmenu(), ID_FULL_SCREEN, FALSE, m_icon_set.full_screen1.GetIcon(true));
Binary file not shown.
+2
View File
@@ -485,6 +485,8 @@
<Image Include="res\online_d.ico" />
<Image Include="res\pause_dark.ico" />
<Image Include="res\pause_white.ico" />
<Image Include="res\playlist_dock_d.ico" />
<Image Include="res\playlist_float_d.ico" />
<Image Include="res\play_dark.ico" />
<Image Include="res\play_pause_d.ico" />
<Image Include="res\play_white.ico" />
@@ -1285,5 +1285,11 @@
<Image Include="res\save_new.ico">
<Filter>资源文件\Icons</Filter>
</Image>
<Image Include="res\playlist_dock_d.ico">
<Filter>资源文件\Icons</Filter>
</Image>
<Image Include="res\playlist_float_d.ico">
<Filter>资源文件\Icons</Filter>
</Image>
</ItemGroup>
</Project>
Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 35 KiB

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.4 KiB

Binary file not shown.