Skip to content

Commit 45d76d0

Browse files
committed
修改橙色色值
1 parent 2f4d1c1 commit 45d76d0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

apps/player/SdcardInsertView.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,15 @@ namespace mango
3737
rect.setEx(10,130,300,50);
3838
mScannerButton = new TextView(BUTTON_SCANNER, TEXT("mScannerButton"), this, &rect, 0);
3939
mScannerButton->setTextColor(COLOR_TEXT);
40-
mScannerButton->setTextSelectColor(COLOR_ORANGE);
40+
mScannerButton->setTextSelectColor(COLOR_PLAY_ORANGE);
4141
mScannerButton->setTextSize(16);
4242
mScannerButton->setTextLayoutType(TEXT_LAYOUT_CENTER);
4343
mScannerButton->setBackGround(IDP_LISTITEM_BGD,IDP_LISTITEM_BGD_SEC);
4444

4545
rect.setEx(10,180,300,50);
4646
mDirectButton = new TextView(BUTTON_BROWSER, TEXT("mDirectButton"), this, &rect, 0);
4747
mDirectButton->setTextColor(COLOR_TEXT);
48-
mDirectButton->setTextSelectColor(COLOR_ORANGE);
48+
mDirectButton->setTextSelectColor(COLOR_PLAY_ORANGE);
4949
mDirectButton->setTextSize(16);
5050
mDirectButton->setTextLayoutType(TEXT_LAYOUT_CENTER);
5151
mDirectButton->setBackGround(IDP_LISTITEM_BGD,IDP_LISTITEM_BGD_SEC);

include/mango/define.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@
5353

5454
#define ARGB(a,r,g,b) ((COLORREF)(((BYTE)(b)|((WORD)((BYTE)(g))<<8))|(((DWORD)(BYTE)(r))<<16)|(((DWORD)(BYTE)(a))<<24)))
5555

56-
#define COLOR_ORANGE RGB(255,149,0)
57-
#define COLOR_PLAY_ORANGE RGB(245,164,92)
56+
#define COLOR_ORANGE RGB(245,164,92)
57+
#define COLOR_PLAY_ORANGE COLOR_ORANGE
5858
#define COLOR_GRAY RGB(180,180,180)
5959
#define COLOR_WHITE RGB(255,255,255)
6060
#define COLOR_BLACK RGB(0,0,0)

0 commit comments

Comments
 (0)