Index: windows/StatsFrame.cpp =================================================================== RCS file: /cvsroot/dcplusplus/dcplusplus/windows/StatsFrame.cpp,v retrieving revision 1.8 diff -u -r1.8 StatsFrame.cpp --- windows/StatsFrame.cpp 16 Jul 2004 09:53:47 -0000 1.8 +++ windows/StatsFrame.cpp 1 Aug 2004 14:49:44 -0000 @@ -118,10 +118,10 @@ dc.TextOut(1, 1, txt.c_str()); } - dc.SelectPen(red); + dc.SelectPen(upload); drawLine(dc, up.begin(), up.end(), rc, clientRC); - dc.SelectPen(green); + dc.SelectPen(download); drawLine(dc, down.begin(), down.end(), rc, clientRC); } Index: windows/StatsFrame.h =================================================================== RCS file: /cvsroot/dcplusplus/dcplusplus/windows/StatsFrame.h,v retrieving revision 1.4 diff -u -r1.4 StatsFrame.h --- windows/StatsFrame.h 6 Nov 2003 18:54:39 -0000 1.4 +++ windows/StatsFrame.h 1 Aug 2004 14:49:45 -0000 @@ -35,8 +35,8 @@ lastUp(Socket::getTotalUp()), lastDown(Socket::getTotalDown()), max(0) { black.CreateSolidBrush(RGB(0, 0, 0)); - red.CreatePen(PS_SOLID, 0, RGB(255, 0, 0)); - green.CreatePen(PS_SOLID, 0, RGB(0, 255, 0)); + upload.CreatePen(PS_SOLID, 0, SETTING(UPLOAD_BAR_COLOR)); + download.CreatePen(PS_SOLID, 0, SETTING(DOWNLOAD_BAR_COLOR)); grey.CreatePen(PS_SOLID, 0, RGB(127, 127, 127)); } @@ -84,8 +84,8 @@ enum { AVG_SIZE = 5 }; CBrush black; - CPen red; - CPen green; + CPen upload; + CPen download; CPen grey; struct Stat {