summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/infopanel.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-12-13 21:28:51 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-12-13 21:28:51 +0000
commit80773d07115cf8d2874d49f6e2378f736db771f6 (patch)
tree368cecdae9aed0127a081aa1fcda0f1b4e453a83 /plugins/TabSRMM/src/infopanel.cpp
parenteeb6205dc25a58b4651170b9800ae37cfbcef281 (diff)
tabSRMM warning level 4
git-svn-id: http://svn.miranda-ng.org/main/trunk@11381 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src/infopanel.cpp')
-rw-r--r--plugins/TabSRMM/src/infopanel.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/plugins/TabSRMM/src/infopanel.cpp b/plugins/TabSRMM/src/infopanel.cpp
index 68d8d58d04..6ef1090c5f 100644
--- a/plugins/TabSRMM/src/infopanel.cpp
+++ b/plugins/TabSRMM/src/infopanel.cpp
@@ -382,7 +382,6 @@ void CInfoPanel::renderContent(const HDC hdc)
void CInfoPanel::RenderIPNickname(const HDC hdc, RECT &rcItem)
{
const TCHAR *szStatusMsg = NULL;
- CSkinItem *item = &SkinItems[ID_EXTBKINFOPANEL];
const TCHAR *szTextToShow = 0;
bool fShowUin = false;
COLORREF clr = 0;
@@ -527,7 +526,6 @@ void CInfoPanel::RenderIPUIN(const HDC hdc, RECT& rcItem)
void CInfoPanel::RenderIPStatus(const HDC hdc, RECT& rcItem)
{
- const char *szProto = m_dat->cache->getActiveProto();
SIZE sProto = { 0 }, sStatus = { 0 }, sTime = { 0 };
DWORD oldPanelStatusCX = m_dat->panelStatusCX;
@@ -994,10 +992,10 @@ LRESULT CALLBACK CInfoPanel::avatarParentSubclass(HWND hwnd, UINT msg, WPARAM wP
FillRect(hdc, &rc, (HBRUSH)GetStockObject(BLACK_BRUSH));
else {
if (CSkin::m_pCurrentAeroEffect->m_finalAlpha == 0)
- CSkin::ApplyAeroEffect(hdc, &rc, CSkin::AERO_EFFECT_AREA_INFOPANEL, 0);
+ CSkin::ApplyAeroEffect(hdc, &rc, CSkin::AERO_EFFECT_AREA_INFOPANEL);
else {
FillRect(hdc, &rc, CSkin::m_BrushBack);
- CSkin::ApplyAeroEffect(hdc, &rc, CSkin::AERO_EFFECT_AREA_INFOPANEL, 0);
+ CSkin::ApplyAeroEffect(hdc, &rc, CSkin::AERO_EFFECT_AREA_INFOPANEL);
}
}
BitBlt(dcWin, 0, 0, cx, cy, hdc, 0, 0, SRCCOPY);
@@ -1524,7 +1522,7 @@ INT_PTR CALLBACK CTip::WndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam
HBRUSH br = ::CreateSolidBrush(PluginConfig.m_ipBackgroundGradientHigh);
if (M.isAero()) {
::FillRect(hdcMem, &rc, reinterpret_cast<HBRUSH>(::GetStockObject(BLACK_BRUSH)));
- CSkin::ApplyAeroEffect(hdcMem, &rcText, CSkin::AERO_EFFECT_AREA_MENUBAR, 0);
+ CSkin::ApplyAeroEffect(hdcMem, &rcText, CSkin::AERO_EFFECT_AREA_MENUBAR);
::FillRect(hdcMem, &m_rcRich, br);
hTheme = OpenThemeData(m_hwnd, L"BUTTON");