diff options
author | George Hazan <george.hazan@gmail.com> | 2013-01-27 11:57:40 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-01-27 11:57:40 +0000 |
commit | 18f6faf592c21341463e835599b61fa811d3e1a0 (patch) | |
tree | 33074d2a8466bdc6b27a4a93ae97e871da57eef7 /plugins/Clist_modern/src/modern_skinbutton.cpp | |
parent | 3e2fa0fa0e7f74b99e3f76d966928e30f1b39393 (diff) |
code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@3301 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_modern/src/modern_skinbutton.cpp')
-rw-r--r-- | plugins/Clist_modern/src/modern_skinbutton.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/plugins/Clist_modern/src/modern_skinbutton.cpp b/plugins/Clist_modern/src/modern_skinbutton.cpp index dd456c8940..91a1ee3466 100644 --- a/plugins/Clist_modern/src/modern_skinbutton.cpp +++ b/plugins/Clist_modern/src/modern_skinbutton.cpp @@ -191,7 +191,7 @@ static int ModernSkinButtonPaintWorker(HWND hwnd, HDC whdc) {
RECT r = {0};
GetClientRect(bct->hwnd,&r);
- BitBlt(whdc,0,0,r.right,r.bottom,hdc,0,0,SRCCOPY);
+ BitBlt(whdc, 0, 0, r.right,r.bottom,hdc, 0, 0, SRCCOPY);
}
SelectObject(hdc,oldbmp);
DeleteObject(bmp);
@@ -467,7 +467,7 @@ static LRESULT CALLBACK ModernSkinButtonWndProc(HWND hwndDlg, UINT msg, WPARAM SetCapture(bct->hwnd);
bct->hover = 1;
//KillTimer(bct->hwnd,1234);
- //CLUI_SafeSetTimer(bct->hwnd,1234,100,NULL);
+ //CLUI_SafeSetTimer(bct->hwnd,1234,100, NULL);
ModernSkinButtonPaintWorker(bct->hwnd,0);
return 0;
}
@@ -487,7 +487,7 @@ static LRESULT CALLBACK ModernSkinButtonWndProc(HWND hwndDlg, UINT msg, WPARAM case WM_LBUTTONDOWN:
{
//KillTimer(bct->hwnd,1234);
- //CLUI_SafeSetTimer(bct->hwnd,1234,100,NULL);
+ //CLUI_SafeSetTimer(bct->hwnd,1234,100, NULL);
bct->down = 1;
SetForegroundWindow(GetParent(bct->hwnd));
ModernSkinButtonPaintWorker(bct->hwnd,0);
@@ -512,7 +512,7 @@ static LRESULT CALLBACK ModernSkinButtonWndProc(HWND hwndDlg, UINT msg, WPARAM if (bct->down)
{
//KillTimer(bct->hwnd,1234);
- //CLUI_SafeSetTimer(bct->hwnd,1234,100,NULL);
+ //CLUI_SafeSetTimer(bct->hwnd,1234,100, NULL);
ReleaseCapture();
bct->hover = 0;
bct->down = 0;
@@ -547,7 +547,7 @@ HWND SetToolTip(HWND hwnd, TCHAR * tip) hwnd, NULL, GetModuleHandle(NULL),
NULL);
- SetWindowPos(hwndToolTips, HWND_TOPMOST,0, 0, 0, 0,
+ SetWindowPos(hwndToolTips, HWND_TOPMOST, 0, 0, 0, 0,
SWP_NOMOVE | SWP_NOSIZE | SWP_NOACTIVATE);
}
@@ -562,7 +562,7 @@ HWND SetToolTip(HWND hwnd, TCHAR * tip) ti.uFlags = TTF_IDISHWND|TTF_SUBCLASS;
ti.uId = (UINT_PTR)hwnd;
ti.lpszText = (TCHAR*)tip;
- SendMessage(hwndToolTips,TTM_ADDTOOL,0,(LPARAM)&ti);
+ SendMessage(hwndToolTips,TTM_ADDTOOL, 0, (LPARAM)&ti);
LeaveCriticalSection(&csTips);
return hwndToolTips;
@@ -628,7 +628,7 @@ int ModernSkinButton_AddButton(HWND parent, ( sbFlags & SBF_ALIGN_BR_VCENTER ) ? ( _center_v( &rc ) + Bottom ) :
( rc.top + Bottom );
bct = (ModernSkinButtonCtrl *)mir_alloc(sizeof(ModernSkinButtonCtrl));
- memset(bct,0,sizeof(ModernSkinButtonCtrl));
+ memset(bct, 0, sizeof(ModernSkinButtonCtrl));
bct->Left = l;
bct->Right = r;
bct->Top = t;
|