diff options
author | (no author) <(no author)@4f64403b-2f21-0410-a795-97e2b3489a10> | 2010-04-22 05:04:36 +0000 |
---|---|---|
committer | (no author) <(no author)@4f64403b-2f21-0410-a795-97e2b3489a10> | 2010-04-22 05:04:36 +0000 |
commit | 3eab86e88f98801a4983c7ed5d08936b81741f3e (patch) | |
tree | d5ffbf111cf859e574eedc4ba83685bb989248d9 /yapp/popwin.cpp | |
parent | c12debcb441a2078c30372ba77cfcf6bdb219bfd (diff) |
API standardization cosmetic changes
git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@510 4f64403b-2f21-0410-a795-97e2b3489a10
Diffstat (limited to 'yapp/popwin.cpp')
-rw-r--r-- | yapp/popwin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yapp/popwin.cpp b/yapp/popwin.cpp index 64496c8..010da7a 100644 --- a/yapp/popwin.cpp +++ b/yapp/popwin.cpp @@ -183,7 +183,7 @@ LRESULT CALLBACK PopupWindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lPa //pwd->barBrush = CreateSolidBrush(pd->colorBack / 2); // make sidebar a dark version of the bg
//DWORD darkBg = (((pd->colorBack & 0xff0000) >> 1) & 0xff0000) + (((pd->colorBack & 0xff00) >> 1) & 0xff00) + (((pd->colorBack & 0xff) >> 1) & 0xff);
//DWORD darkBg = (pdColorBack >> 1) & 0x7f7f7f; // equivalent to above :)
-
+
DWORD darkBg = pd->colorBack - ((pd->colorBack >> 2) & 0x3f3f3f); // 3/4 of current individual RGB components
pwd->barBrush = CreateSolidBrush(darkBg); // make sidebar a dark version of the bg
pwd->underlineBrush = CreateSolidBrush(pd->colorBack); // make sidebar a dark version of the bg
|