Skip to content

Commit

Permalink
媒体库中的图标添加浅色样式
Browse files Browse the repository at this point in the history
  • Loading branch information
zhongyang219 committed Jul 8, 2024
1 parent fa48e84 commit 2c93f0a
Show file tree
Hide file tree
Showing 13 changed files with 29 additions and 8 deletions.
14 changes: 7 additions & 7 deletions MusicPlayer2/IconMgr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -220,23 +220,23 @@ std::tuple<UINT, UINT, UINT, UINT> IconMgr::GetIconID(IconType type)
case IconMgr::IconType::IT_Statistics:
return { IDI_STATISTICS_D, NULL, NULL, NULL };
case IconMgr::IconType::IT_File_Relate:
return { IDI_FILE_RELATE_D, NULL, NULL, NULL };
return { IDI_FILE_RELATE_D, IDI_FILE_RELATE, NULL, NULL };
case IconMgr::IconType::IT_Help:
return { IDI_HELP_D, IDI_HELP, NULL, NULL };
case IconMgr::IconType::IT_Fix:
return { IDI_FIX_D, NULL, NULL, NULL };
case IconMgr::IconType::IT_Star:
return { IDI_STAR, NULL, NULL, NULL };
return { IDI_STAR_D, IDI_STAR, NULL, NULL };
case IconMgr::IconType::IT_Artist:
return { IDI_ARTIST_D, NULL, NULL, NULL };
return { IDI_ARTIST_D, IDI_ARTIST, NULL, NULL };
case IconMgr::IconType::IT_Album:
return { IDI_ALBUM_D, NULL, NULL, NULL };
return { IDI_ALBUM_D, IDI_ALBUM, NULL, NULL };
case IconMgr::IconType::IT_Genre:
return { IDI_GENRE_D, NULL, NULL, NULL };
return { IDI_GENRE_D, IDI_GENRE, NULL, NULL };
case IconMgr::IconType::IT_Year:
return { IDI_YEAR_D, NULL, NULL, NULL };
return { IDI_YEAR_D, IDI_YEAR, NULL, NULL };
case IconMgr::IconType::IT_Bitrate:
return { IDI_BITRATE, NULL, NULL, NULL };
return { IDI_BITRATE_D, IDI_BITRATE, NULL, NULL };
case IconMgr::IconType::IT_History:
return { IDI_RECENT_SONG_D, NULL, NULL, NULL };
case IconMgr::IconType::IT_Key_Board:
Expand Down
14 changes: 14 additions & 0 deletions MusicPlayer2/MusicPlayer2.rc
Original file line number Diff line number Diff line change
Expand Up @@ -393,6 +393,20 @@ IDI_FIX_D ICON "res\\fix_d.ico"

IDI_UP_D ICON "res\\up_d.ico"

IDI_ARTIST ICON "res\\artist.ico"

IDI_ALBUM ICON "res\\album.ico"

IDI_GENRE ICON "res\\genre.ico"

IDI_YEAR ICON "res\\year.ico"

IDI_FILE_RELATE ICON "res\\file_relate.ico"

IDI_BITRATE_D ICON "res\\bitrate_d.ico"

IDI_STAR_D ICON "res\\star_d.ico"


/////////////////////////////////////////////////////////////////////////////
//
Expand Down
Binary file added MusicPlayer2/res/album.ico
Binary file not shown.
Binary file added MusicPlayer2/res/artist.ico
Binary file not shown.
Binary file modified MusicPlayer2/res/bitrate.ico
Binary file not shown.
Binary file added MusicPlayer2/res/bitrate_d.ico
Binary file not shown.
Binary file added MusicPlayer2/res/file_relate.ico
Binary file not shown.
Binary file modified MusicPlayer2/res/file_relate_d.ico
Binary file not shown.
Binary file added MusicPlayer2/res/genre.ico
Binary file not shown.
Binary file modified MusicPlayer2/res/star.ico
Binary file not shown.
Binary file added MusicPlayer2/res/star_d.ico
Binary file not shown.
Binary file added MusicPlayer2/res/year.ico
Binary file not shown.
9 changes: 8 additions & 1 deletion MusicPlayer2/resource.h
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,13 @@
#define IDR_STRING_TABLE 591
#define IDI_UP_D 592
#define IDR_MINI_UI0 593
#define IDI_ARTIST 594
#define IDI_ALBUM 595
#define IDI_GENRE 596
#define IDI_YEAR 597
#define IDI_FILE_RELATE 598
#define IDI_BITRATE_D 599
#define IDI_STAR_D 600
#define IDC_LIST1 1002
#define IDC_PATH_LIST 1002
#define IDC_LYRIC_DOWN_LIST1 1002
Expand Down Expand Up @@ -946,7 +953,7 @@
//
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE 594
#define _APS_NEXT_RESOURCE_VALUE 601
#define _APS_NEXT_COMMAND_VALUE 33466
#define _APS_NEXT_CONTROL_VALUE 1365
#define _APS_NEXT_SYMED_VALUE 101
Expand Down

0 comments on commit 2c93f0a

Please sign in to comment.