r=jkobal, a=blizzard
Update some of the values for system colors
This commit is contained in:
mkaply%us.ibm.com 2000-12-05 22:40:48 +00:00
parent 62bfb000c3
commit 7954c29252

View File

@ -119,7 +119,7 @@ NS_IMETHODIMP nsLookAndFeel::GetColor(const nsColorID aID, nscolor &aColor)
idx = SYSCLR_BUTTONDARK; idx = SYSCLR_BUTTONDARK;
break; break;
case eColor_buttontext: case eColor_buttontext:
idx = SYSCLR_BUTTONDEFAULT; idx = SYSCLR_MENUTEXT;
break; break;
case eColor_captiontext: case eColor_captiontext:
idx = SYSCLR_WINDOWTEXT; idx = SYSCLR_WINDOWTEXT;
@ -160,7 +160,7 @@ NS_IMETHODIMP nsLookAndFeel::GetColor(const nsColorID aID, nscolor &aColor)
idx = SYSCLR_SCROLLBAR; idx = SYSCLR_SCROLLBAR;
break; break;
case eColor_threeddarkshadow: case eColor_threeddarkshadow:
idx = SYSCLR_SHADOW; idx = SYSCLR_BUTTONDEFAULT;
break; break;
case eColor_threedface: case eColor_threedface:
idx = SYSCLR_BUTTONMIDDLE; idx = SYSCLR_BUTTONMIDDLE;
@ -172,7 +172,7 @@ NS_IMETHODIMP nsLookAndFeel::GetColor(const nsColorID aID, nscolor &aColor)
idx = SYSCLR_BUTTONMIDDLE; idx = SYSCLR_BUTTONMIDDLE;
break; break;
case eColor_threedshadow: case eColor_threedshadow:
idx = SYSCLR_SHADOW; idx = SYSCLR_BUTTONDARK;
break; break;
case eColor_window: case eColor_window:
idx = SYSCLR_WINDOW; idx = SYSCLR_WINDOW;