summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2013-01-23 07:59:19 +0000
committerRobert Pösel <robyer@seznam.cz>2013-01-23 07:59:19 +0000
commite2fc5e46d59fc4c0d9af874abfe19c745a266382 (patch)
tree87f41a8608444239d8b6a78a66deaf294b60bf52
parent1a3c5995a3fe33f0c1d703961d6883fabe9e6f76 (diff)
Bass_interface: Fixed sick mute icon
git-svn-id: http://svn.miranda-ng.org/main/trunk@3239 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r--plugins/BASS_interface/src/Main.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/BASS_interface/src/Main.cpp b/plugins/BASS_interface/src/Main.cpp
index bec3b88642..17dac6ec6e 100644
--- a/plugins/BASS_interface/src/Main.cpp
+++ b/plugins/BASS_interface/src/Main.cpp
@@ -322,7 +322,7 @@ static WNDPROC OldSliderWndProc = 0;
static void fnPainter(MButtonCtrl *btn, HDC hdc)
{
- DrawIconEx(hdc, 1, 1, btn->hIcon, 20, 20, 0, hBkgBrush, DI_NORMAL);
+ DrawIconEx(hdc, 0, 0, btn->hIcon, 16, 16, 0, hBkgBrush, DI_NORMAL);
}
static LRESULT CALLBACK SliderWndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
@@ -338,7 +338,7 @@ static LRESULT CALLBACK FrameWindowProc(HWND hwnd, UINT msg, WPARAM wParam, LPAR
{
switch(msg) {
case WM_CREATE:
- hwndMute = CreateWindow(MIRANDABUTTONCLASS, _T(""), WS_CHILD | WS_VISIBLE, 1, 1, 20, 20, hwnd,
+ hwndMute = CreateWindow(MIRANDABUTTONCLASS, _T(""), WS_CHILD | WS_VISIBLE, 1, 1, 16, 16, hwnd,
0, (HINSTANCE)GetWindowLongPtr(hwnd, GWLP_HINSTANCE), NULL);
SendMessage(hwndMute, BUTTONSETASFLATBTN, 1, 0);
{
@@ -380,7 +380,7 @@ static LRESULT CALLBACK FrameWindowProc(HWND hwnd, UINT msg, WPARAM wParam, LPAR
RECT rect;
GetClientRect(hwnd, &rect);
if (hwndMute)
- MoveWindow(hwndMute, rect.right - 21, 1, 20, 20, FALSE);
+ MoveWindow(hwndMute, rect.right - 20, 2, 16, 16, FALSE);
SetWindowPos(hwndSlider, 0, 1, rect.top + 1 + (20-18)/2, rect.right - rect.left - 1 - 20, 18, SWP_NOZORDER);
InvalidateRect(hwnd, &rect, FALSE);
return 0;